class
DamageStatListener
- 2 properties
- 1 function
Extends game.ScriptStatsListener game.IStatsListener IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
weapon | WeakHandle<game.weapon.Object> | 0x0 | scripted |
updateEvt | UpdateDamageChangeEvent? | 0x10 | scripted |
Functions
void OnStatChanged(game.StatsObjectID ownerID, game.data.StatType statType, float diff, float total)overrideRTTIre.Hooks.PlaceVoid( "DamageStatListener", "OnStatChanged;StatsObjectIDgamedataStatTypeFloatFloat", (DamageStatListener_OnStatChanged x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DamageStatListener_OnStatChanged( DamageStatListener self, game.StatsObjectID ownerID, game.data.StatType statType, float diff, float total );