Class AnimalPacket
java.lang.Object
zombie.network.packets.character.AnimalPacket
- All Implemented Interfaces:
INetworkPacketField,IDescriptor,INetworkPacket
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionshortfloatfloatbytebytefinal PFBDatabytefloatfloatfloatintfloatfloatfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(ByteBuffer arg0, UdpConnection arg1) voidvoidwrite(ByteBufferWriter arg0) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface zombie.network.packets.INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClient, processClientLoading, processServer, sendToClient, sendToClients, sendToConnection, sendToRelativeClients, sendToServer, setData, syncMethods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
realX
public float realX -
realY
public float realY -
realZ
public float realZ -
realDirection
public byte realDirection -
x
public float x -
y
public float y -
z
public float z -
direction
public float direction -
alertedID
public short alertedID -
type
-
breed
-
idle
-
stateVariables
public int stateVariables -
pfbData
-
health
public float health -
existanceType
-
vehicleID
-
hutchNestBox
public byte hutchNestBox -
hutchPosition
public byte hutchPosition
-
-
Constructor Details
-
AnimalPacket
public AnimalPacket()
-
-
Method Details
-
reset
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-