Class CharacterID
java.lang.Object
zombie.network.fields.character.CharacterID
- All Implemented Interfaces:
INetworkPacketField
,IPositional
,IDescriptor
- Direct Known Subclasses:
Character
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshort
getID()
float
getX()
float
getY()
float
getZ()
boolean
isConsistent
(UdpConnection udpConnection) void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
set
(short short0, byte byte0) void
set
(IsoGameCharacter character) void
write
(ByteBuffer byteBuffer) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
Methods inherited from interface zombie.network.fields.IPositional
isInRange
-
Field Details
-
UNKNOWN
public static final byte UNKNOWN- See Also:
-
PLAYER
public static final byte PLAYER- See Also:
-
ZOMBIE
public static final byte ZOMBIE- See Also:
-
ANIMAL
public static final byte ANIMAL- See Also:
-
-
Constructor Details
-
CharacterID
public CharacterID()
-
-
Method Details
-
set
public void set(short short0, byte byte0) -
set
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-
write
-
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
-
getX
public float getX()- Specified by:
getX
in interfaceIPositional
-
getY
public float getY()- Specified by:
getY
in interfaceIPositional
-
getZ
public float getZ()- Specified by:
getZ
in interfaceIPositional
-
getCharacter
-
getID
public short getID()
-