[This is preliminary documentation and is subject to change.]

Returns packet size (in bytes) for a given opcode. Size includes the opcode byte itself.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.2.4 (0.6.2.4)

Syntax

   
 C# 
public static int GetSize(
	OpCode opcode
)

Parameters

opcode
OpCode

[Missing <param name="opcode"/> documentation for "M:fCraft.Packet.GetSize(fCraft.OpCode)"]

Return Value

[Missing <returns> documentation for "M:fCraft.Packet.GetSize(fCraft.OpCode)"]

See Also