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:

devs = Game.DeviceSystem()

Sub-functions

AddDynamicConnection

AddDynamicConnection(deviceEntityID : PersistentID, deviceClassName : CName, parentEntityID : PersistentID, parentClassName : CName);

DEBUG_GetAncestorsData

DEBUG_GetAncestorsData(entityID : EntityID, out outDevicesData : array:DeviceRef);

DEBUG_GetChildrenData

DEBUG_GetChildrenData(entityID : EntityID, out outDevicesData : array:DeviceRef);

DEBUG_GetDescendantsData

DEBUG_GetDescendantsData(entityID : EntityID, out outDevicesData : array:DeviceRef);

DEBUG_GetParentsData

DEBUG_GetParentsData(entityID : EntityID, out outDevicesData : array:DeviceRef);

GetAllAncestors

GetAllAncestors(entityID : EntityID, out outDevices : array:ref:DeviceComponentPS);

GetAllDescendants

GetAllDescendants(entityID : EntityID, out outDevices : array:ref:DeviceComponentPS);

GetChildren

GetChildren(entityID : EntityID, out outDevices : array:ref:DeviceComponentPS);

GetNodePosition

GetNodePosition(entityID : EntityID, out position : Vector4) : Bool;

GetParents

GetParents(entityID : EntityID, out outDevices : array:ref:DeviceComponentPS);

RemoveDynamicConnection

RemoveDynamicConnection(deviceEntityID : PersistentID, parentEntityID : PersistentID);

Last updated