Skip to content

Commit

Permalink
Add TaskQueueInterface::QueueUpdateNiObject
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 committed Nov 19, 2024
1 parent cc3edf1 commit 1d4f1e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/RE/T/TaskQueueInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ namespace RE
void QueueUpdateDestructibleObject(TESObjectREFR* a_refr, float a_damage, bool a_arg3, TESObjectREFR* a_cause); // 09
void QueueAddRipple(float a_scale, const NiPoint3& a_pos); // 45
void QueueForceWeather(TESWeather* a_weather, bool a_forceOverride); // 64
void QueueUpdateNiObject(NiAVObject* a_obj); // 89
void QueueActorDisarm(ActorHandle& a_target, ActorHandle& a_caster); // 91
void QueueRemoveSpell(ActorHandle& a_actor, SpellItem* a_spellItem); // 93
};
Expand Down
7 changes: 7 additions & 0 deletions src/RE/T/TaskQueueInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ namespace RE
return func(this, a_weather, a_forceOverride);
}

void TaskQueueInterface::QueueUpdateNiObject(NiAVObject* a_obj)
{
using func_t = decltype(&TaskQueueInterface::QueueUpdateNiObject);
static REL::Relocation<func_t> func{ RELOCATION_ID(35929, 36904) };
return func(this, a_obj);
}

void TaskQueueInterface::QueueActorDisarm(ActorHandle& a_target, ActorHandle& a_caster)
{
using func_t = decltype(&TaskQueueInterface::QueueActorDisarm);
Expand Down

0 comments on commit 1d4f1e4

Please sign in to comment.