class
SampleEntityWithCounterPS
- 1 property
- 2 functions
Extends game.ObjectPS game.PersistentState IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
counter | int | 0x0 | scripted |
Functions
int ReadTheCounter()RTTIre.Hooks.Place( "SampleEntityWithCounterPS", "ReadTheCounter;", (SampleEntityWithCounterPS_ReadTheCounter x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct SampleEntityWithCounterPS_ReadTheCounter( SampleEntityWithCounterPS self );EntityNotificationType OnBumpTheCounter(SampleBumpEvent evt)RTTIre.Hooks.Place( "SampleEntityWithCounterPS", "OnBumpTheCounter;SampleBumpEvent", (SampleEntityWithCounterPS_OnBumpTheCounter x) => { return re.Hooks.CallOriginal<re.msgpack.EntityNotificationType>(); } ); [Msgpack.Gen] public readonly partial record struct SampleEntityWithCounterPS_OnBumpTheCounter( SampleEntityWithCounterPS self, SampleBumpEvent? evt );