Class PingPongPacketComplexSync
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.PingPongPacketComplexAsync
org.cyclops.cyclopscore.network.packet.debug.PingPongPacketComplexSync
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.PingPongPacketComplexAsync
string1, string2
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
ConstructorsConstructorDescriptionEmpty packet.PingPongPacketComplexSync
(int remaining, String string1, String string2) -
Method Summary
Methods inherited from class org.cyclops.cyclopscore.network.packet.debug.PingPongPacketComplexAsync
log
Methods inherited from class org.cyclops.cyclopscore.network.packet.debug.PingPongPacketAsync
actionClient, actionServer, toString
Methods inherited from class org.cyclops.cyclopscore.network.PacketCodec
addCodedAction, decode, encode, getAction, getActionSuper, read, write
-
Constructor Details
-
PingPongPacketComplexSync
public PingPongPacketComplexSync()Empty packet. -
PingPongPacketComplexSync
-
-
Method Details
-
newPacket
- Overrides:
newPacket
in classPingPongPacketComplexAsync
-
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.
-