Class PlayerHitSquarePacket
java.lang.Object
zombie.network.packets.hit.PlayerHit
zombie.network.packets.hit.PlayerHitSquarePacket
- All Implemented Interfaces:
AntiCheatHitLongDistance.IAntiCheat
,AntiCheatHitWeaponAmmo.IAntiCheat
,AntiCheatItem.IAntiCheat
,INetworkPacketField
,HitCharacter
,IDescriptor
,INetworkPacket
public class PlayerHitSquarePacket
extends PlayerHit
implements AntiCheatItem.IAntiCheat, AntiCheatHitLongDistance.IAntiCheat, AntiCheatHitWeaponAmmo.IAntiCheat
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
void
parse
(ByteBuffer b, UdpConnection connection) void
process()
void
Methods inherited from class zombie.network.packets.hit.PlayerHit
attack, isConsistent, isRelevant, postProcess, preProcess, set
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.hit.HitCharacter
log, postpone, processClient, processServer, react, tryProcessInternal
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.packets.INetworkPacket
parseClient, parseClientLoading, parseServer, processClientLoading, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, sync
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
-
Constructor Details
-
PlayerHitSquarePacket
public PlayerHitSquarePacket()
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceINetworkPacket
- Specified by:
parse
in interfaceINetworkPacketField
- Overrides:
parse
in classPlayerHit
-
write
- Specified by:
write
in interfaceINetworkPacketField
- Overrides:
write
in classPlayerHit
-
getInventoryItem
- Specified by:
getInventoryItem
in interfaceAntiCheatHitWeaponAmmo.IAntiCheat
- Specified by:
getInventoryItem
in interfaceAntiCheatItem.IAntiCheat
-
getDistance
public float getDistance()- Specified by:
getDistance
in interfaceAntiCheatHitLongDistance.IAntiCheat
-
process
public void process()- Specified by:
process
in interfaceHitCharacter
-