CommonLibSSE (powerof3)
GridArray.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  class GridArray
6  {
7  public:
8  inline static constexpr auto RTTI = RTTI_GridArray;
9  inline static constexpr auto VTABLE = VTABLE_GridArray;
10 
11  virtual ~GridArray(); // 00
12 
13  // add
14  virtual void DetachAll(); // 01
15  virtual void KillAll(); // 02
16  virtual bool SetCenter(std::int32_t a_x, std::int32_t a_y); // 03
17  virtual void Shift(std::int32_t a_x, std::int32_t a_y); // 04
18  virtual void Detach(std::uint32_t a_x, std::uint32_t a_y) = 0; // 05
19  virtual void ClearItem(std::uint32_t a_x, std::uint32_t a_y) = 0; // 06
20  virtual void MoveItem(std::uint32_t a_fromX, std::uint32_t a_fromY, std::uint32_t a_toX, std::uint32_t a_toY) = 0; // 07
21  virtual void SwapItem(std::uint32_t a_fromX, std::uint32_t a_fromY, std::uint32_t a_toX, std::uint32_t a_toY) = 0; // 08
22 
23  // members
24  std::uint32_t unk08; // 08 - 1000
25  std::uint32_t unk0C; // 0C - 1000
26  std::uint32_t length; // 10 - takes value from uGridsToLoad
27  std::uint32_t pad14; // 14
28  };
29  static_assert(sizeof(GridArray) == 0x18);
30 };
Definition: GridArray.h:6
std::uint32_t pad14
Definition: GridArray.h:27
std::uint32_t length
Definition: GridArray.h:26
std::uint32_t unk08
Definition: GridArray.h:24
virtual void DetachAll()
virtual void KillAll()
virtual ~GridArray()
virtual bool SetCenter(std::int32_t a_x, std::int32_t a_y)
virtual void Detach(std::uint32_t a_x, std::uint32_t a_y)=0
std::uint32_t unk0C
Definition: GridArray.h:25
virtual void MoveItem(std::uint32_t a_fromX, std::uint32_t a_fromY, std::uint32_t a_toX, std::uint32_t a_toY)=0
virtual void SwapItem(std::uint32_t a_fromX, std::uint32_t a_fromY, std::uint32_t a_toX, std::uint32_t a_toY)=0
virtual void Shift(std::int32_t a_x, std::int32_t a_y)
virtual void ClearItem(std::uint32_t a_x, std::uint32_t a_y)=0
static constexpr auto RTTI
Definition: GridArray.h:8
static constexpr auto VTABLE
Definition: GridArray.h:9
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_GridArray(static_cast< std::uint64_t >(684943))
constexpr std::array< REL::ID, 1 > VTABLE_GridArray
Definition: Offsets_VTABLE.h:11724