class
TargetNPCTypeHitPrereqCondition
- 1 property
- 2 functions
Extends BaseHitPrereqCondition IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
type | game.data.NPCType | 0x8 | scripted |
Functions
void SetData(TDBID recordID)overrideRTTIre.Hooks.PlaceVoid( "TargetNPCTypeHitPrereqCondition", "SetData;TweakDBID", (TargetNPCTypeHitPrereqCondition_SetData x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct TargetNPCTypeHitPrereqCondition_SetData( TargetNPCTypeHitPrereqCondition self, TDBID recordID );bool Evaluate(game.events.HitEvent hitEvent)overrideRTTIre.Hooks.Place( "TargetNPCTypeHitPrereqCondition", "Evaluate;gameHitEvent", (TargetNPCTypeHitPrereqCondition_Evaluate x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct TargetNPCTypeHitPrereqCondition_Evaluate( TargetNPCTypeHitPrereqCondition self, game.events.HitEvent? hitEvent );