[This is preliminary documentation and is subject to change.]
The Packet type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Returns the hash code for this instance.
(Inherited from ValueType.) | |
| GetSize(OpCode) | Returns packet size (in bytes) for a given opcode.
Size includes the opcode byte itself. | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MakeAddEntity(SByte, String, Position) | ||
| MakeHandshake(Player, String, String) | ||
| MakeKick(String) | ||
| MakeMove(SByte, Position) | ||
| MakeMoveRotate(SByte, Position) | ||
| MakeRemoveEntity(SByte) | ||
| MakeRotate(SByte, Position) | ||
| MakeSelfTeleport(Position) | ||
| MakeSetBlock(Vector3I, Block) | ||
| MakeSetBlock(Int16, Int16, Int16, Block) | ||
| MakeSetPermission(Player) | ||
| MakeTeleport(SByte, Position) | ||
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString()()()() |
Returns the fully qualified type name of this instance.
(Inherited from ValueType.) |