Class defining a module slot
Properties | |
int | Count [get] |
Gets the number of connected links, i.e. shortcut to this.Links.Count More... | |
Rect | DropZone [get, set] |
Mouse-Hotzone More... | |
IExternalInput | ExternalInput [get] |
Gets the module as an IExternalInput More... | |
SlotInfo | Info [get, set] |
Gets the SlotInfo Attribute More... | |
bool | IsLinked [get] |
Whether the link is wired or not More... | |
bool | IsLinkedAndConfigured [get] |
Whether the link is wired and all connected modules are configured More... | |
List< CGModuleSlot > | LinkedSlots [get] |
All slots of linked modules More... | |
CGModule | Module [get, set] |
The Module this Slot belongs to More... | |
string | Name [get] |
IOnRequestProcessing | OnRequestModule [get] |
Gets the module as an IOnRequestProcessing More... | |
Vector2 | Origin [get, set] |
Origin of Link-Wire More... | |
IPathProvider | PathProvider [get] |
Gets the module as an IPathProvider More... | |
Public Member Functions | |
CGModuleSlot () | |
List< CGModule > | GetLinkedModules () |
Gets a list of all Links' modules More... | |
bool | HasLinkTo (CGModuleSlot other) |
virtual void | LinkTo (CGModuleSlot other) |
void | ReInitializeLinkedSlots () |
override string | ToString () |
virtual void | UnlinkAll () |
virtual void | UnlinkFrom (CGModuleSlot other) |
Static Public Member Functions | |
static implicit | operator bool (CGModuleSlot a) |
Protected Member Functions | |
virtual void | LoadLinkedSlots () |
Static Protected Member Functions | |
static void | LinkInputAndOutput (CGModuleSlot inputSlot, CGModuleSlot outputSlot) |
Protected Attributes | |
List< CGModuleSlot > | mLinkedSlots = null |
CGModuleSlot | ( | ) |
List<CGModule> GetLinkedModules | ( | ) |
Gets a list of all Links' modules
bool HasLinkTo | ( | CGModuleSlot | other | ) |
|
staticprotected |
|
virtual |
Reimplemented in CGModuleOutputSlot, and CGModuleInputSlot.
|
protectedvirtual |
Reimplemented in CGModuleOutputSlot, and CGModuleInputSlot.
|
static |
void ReInitializeLinkedSlots | ( | ) |
override string ToString | ( | ) |
|
virtual |
Reimplemented in CGModuleInputSlot.
|
virtual |
Reimplemented in CGModuleOutputSlot, and CGModuleInputSlot.
|
protected |
|
get |
Gets the number of connected links, i.e. shortcut to this.Links.Count
|
getset |
Mouse-Hotzone
|
get |
Gets the module as an IExternalInput
|
getset |
Gets the SlotInfo Attribute
|
get |
Whether the link is wired or not
|
get |
Whether the link is wired and all connected modules are configured
|
get |
All slots of linked modules
|
getset |
The Module this Slot belongs to
|
get |
|
get |
Gets the module as an IOnRequestProcessing
|
getset |
Origin of Link-Wire
|
get |
Gets the module as an IPathProvider