Shadow Network Framework
0.0.2-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.
|
static |
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
|
static |
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
byte[] SNFClient.OPCode.ToBytes | ( | ) |
bool SNFClient.OPCode.isBase | ( | ) |
bool SNFClient.OPCode.Equals | ( | OPCode | op | ) |
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
bool SNFClient.OPCode.EqualsD | ( | OPCode | op | ) |