This Class Defined THe Base OPCode Structure for Basic SNF Functioning.
More...
This Class Defined THe Base OPCode Structure for Basic SNF Functioning.
◆ Initialize()
static void SNFClient.OPCode.Base.Initialize |
( |
| ) |
|
|
static |
◆ getCategory()
static Member SNFClient.OPCode.Base.getCategory |
( |
| ) |
|
|
static |
Returns the Base Category.
- Returns
null
if Class is uninitialized
◆ getSubcategory()
static Member SNFClient.OPCode.Base.getSubcategory |
( |
| ) |
|
|
static |
Returns the base Subcategory.
- Returns
◆ getCommand()
static Member SNFClient.OPCode.Base.getCommand |
( |
byte | Command | ) |
|
|
static |
Returns the base Command.
- Parameters
-
Command | base command to search for |
- Returns
null
if Class is uninitialized or not found
◆ getDetail()
static Member SNFClient.OPCode.Base.getDetail |
( |
byte | Command, |
|
|
byte | Detail ) |
|
static |
Returns the base Command with a certain Detail.
- Parameters
-
Command | Base Command |
Detail | Base Command's Detail |
- Returns
null
if Class is uninitialized or command not found and the Undetailed 'Detail' if Detail wasnot found
◆ get() [1/2]
static OPCode SNFClient.OPCode.Base.get |
( |
byte | Command | ) |
|
|
static |
Gets an OPCode using a Base Command without any detail.
To Specify a Detail :
- See also
- get(byte, byte)
- Parameters
-
- Returns
OPCode Instance
if Command is a valid Base Command else null
- Exceptions
-
◆ get() [2/2]
static OPCode SNFClient.OPCode.Base.get |
( |
byte | Command, |
|
|
byte | Detail ) |
|
static |
Gets an OPCode using a Base Command with a detail.
- Parameters
-
Command | Base Command |
Detail | Base Command's Detail |
- Returns
OPCode Instance
if Command is a valid Base Command else null
- Exceptions
-
◆ getInvalid() [1/2]
static OPCode SNFClient.OPCode.Base.getInvalid |
( |
| ) |
|
|
static |
Gets an OPCode using a 'Invalid' Command without any detail.
To Specify a Detail :
- See also
- getInvalid(byte)
- Returns
OPCode Instance
if Command is a valid Base Command else null
- Exceptions
-
◆ getInvalid() [2/2]
static OPCode SNFClient.OPCode.Base.getInvalid |
( |
byte | Detail | ) |
|
|
static |
Gets an OPCode using a 'Invalid' Command with a detail.
- Returns
OPCode Instance
if Command is a valid Base Command else null
- Exceptions
-
◆ CATEGORY
byte SNFClient.OPCode.Base.CATEGORY |
|
staticget |
◆ SUBCATEGORY
byte SNFClient.OPCode.Base.SUBCATEGORY |
|
staticget |
Base Sub-Category for SNF.
◆ DET_UNDETAILED
byte SNFClient.OPCode.Base.DET_UNDETAILED |
|
staticget |
Default Detail for every Command.
◆ CMD_CONNECT
byte SNFClient.OPCode.Base.CMD_CONNECT |
|
staticget |
When client attemps to connect.
◆ CMD_RECONNECT
byte SNFClient.OPCode.Base.CMD_RECONNECT |
|
staticget |
When client attemps to reconnect - or forced to.
◆ CMD_DISCONNECT
byte SNFClient.OPCode.Base.CMD_DISCONNECT |
|
staticget |
When client attemps to disconnect.
◆ CMD_SNF_VER
byte SNFClient.OPCode.Base.CMD_SNF_VER |
|
staticget |
When client requests SNF version of the Server.
◆ CMD_KICK
byte SNFClient.OPCode.Base.CMD_KICK |
|
staticget |
When client was forced to disconnect ( Kicked ).
◆ CMD_CONFIRM
byte SNFClient.OPCode.Base.CMD_CONFIRM |
|
staticget |
When client's reuqest was confirmed.
◆ CMD_REJECT
byte SNFClient.OPCode.Base.CMD_REJECT |
|
staticget |
When client's request was rejected.
◆ CMD_INVALID
byte SNFClient.OPCode.Base.CMD_INVALID |
|
staticget |
When client's request was invalid either, wrong version or incomplete request.
◆ DET_INVALID_UNREGISTRED_OPCODE
byte SNFClient.OPCode.Base.DET_INVALID_UNREGISTRED_OPCODE |
|
staticget |
Received opcode on the server side was not registred.
◆ DET_INVALID_ERROR_PROTOCOL
byte SNFClient.OPCode.Base.DET_INVALID_ERROR_PROTOCOL |
|
staticget |
Protocol used is invalid.
◆ DET_INVALID_UNIMPLEMENTED_OPCODE
byte SNFClient.OPCode.Base.DET_INVALID_UNIMPLEMENTED_OPCODE |
|
staticget |
Sent OPCode does not have a function to call on the server side.
◆ isInitialized
bool SNFClient.OPCode.Base.isInitialized |
|
staticget |
The documentation for this class was generated from the following file: