[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.3.5 (0.6.3.5)

Syntax

   
 C# 
public static int GetSize(
	OpCode opcode
)

Parameters

opcode
OpCode

See Also