Class HitInfo
java.lang.Object
zombie.network.fields.hit.HitInfo
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
init
(IsoMovingObject isoMovingObject, float float3, float float4, float float0, float float1, float float2) void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
isConsistent
-
Field Details
-
x
public float x -
y
public float y -
z
public float z -
dot
public float dot -
distSq
public float distSq -
chance
public int chance -
object
-
window
-
-
Constructor Details
-
HitInfo
public HitInfo()
-
-
Method Details
-
init
public HitInfo init(IsoMovingObject isoMovingObject, float float3, float float4, float float0, float float1, float float2) -
init
-
init
-
getObject
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacketField
-