Package zombie.network
Class ZomboidNetData
java.lang.Object
zombie.network.ZomboidNetData
- All Implemented Interfaces:
IZomboidPacket
public class ZomboidNetData extends java.lang.Object implements IZomboidPacket
-
Field Summary
Fields Modifier and Type Field Description java.nio.ByteBuffer
buffer
long
connection
short
length
long
time
short
type
-
Constructor Summary
Constructors Constructor Description ZomboidNetData()
ZomboidNetData(int int1)
-
Method Summary
Modifier and Type Method Description boolean
isConnect()
boolean
isDisconnect()
void
read(short short1, java.nio.ByteBuffer byteBuffer, UdpConnection udpConnection)
void
reset()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
type
public short type -
length
public short length -
buffer
public java.nio.ByteBuffer buffer -
connection
public long connection -
time
public long time
-
-
Constructor Details
-
ZomboidNetData
public ZomboidNetData() -
ZomboidNetData
public ZomboidNetData(int int1)
-
-
Method Details
-
reset
public void reset() -
read
-
isConnect
public boolean isConnect()- Specified by:
isConnect
in interfaceIZomboidPacket
-
isDisconnect
public boolean isDisconnect()- Specified by:
isDisconnect
in interfaceIZomboidPacket
-