Package zombie.network.packets.hit
Class NetObject
java.lang.Object
zombie.network.packets.hit.NetObject
- All Implemented Interfaces:
INetworkPacket
public class NetObject extends java.lang.Object implements INetworkPacket
-
Field Summary
Fields Modifier and Type Field Description byteobjectTypeNonebyteobjectTypeObject -
Constructor Summary
Constructors Constructor Description NetObject() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()IsoObjectgetObject()intgetPacketSizeBytes()voidparse(java.nio.ByteBuffer byteBuffer)voidsetObject(IsoObject object)voidwrite(ByteBufferWriter byteBufferWriter)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.INetworkPacket
isConsistent
-
Field Details
-
objectTypeNone
public final byte objectTypeNone- See Also:
- Constant Field Values
-
objectTypeObject
public final byte objectTypeObject- See Also:
- Constant Field Values
-
-
Constructor Details
-
NetObject
public NetObject()
-
-
Method Details
-
setObject
-
getObject
-
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceINetworkPacket
-