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, string2Fields inherited from class org.cyclops.cyclopscore.network.packet.debug.PingPongPacketAsync
remainingFields 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
logMethods inherited from class org.cyclops.cyclopscore.network.packet.debug.PingPongPacketAsync
actionClient, actionServer, toStringMethods 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:
newPacketin classPingPongPacketComplexAsync
-
isAsync
public boolean isAsync()- Overrides:
isAsyncin 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.
-