Cyber Engine Tweaks
Modding
Dictionary
Other
External docs
Other Wikis
Powered By GitBook
DeviceSystem
Documents the DeviceSystem class and its functions.
NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking DeviceSystem

To invoke the device system, use the following Global function:
1
devs = Game.DeviceSystem()
Copied!

Sub-functions

AddDynamicConnection

AddDynamicConnection
Info & Usage
1
AddDynamicConnection(deviceEntityID : PersistentID, deviceClassName : CName, parentEntityID : PersistentID, parentClassName : CName);
Copied!

DEBUG_GetAncestorsData

DEBUG_GetAncestorsData
Info & Usage
1
DEBUG_GetAncestorsData(entityID : EntityID, out outDevicesData : array:DeviceRef);
Copied!

DEBUG_GetChildrenData

DEBUG_GetChildrenData
Info & Usage
1
DEBUG_GetChildrenData(entityID : EntityID, out outDevicesData : array:DeviceRef);
Copied!

DEBUG_GetDescendantsData

DEBUG_GetDescendantsData
Info & Usage
1
DEBUG_GetDescendantsData(entityID : EntityID, out outDevicesData : array:DeviceRef);
Copied!

DEBUG_GetParentsData

DEBUG_GetParentsData
Info & Usage
1
DEBUG_GetParentsData(entityID : EntityID, out outDevicesData : array:DeviceRef);
Copied!

GetAllAncestors

GetAllAncestors
Info & Usage
1
GetAllAncestors(entityID : EntityID, out outDevices : array:ref:DeviceComponentPS);
Copied!

GetAllDescendants

GetAllDescendants
Info & Usage
1
GetAllDescendants(entityID : EntityID, out outDevices : array:ref:DeviceComponentPS);
Copied!

GetChildren

GetChildren
Info & Usage
1
GetChildren(entityID : EntityID, out outDevices : array:ref:DeviceComponentPS);
Copied!

GetNodePosition

GetNodePosition
Info & Usage
1
GetNodePosition(entityID : EntityID, out position : Vector4) : Bool;
Copied!

GetParents

GetParents
Info & Usage
1
GetParents(entityID : EntityID, out outDevices : array:ref:DeviceComponentPS);
Copied!

RemoveDynamicConnection

RemoveDynamicConnection
Info & Usage
1
RemoveDynamicConnection(deviceEntityID : PersistentID, parentEntityID : PersistentID);
Copied!
Last modified 9mo ago