Package zombie.network.packets.hit
Class WeaponHit
java.lang.Object
zombie.network.packets.hit.Hit
zombie.network.packets.hit.WeaponHit
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
FieldsFields inherited from class zombie.network.packets.hit.Hit
damage, hitDirectionX, hitDirectionY, hitForce, ignore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidset(boolean boolean1, float float1, float float2, float float3, float float4, float float5, boolean boolean2) voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, isConsistent, log
-
Field Details
-
range
protected float range -
hitHead
protected boolean hitHead
-
-
Constructor Details
-
WeaponHit
public WeaponHit()
-
-
Method Details
-
set
public void set(boolean boolean1, float float1, float float2, float float3, float float4, float float5, boolean boolean2) -
parse
- Specified by:
parsein interfaceINetworkPacket- Overrides:
parsein classHit
-
write
- Specified by:
writein interfaceINetworkPacket- Overrides:
writein classHit
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket- Overrides:
getDescriptionin classHit
-