CommonLibSSE NG
ModelProcessor.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTSingleton.h"
4 #include "RE/D/DBTraits.h"
5 #include "RE/N/NiSmartPointer.h"
6 
7 namespace RE
8 {
9  class NiNode;
10 
11  namespace BSModelDB
12  {
13  class BSModelProcessor : public BSTSingletonExplicit<BSModelProcessor>
14  {
15  public:
16  inline static constexpr auto RTTI = RTTI_BSModelDB__BSModelProcessor;
17  inline static constexpr auto VTABLE = VTABLE_BSModelDB__BSModelProcessor;
18 
19  virtual ~BSModelProcessor();
20 
21  // add
22  virtual void PostCreate(const DBTraits::ArgsType& a_args, const char* modelName, NiPointer<NiNode>& a_root, std::uint32_t& a_typeOut);
23  };
24  }
25 
26  namespace TESModelDB
27  {
29  {
30  public:
31  inline static constexpr auto RTTI = RTTI_TESModelDB____TESProcessor;
32  inline static constexpr auto VTABLE = VTABLE_TESModelDB____TESProcessor;
33 
34  ~TESProcessor() override;
35 
36  // override (BSModelDM::BSModelProcessor)
37  void PostCreate(const BSModelDB::DBTraits::ArgsType& a_args, const char* modelName, NiPointer<NiNode>& a_root, std::uint32_t& a_typeOut) override;
38  };
39  }
40 }
Definition: ModelProcessor.h:14
virtual void PostCreate(const DBTraits::ArgsType &a_args, const char *modelName, NiPointer< NiNode > &a_root, std::uint32_t &a_typeOut)
static constexpr auto VTABLE
Definition: ModelProcessor.h:17
static constexpr auto RTTI
Definition: ModelProcessor.h:16
Definition: NiSmartPointer.h:9
Definition: ModelProcessor.h:29
static constexpr auto VTABLE
Definition: ModelProcessor.h:32
void PostCreate(const BSModelDB::DBTraits::ArgsType &a_args, const char *modelName, NiPointer< NiNode > &a_root, std::uint32_t &a_typeOut) override
static constexpr auto RTTI
Definition: ModelProcessor.h:31
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_TESModelDB____TESProcessor(684859, 392562, 0x1edafb0)
constexpr std::array< REL::VariantID, 1 > VTABLE_TESModelDB____TESProcessor
Definition: Offsets_VTABLE.h:280
constexpr std::array< REL::VariantID, 1 > VTABLE_BSModelDB__BSModelProcessor
Definition: Offsets_VTABLE.h:279
constexpr REL::VariantID RTTI_BSModelDB__BSModelProcessor(684857, 392560, 0x1edaf20)
Definition: DBTraits.h:13
Definition: BSTSingleton.h:11