Cyrus Mod Loader
Loading...
Searching...
No Matches
SpellListControl.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/GraphicalSpell.h>
4#include <Cyrus/Classes/PropertyClass.h>
5#include <Cyrus/Classes/Window.h>
6
7class SpellListControl : public Window {
8public:
9 Size<int> getCardSize() { // Property Generated Getter
10 return *reinterpret_cast<Size<int>*>(reinterpret_cast<uintptr_t>(this) + 0x2C4);
11 }
12
13 void setCardSize(Size<int> val) { // Property Generated Setter
14 *reinterpret_cast<Size<int>*>(reinterpret_cast<uintptr_t>(this) + 0x2C4) = val;
15 }
16
17 Point<int> getSpacing() { // Property Generated Getter
18 return *reinterpret_cast<Point<int>*>(reinterpret_cast<uintptr_t>(this) + 0x2CC);
19 }
20
21 void setSpacing(Point<int> val) { // Property Generated Setter
22 *reinterpret_cast<Point<int>*>(reinterpret_cast<uintptr_t>(this) + 0x2CC) = val;
23 }
24
25 List<Rect<int>> getHoles() { // Property Generated Getter
26 return *reinterpret_cast<List<Rect<int>>*>(reinterpret_cast<uintptr_t>(this) + 0x2B0);
27 }
28
29 void setHoles(List<Rect<int>> val) { // Property Generated Setter
30 *reinterpret_cast<List<Rect<int>>*>(reinterpret_cast<uintptr_t>(this) + 0x2B0) = val;
31 }
32
33 int GetSpellCount() { // Function Generated
34 using FunctionPointerType = int (*)(SpellListControl *self);
35 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0xBCFF70);
36 return inner(this);
37 }
38
39 void SelectSpell(int a0) { // Function Generated
40 using FunctionPointerType = void (*)(SpellListControl *self, int a0);
41 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0xBCFFC0);
42 return inner(this, a0);
43 }
44
45 SharedPointer<GraphicalSpell> GetSpellByIndex(int a0) { // Function Generated
46 using FunctionPointerType = SharedPointer<GraphicalSpell> (*)(SpellListControl *self, int a0);
47 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0xBCFF90);
48 return inner(this, a0);
49 }
50
51 Rect<int> GetCardPosition(int a0) { // Function Generated
52 using FunctionPointerType = Rect<int> (*)(SpellListControl *self, int a0);
53 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0xBD4470);
54 return inner(this, a0);
55 }
56
57 void SetSpellEnabled(int a0, bool a1) { // Function Generated
58 using FunctionPointerType = void (*)(SpellListControl *self, int a0, bool a1);
59 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0xBD0430);
60 return inner(this, a0, a1);
61 }
62
63};
Definition SpellListControl.h:7
Size< int > getCardSize()
Definition SpellListControl.h:9
void SelectSpell(int a0)
Definition SpellListControl.h:39
Rect< int > GetCardPosition(int a0)
Definition SpellListControl.h:51
void SetSpellEnabled(int a0, bool a1)
Definition SpellListControl.h:57
void setSpacing(Point< int > val)
Definition SpellListControl.h:21
List< Rect< int > > getHoles()
Definition SpellListControl.h:25
SharedPointer< GraphicalSpell > GetSpellByIndex(int a0)
Definition SpellListControl.h:45
void setCardSize(Size< int > val)
Definition SpellListControl.h:13
Point< int > getSpacing()
Definition SpellListControl.h:17
void setHoles(List< Rect< int > > val)
Definition SpellListControl.h:29
int GetSpellCount()
Definition SpellListControl.h:33
Represents a Wizard101 Window, think anything you see on screen that is not a 3D model.
Definition Window.h:45
Definition shared.h:28