Class Hit
java.lang.Object
zombie.network.fields.hit.Hit
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
- Direct Known Subclasses:
VehicleHitField
,WeaponHit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
void
parse
(ByteBuffer byteBuffer, UdpConnection var2) void
set
(boolean boolean0, float float0, float float1, float float2, float float3) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Constructor Details
-
Hit
public Hit()
-
-
Method Details
-
set
public void set(boolean boolean0, float float0, float float1, float float2, float float3) -
parse
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-
getDescription
- Specified by:
getDescription
in interfaceIDescriptor
-
getDamage
public float getDamage()
-