class game.device
Action
game.device.Action
- 4 properties
- 5 functions
- 1 derived class
Extends red.Event IScriptable ISerializable
Derived
Properties
| Property | Type | Offset | |
|---|---|---|---|
actionName | CName | 0x58 | |
clearanceLevel | int | 0x60 | |
localizedObjectName | string | 0x68 | |
paymentQuantity | int | 0x88 |
Functions
void SetUp(game.PersistentState ps)RTTIre.Hooks.PlaceVoid( "gamedeviceAction", "SetUp", (Action_SetUp x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct Action_SetUp( game.device.Action self, game.PersistentState? ps );game.device.ActionProperty?[] GetProperties()RTTIgame.PersistentID GetPersistentID()RTTIre.Hooks.Place( "gamedeviceAction", "GetPersistentID", (Action_GetPersistentID x) => { return re.Hooks.CallOriginal<re.msgpack.game.PersistentID>(); } ); [Msgpack.Gen] public readonly partial record struct Action_GetPersistentID( game.device.Action self );CName GetDeviceClassName()RTTIre.Hooks.Place( "gamedeviceAction", "GetDeviceClassName", (Action_GetDeviceClassName x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct Action_GetDeviceClassName( game.device.Action self );string GetCurrentDisplayString()RTTIre.Hooks.Place( "gamedeviceAction", "GetCurrentDisplayString", (Action_GetCurrentDisplayString x) => { return re.Hooks.CallOriginal<re.msgpack.Str>(); } ); [Msgpack.Gen] public readonly partial record struct Action_GetCurrentDisplayString( game.device.Action self );