Shadow Network Framework
0.0.1-alpha
.NET Client Library for Shadow Network Framework
|
Objects of this class Defines every OPCode instance. More...
Public Types | |
enum | Rank { Category , SubCategory , Command , Detail } |
Defines the Ranks of Members. More... | |
Public Member Functions | |
Member (Rank Rank, byte Value, string Definition) | |
Creates a new Member instance. | |
Member | clone () |
Clones the Member. | |
Static Public Member Functions | |
static Member | getCategory (byte Category) |
Gets an Instace of a Saved Category. | |
static Member | getSubCategory (byte Category, byte SubCategory) |
Gets a Subcategory Member depending on a byte according to the byte of Category. | |
static Member | getSubCategory (Member Category, byte SubCategory) |
Gets a Subcategory Member depending on a byte from a Category member. | |
static Member | getCommand (byte Category, byte SubCategory, byte Command) |
Gets a Command Member depending on a byte accoring to the bytes of Category and SubCategory. | |
static Member | getCommand (Member SubCategory, byte Command) |
Gets a Command Member depending on a byte from a Subcategory Member. | |
static Member | getDetail (byte Category, byte SubCategory, byte Command, byte Detail) |
Gets a Detail Member depending on a byte accoring to the bytes of Category, SubCategory and Command. | |
static Member | getDetail (Member Command, byte Detail) |
Gets a Detail Member depending on a byte from a Command Member. | |
static bool | AddCategory (byte Category, string Definition) |
Adds a new Category into the OPCode structure. | |
static bool | AddCategory (Member Category) |
Adds a Category into the OPCode structure. | |
static bool | AddSubCategory (Member Category, byte SubCategory, string Definition) |
Adds a new Subcategory into the OPCode Structure. | |
static bool | AddSubCategory (Member Category, Member SubCategory) |
Adds a Subcategory into the OPCode Structure. | |
static bool | AddCommand (Member SubCategory, byte Command, string Definition) |
Adds a new Command into the OPCode structure. | |
static bool | AddCommand (Member SubCategory, Member Command) |
Adds a Command into the OPCode structure. | |
static bool | AddDetail (Member Command, byte Detail, string Definition) |
Adds a new Detail into the OPCode structure. | |
static bool | AddDetail (Member Command, Member Detail) |
Adds a Detail into the OPCode structure. | |
Properties | |
static LinkedList< Member > | Categories [get] |
Gets The Saved Categories ( Or the Structure of the Registred OPCodes ) | |
Rank | MemberRank [get] |
Returns the Member's Rank. | |
byte | Value [get] |
Returns The Member's Byte Value. | |
string | Definition [get] |
Returns The Member's Definition. | |
LinkedList< Member > | Sub [get] |
Returns The Member's Sub Members. | |
Objects of this class Defines every OPCode instance.
|
inline |
Creates a new Member instance.
Use Appropriate Functions to add this into the OPCode structure or else it would be rendred useless
See Also
Rank | |
Value | |
Definition |
|
inlinestatic |
Gets an Instace of a Saved Category.
Category | The Category to search for |
null
Exceptions.OPCode.InvalidRankFound | Member Found Contains an invalid Rank |
|
inlinestatic |
Gets a Subcategory Member depending on a byte according to the byte of Category.
Category | The Category to search in |
SubCategory | The Subategory to search for |
null
Exceptions.OPCode.InvalidRankFound | Member Found Contains an invalid Rank |
|
inlinestatic |
Gets a Subcategory Member depending on a byte from a Category member.
Category | The Category to search in |
SubCategory | The Subategory to search for |
null
Exceptions.OPCode.InvalidRankFound | Member Found Contains an invalid Rank |
|
inlinestatic |
Gets a Command Member depending on a byte accoring to the bytes of Category and SubCategory.
Category | The Category to search in |
SubCategory | The Subategory to search in |
Command | The Command to search for |
null
Exceptions.OPCode.InvalidRankFound | Member Found Contains an invalid Rank |
Gets a Command Member depending on a byte from a Subcategory Member.
SubCategory | The Subategory to search in |
Command | The Command to search for |
null
Exceptions.OPCode.InvalidRankFound | Member Found Contains an invalid Rank |
|
inlinestatic |
Gets a Detail Member depending on a byte accoring to the bytes of Category, SubCategory and Command.
Category | The Category to search in |
SubCategory | The Subategory to search in |
Command | The Command to search in |
Detail | The Detail to search for |
Exceptions.OPCode.InvalidRankFound | Member Found Contains an invalid Rank |
Gets a Detail Member depending on a byte from a Command Member.
Command | The Command to search in |
Detail | The Detail to search for |
Exceptions.OPCode.InvalidRankFound | Member Found Contains an invalid Rank |
|
inlinestatic |
Adds a new Category into the OPCode structure.
Category | The byte Defining the Category |
Definition | Definition of the Category |
true
Category has been addedfalse
Category already exists Exceptions.ClassUninitialized | OPCode.Base was not intialized |
|
inlinestatic |
Adds a Category into the OPCode structure.
Category | The Member Category you want to add |
Exceptions.ClassUninitialized | OPCode.Base was not intialized |
Exceptions.OPCode.InvalidRankFound | A Member contains an innapropriate Rank |
|
inlinestatic |
Adds a new Subcategory into the OPCode Structure.
Category | The Parent Category |
SubCategory | The byte difining the SubCategory |
Definition | The Difinition fo the Subcategory |
Exceptions.ClassUninitialized | OPCode.Base was not intialized |
Exceptions.OPCode.InvalidRankFound | A Member contains an innapropriate Rank |
|
inlinestatic |
Adds a Subcategory into the OPCode Structure.
Category | The Parent Category |
SubCategory | The SubCategory Member to add |
Exceptions.ClassUninitialized | OPCode.Base was not intialized |
Exceptions.OPCode.InvalidRankFound | A Member contains an innapropriate Rank |
|
inlinestatic |
Adds a new Command into the OPCode structure.
SubCategory | Parent SubCategory |
Command | The byte defining the Command |
Definition | The definition of the Command |
Exceptions.ClassUninitialized | OPCode.Base was not intialized |
Exceptions.OPCode.InvalidRankFound | A Member contains an innapropriate Rank |
Adds a Command into the OPCode structure.
SubCategory | Parent SubCategory |
Command | The Command Member to add |
Exceptions.ClassUninitialized | OPCode.Base was not intialized |
Exceptions.OPCode.InvalidRankFound | A Member contains an innapropriate Rank |
|
inlinestatic |
Adds a new Detail into the OPCode structure.
Command | Parent Command |
Detail | The byte defining the Detail |
Definition | The definition of the Detail |
Exceptions.ClassUninitialized | OPCode.Base was not intialized |
Exceptions.OPCode.InvalidRankFound | A Member contains an innapropriate Rank |
Adds a Detail into the OPCode structure.
Command | Parent Command |
Detail | The Detail to add |
Exceptions.ClassUninitialized | OPCode.Base was not intialized |
Exceptions.OPCode.InvalidRankFound | A Member contains an innapropriate Rank |
|
staticget |
Gets The Saved Categories ( Or the Structure of the Registred OPCodes )
|
get |
Returns The Member's Byte Value.
|
get |
Returns The Member's Definition.
|
get |
Returns The Member's Sub Members.