Contents
Class Hit
java.lang.Object
zombie.network.fields.hit.Hit
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
- Direct Known Subclasses:
VehicleHitField
,WeaponHit
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float
protected float
protected float
protected float
protected boolean
-
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
clone, equals, finalize, 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
-
Field Details
-
Constructor Details
-
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()
-