CommonLibSSE (powerof3)
ActorEquipManager.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTSingleton.h"
4 
5 namespace 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  };
27  static_assert(sizeof(ActorEquipManager) == 0x2);
28 }
Definition: ActorEquipManager.h:15
static ActorEquipManager * GetSingleton()
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)
Definition: Actor.h:125
Definition: BGSEquipSlot.h:10
Definition: ExtraDataList.h:40
Definition: SpellItem.h:16
Definition: TESBoundObject.h:24
Definition: TESShout.h:18
Definition: AbsorbEffect.h:6
Definition: BSTSingleton.h:50