Cyrus Mod Loader
Loading...
Searching...
No Matches
TreasureBookBehavior.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/BehaviorInstance.h>
4#include <Cyrus/Classes/PropertyClass.h>
5#include <Cyrus/Classes/SpellData.h>
6
8public:
9 List<SharedPointer<SpellData>> * getSpellList() { // Property Generated Getter
10 return reinterpret_cast<List<SharedPointer<SpellData>> *>(reinterpret_cast<uintptr_t>(this) + 0x78);
11 }
12
13 void setSpellList(List<SharedPointer<SpellData>> * val) { // Property Generated Setter
14 *reinterpret_cast<List<SharedPointer<SpellData>> **>(reinterpret_cast<uintptr_t>(this) + 0x78) = val;
15 }
16
17 unsigned int GetSpellCount(unsigned int a0, unsigned int a1) { // Function Generated
18 using FunctionPointerType = unsigned int (*)(TreasureBookBehavior *self, unsigned int a0, unsigned int a1);
19 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x18ABAD0);
20 return inner(this, a0, a1);
21 }
22
23 unsigned int GetTotalSpellCount() { // Function Generated
24 using FunctionPointerType = unsigned int (*)(TreasureBookBehavior *self);
25 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x18ABBB0);
26 return inner(this);
27 }
28
29 SpellData* GetSpell(int a0) { // Function Generated
30 using FunctionPointerType = SpellData* (*)(TreasureBookBehavior *self, int a0);
31 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x18AC600);
32 return inner(this, a0);
33 }
34
35};
Definition BehaviorInstance.h:5
Definition SpellData.h:5
Definition TreasureBookBehavior.h:7
unsigned int GetTotalSpellCount()
Definition TreasureBookBehavior.h:23
void setSpellList(List< SharedPointer< SpellData > > *val)
Definition TreasureBookBehavior.h:13
unsigned int GetSpellCount(unsigned int a0, unsigned int a1)
Definition TreasureBookBehavior.h:17
SpellData * GetSpell(int a0)
Definition TreasureBookBehavior.h:29
List< SharedPointer< SpellData > > * getSpellList()
Definition TreasureBookBehavior.h:9