CommonLibVR
SkyObject.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/N/NiSmartPointer.h"
4 
5 namespace RE
6 {
7  class NiNode;
8  class Sky;
9 
10  class SkyObject
11  {
12  public:
13  inline static constexpr auto RTTI = RTTI_SkyObject;
14  inline static constexpr auto VTABLE = VTABLE_SkyObject;
15 
16  virtual ~SkyObject(); // 00
17 
18  // add
19  virtual NiNode* GetRoot(); // 01 - { return root.get(); }
20  virtual void Init(NiNode* a_root); // 02
21  virtual void Update(Sky* a_sky, float a_arg2); // 03 - { return; }
22 
23  // members
25  private:
26  KEEP_FOR_RE()
27  };
28  static_assert(sizeof(SkyObject) == 0x10);
29 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: NiNode.h:12
Definition: NiSmartPointer.h:9
Definition: SkyObject.h:11
virtual void Init(NiNode *a_root)
static constexpr auto VTABLE
Definition: SkyObject.h:14
static constexpr auto RTTI
Definition: SkyObject.h:13
virtual NiNode * GetRoot()
NiPointer< NiNode > root
Definition: SkyObject.h:24
virtual void Update(Sky *a_sky, float a_arg2)
virtual ~SkyObject()
Definition: Sky.h:32
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_SkyObject
Definition: Offsets_VTABLE.h:12650
constexpr REL::ID RTTI_SkyObject(static_cast< std::uint64_t >(685527))