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.String
attackType
protected AttackVars
attackVars
protected float
charge
protected float
combatSpeed
protected float
perkAiming
protected IsoPlayer
player
protected short
playerFlags
Fields 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.String
getDescription()
boolean
isConsistent()
void
parse(java.nio.ByteBuffer byteBuffer)
void
set(IsoPlayer player, boolean boolean1)
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.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:
parse
in interfaceINetworkPacket
- Overrides:
parse
in classCharacter
-
write
- Specified by:
write
in interfaceINetworkPacket
- Overrides:
write
in classCharacter
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
- Overrides:
isConsistent
in classCharacter
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classCharacter
-