Shadow Network Framework
0.0.1-alpha
.NET Client Library for Shadow Network Framework
|
Objects of this class Define the action to do to the host. More...
Classes | |
class | Base |
This Class Defined THe Base OPCode Structure for Basic SNF Functioning. More... | |
class | Member |
Objects of this class Defines every OPCode instance. More... | |
Public Member Functions | |
byte[] | ToBytes () |
Turns the OPCode Into a Char of bytes. | |
bool | isBase () |
Checks if the OPCode is a Base OPCode Member. | |
bool | Equals (OPCode op) |
Compares Between this instance of the OPCode and another Instance. | |
bool | EqualsD (OPCode op) |
Compares Between this instance of the OPCode and another Instance. | |
Static Public Member Functions | |
static OPCode | get (byte Category, byte SubCategory, byte Command, byte Detail=0) |
Generates an OPCode Instnce Depending on the Registred Parameters. | |
static OPCode | get (Member Category, Member SubCategory, Member Command, Member Detail=null) |
Generates an OPCode Instnce Depending on the Registred Parameters. | |
Properties | |
Member | Category [get] |
OPCode's Category. | |
Member | Subcategory [get] |
OPCode's Subcategory. | |
Member | Command [get] |
OPCode's Command. | |
Member | Detail [get] |
OPCode's Detail. | |
Objects of this class Define the action to do to the host.
|
inlinestatic |
Generates an OPCode Instnce Depending on the Registred Parameters.
Category | OPCode's Category |
SubCategory | OPCode's Subcategory |
Command | OPCode's Command |
Detail | OPCode's Detail |
null
if any of the parameters are invalid or not registred Exceptions.ClassUninitialized | Thrown When The OPCode.Base Class was not Initialized |
Initialize OPCode.Base with OPCode.Base.Initialize() beforehand
|
inlinestatic |
Generates an OPCode Instnce Depending on the Registred Parameters.
Category | OPCode's Category |
SubCategory | OPCode's Subcategory |
Command | OPCode's Command |
Detail | OPCode's Detail |
null
if any of the parameters are invalid or not registred Exceptions.ClassUninitialized | Thrown When The OPCode.Base Class was not Initialized |
Exceptions.OPCode.InvalidRankFound | Thrown when you place a Member in a place with different rank eg: Put Member with SubCategory Rank in the Category parameter |
Initialize OPCode.Base with OPCode.Base.Initialize() beforehand
|
inline |
bool SNFClient.OPCode.isBase | ( | ) |
|
inline |
Compares Between this instance of the OPCode and another Instance.
op | OPCode Instance to Compare to |
true
if They're equal (Excluding Detail Member) else false
|
inline |