CommonLibSSE (powerof3)
IAnimationGraphManagerHolder.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 #include "RE/B/BSTArray.h"
5 #include "RE/B/BSTSmartPointer.h"
6 
7 namespace RE
8 {
9  class BSAnimationGraphManager;
10  class BShkbAnimationGraph;
11  class NiAVObject;
12 
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_IAnimationGraphManagerHolder;
17 
19 
20  // add
21  virtual bool NotifyAnimationGraph(const BSFixedString& a_eventName); // 01
24  virtual bool PopulateGraphNodesToTarget(BSScrapArray<NiAVObject*>& a_nodes); // 04 - { return false; }
26  virtual void Unk_06(void); // 06 - { return 1; }
27  virtual void Unk_07(void); // 07 - { return 1; }
28  virtual bool SetupAnimEventSinks(const BSTSmartPointer<BShkbAnimationGraph>& a_animGraph); // 08 - { return true; } - sinks the holder to the the source passed in
29  virtual void Unk_09(void); // 09 - { return; }
30  virtual void Unk_0A(void); // 0A - { return 0; }
31  virtual void PostCreateAnimationGraphManager(BSTSmartPointer<BSAnimationGraphManager>& a_animGraphMgr); // 0B - { return; }
32  virtual void Unk_0C(void); // 0C - { return; }
33  virtual void PostChangeAnimationManager(const BSTSmartPointer<BShkbAnimationGraph>& a_arg1, const BSTSmartPointer<BShkbAnimationGraph>& a_arg2); // 0D - { return; }
34  virtual void Unk_0E(void); // 0E - { return 1; }
35  [[nodiscard]] virtual std::uint32_t GetGraphVariableCacheSize() const; // 0F - { return 0; }
36  virtual bool GetGraphVariableImpl1(const BSFixedString& a_variableName, float& a_out) const; // 10
37  virtual bool GetGraphVariableImpl2(const BSFixedString& a_variableName, std::int32_t& a_out) const; // 11
38  virtual bool GetGraphVariableImpl3(const BSFixedString& a_variableName, bool& a_out) const; // 12
39 
41  bool GetGraphVariableFloat(const BSFixedString& a_variableName, float& a_out) const;
42  bool GetGraphVariableInt(const BSFixedString& a_variableName, std::int32_t& a_out) const;
43  bool GetGraphVariableBool(const BSFixedString& a_variableName, bool& a_out) const;
45  };
46  static_assert(sizeof(IAnimationGraphManagerHolder) == 0x8);
47 }
Definition: BSTArray.h:377
Definition: BSTSmartPointer.h:37
Definition: IAnimationGraphManagerHolder.h:14
virtual bool GetGraphVariableImpl3(const BSFixedString &a_variableName, bool &a_out) const
bool GetGraphVariableBool(const BSFixedString &a_variableName, bool &a_out) const
virtual bool GetGraphVariableImpl2(const BSFixedString &a_variableName, std::int32_t &a_out) const
virtual bool GetAnimationGraphManagerImpl(BSTSmartPointer< BSAnimationGraphManager > &a_out) const =0
virtual bool SetAnimationGraphManagerImpl(BSTSmartPointer< BSAnimationGraphManager > &a_in)=0
virtual bool NotifyAnimationGraph(const BSFixedString &a_eventName)
virtual bool GetGraphVariableImpl1(const BSFixedString &a_variableName, float &a_out) const
bool SetAnimationGraphManager(BSTSmartPointer< BSAnimationGraphManager > &a_in)
bool GetGraphVariableInt(const BSFixedString &a_variableName, std::int32_t &a_out) const
virtual bool PopulateGraphNodesToTarget(BSScrapArray< NiAVObject * > &a_nodes)
virtual void PostChangeAnimationManager(const BSTSmartPointer< BShkbAnimationGraph > &a_arg1, const BSTSmartPointer< BShkbAnimationGraph > &a_arg2)
virtual bool SetupAnimEventSinks(const BSTSmartPointer< BShkbAnimationGraph > &a_animGraph)
virtual void PostCreateAnimationGraphManager(BSTSmartPointer< BSAnimationGraphManager > &a_animGraphMgr)
bool GetAnimationGraphManager(BSTSmartPointer< BSAnimationGraphManager > &a_out) const
bool GetGraphVariableFloat(const BSFixedString &a_variableName, float &a_out) const
virtual std::uint32_t GetGraphVariableCacheSize() const
virtual bool ConstructAnimationGraph(BSTSmartPointer< BShkbAnimationGraph > &a_out)=0
static constexpr auto RTTI
Definition: IAnimationGraphManagerHolder.h:16
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_IAnimationGraphManagerHolder
Definition: Offsets_RTTI.h:4907