Package zombie.network.packets
Class EventPacket
java.lang.Object
zombie.network.packets.EventPacket
- All Implemented Interfaces:
INetworkPacket
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
isRelevant
(UdpConnection udpConnection) boolean
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) boolean
boolean
void
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, log
-
Field Details
-
MAX_PLAYER_EVENTS
public static final int MAX_PLAYER_EVENTS- See Also:
-
x
public float x -
y
public float y -
z
public float z
-
-
Constructor Details
-
EventPacket
public EventPacket()
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
isRelevant
-
isMovableEvent
public boolean isMovableEvent() -
isTimeout
public boolean isTimeout() -
tryProcess
public void tryProcess() -
process
-
set
-