Class PingPongPacketSync
java.lang.Object
org.cyclops.cyclopscore.network.PacketBase
org.cyclops.cyclopscore.network.PacketCodec
org.cyclops.cyclopscore.network.packet.debug.PingPongPacketAsync
org.cyclops.cyclopscore.network.packet.debug.PingPongPacketSync
Debug ping pong packet
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.cyclopscore.network.PacketCodec
PacketCodec.ICodecAction, PacketCodec.ICodecRunnable
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.network.packet.debug.PingPongPacketAsync
remaining
Fields inherited from class org.cyclops.cyclopscore.network.PacketCodec
fieldCache, READ_STRING_MAX_LENGTH
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.cyclops.cyclopscore.network.packet.debug.PingPongPacketAsync
actionClient, actionServer, log, toString
Methods inherited from class org.cyclops.cyclopscore.network.PacketCodec
addCodedAction, decode, encode, getAction, getActionSuper, read, write
-
Constructor Details
-
PingPongPacketSync
public PingPongPacketSync()Empty packet. -
PingPongPacketSync
public PingPongPacketSync(int remaining)
-
-
Method Details
-
newPacket
- Overrides:
newPacket
in classPingPongPacketAsync
-
isAsync
public boolean isAsync()- Overrides:
isAsync
in classPingPongPacketAsync
- Returns:
- If this packet can run on a thread other than the main-thread of Minecraft. If this is asynchronous, the player parameter inside the action is not guaranteed to be defined.
-