Package zombie.network.packets.hit
Class Player
java.lang.Object
zombie.network.packets.hit.Instance
zombie.network.packets.hit.Character
zombie.network.packets.hit.Player
- All Implemented Interfaces:
INetworkPacket
public class Player extends Character implements INetworkPacket
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringattackTypeprotected AttackVarsattackVarsprotected floatchargeprotected floatcombatSpeedprotected floatperkAimingprotected IsoPlayerplayerprotected shortplayerFlagsFields inherited from class zombie.network.packets.hit.Character
character, characterFlags, characterReaction, directionX, directionY, playerReaction, positionX, positionY, positionZ, zombieReaction -
Constructor Summary
Constructors Constructor Description Player() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()booleanisConsistent()voidparse(java.nio.ByteBuffer byteBuffer)voidset(IsoPlayer player, boolean boolean1)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
-
Field Details
-
player
-
playerFlags
protected short playerFlags -
charge
protected float charge -
perkAiming
protected float perkAiming -
combatSpeed
protected float combatSpeed -
attackType
protected java.lang.String attackType -
attackVars
-
-
Constructor Details
-
Player
public Player()
-
-
Method Details
-
set
-
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parsein interfaceINetworkPacket- Overrides:
parsein classCharacter
-
write
- Specified by:
writein interfaceINetworkPacket- Overrides:
writein classCharacter
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket- Overrides:
isConsistentin classCharacter
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceINetworkPacket- Overrides:
getDescriptionin classCharacter
-