CommonLibVR
Loading...
Searching...
No Matches
ActorEquipManager.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTSingleton.h"
4
5namespace RE
6{
7 class Actor;
8 class BGSEquipSlot;
9 class ExtraDataList;
10 class SpellItem;
11 class TESBoundObject;
12 class TESShout;
13
14 class ActorEquipManager : public BSTSingletonSDM<ActorEquipManager>
15 {
16 public:
18
19 void EquipObject(Actor* a_actor, TESBoundObject* a_object, ExtraDataList* a_extraData = nullptr, std::uint32_t a_count = 1, const BGSEquipSlot* a_slot = nullptr, bool a_queueEquip = true, bool a_forceEquip = false, bool a_playSounds = true, bool a_applyNow = false);
20 void EquipShout(Actor* a_actor, TESShout* a_shout);
21 void EquipSpell(Actor* a_actor, SpellItem* a_spell, const BGSEquipSlot* a_slot = nullptr);
22 bool UnequipObject(Actor* a_actor, TESBoundObject* a_object, ExtraDataList* a_extraData = nullptr, std::uint32_t a_count = 1, const BGSEquipSlot* a_slot = nullptr, bool a_queueEquip = true, bool a_forceEquip = false, bool a_playSounds = true, bool a_applyNow = false, const BGSEquipSlot* a_slotToReplace = nullptr);
23
24 // members
25 bool unk01; // 01
26 private:
28 };
29#ifndef SKYRIMVR
30 static_assert(sizeof(ActorEquipManager) == 0x2);
31#endif
32}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition ActorEquipManager.h:15
bool unk01
Definition ActorEquipManager.h:25
bool UnequipObject(Actor *a_actor, TESBoundObject *a_object, ExtraDataList *a_extraData=nullptr, std::uint32_t a_count=1, const BGSEquipSlot *a_slot=nullptr, bool a_queueEquip=true, bool a_forceEquip=false, bool a_playSounds=true, bool a_applyNow=false, const BGSEquipSlot *a_slotToReplace=nullptr)
void EquipShout(Actor *a_actor, TESShout *a_shout)
void EquipObject(Actor *a_actor, TESBoundObject *a_object, ExtraDataList *a_extraData=nullptr, std::uint32_t a_count=1, const BGSEquipSlot *a_slot=nullptr, bool a_queueEquip=true, bool a_forceEquip=false, bool a_playSounds=true, bool a_applyNow=false)
void EquipSpell(Actor *a_actor, SpellItem *a_spell, const BGSEquipSlot *a_slot=nullptr)
static ActorEquipManager * GetSingleton()
Definition Actor.h:133
Definition BGSEquipSlot.h:10
Definition ExtraDataList.h:51
Definition SpellItem.h:16
Definition TESBoundObject.h:26
Definition TESShout.h:18
Definition AbsorbEffect.h:6
Definition BSTSingleton.h:50