class
CPOVotingDevice
- 1 property
- 4 functions
Extends CPOMissionDevice game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
deviceName | CName | 0x110 | scripted |
Functions
CName GetVoteFactName()RTTIre.Hooks.Place( "CPOVotingDevice", "GetVoteFactName;", (CPOVotingDevice_GetVoteFactName x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct CPOVotingDevice_GetVoteFactName( CPOVotingDevice self );CName GetVoteTimerFactName()RTTIre.Hooks.Place( "CPOVotingDevice", "GetVoteTimerFactName;", (CPOVotingDevice_GetVoteTimerFactName x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct CPOVotingDevice_GetVoteTimerFactName( CPOVotingDevice self );bool OnGameAttached()overrideRTTIre.Hooks.Place( "CPOVotingDevice", "OnGameAttached", (CPOVotingDevice_OnGameAttached x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CPOVotingDevice_OnGameAttached( CPOVotingDevice self );bool OnInteraction(game.interactions.ChoiceEvent choiceEvent)RTTIre.Hooks.Place( "CPOVotingDevice", "OnInteraction", (CPOVotingDevice_OnInteraction x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CPOVotingDevice_OnInteraction( CPOVotingDevice self, game.interactions.ChoiceEvent? choiceEvent );