Cyrus Mod Loader
Loading...
Searching...
No Matches
ClientInventoryBehavior.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/BehaviorInstance.h>
4#include <Cyrus/Classes/CoreObject.h>
5#include <Cyrus/Classes/InventoryBehaviorBase.h>
6#include <Cyrus/Classes/PropertyClass.h>
7
9public:
10 int GetItemCount() { // Function Generated
11 using FunctionPointerType = int (*)(ClientInventoryBehavior *self);
12 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154C0D0);
13 return inner(this);
14 }
15
16 CoreObject* GetItem(int a0) { // Function Generated
17 using FunctionPointerType = CoreObject* (*)(ClientInventoryBehavior *self, int a0);
18 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154D4A0);
19 return inner(this, a0);
20 }
21
22 CoreObject* FindItemWithGid(gid a0) { // Function Generated
23 using FunctionPointerType = CoreObject* (*)(ClientInventoryBehavior *self, gid a0);
24 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154C620);
25 return inner(this, a0);
26 }
27
28 void TrashItemWithGid(gid a0) { // Function Generated
29 using FunctionPointerType = void (*)(ClientInventoryBehavior *self, gid a0);
30 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154D4D0);
31 return inner(this, a0);
32 }
33
34 void UseItemWithGid(gid a0) { // Function Generated
35 using FunctionPointerType = void (*)(ClientInventoryBehavior *self, gid a0);
36 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154D720);
37 return inner(this, a0);
38 }
39
40 CoreTemplate* GetTemplate(CoreObject a0) { // Function Generated
41 using FunctionPointerType = CoreTemplate* (*)(ClientInventoryBehavior *self, CoreObject a0);
42 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154E060);
43 return inner(this, a0);
44 }
45
46 int IsItemWithGidInTrade(gid a0) { // Function Generated
47 using FunctionPointerType = int (*)(ClientInventoryBehavior *self, gid a0);
48 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154D850);
49 return inner(this, a0);
50 }
51
52 void RequestAddItemWithGIDToTrade(gid a0) { // Function Generated
53 using FunctionPointerType = void (*)(ClientInventoryBehavior *self, gid a0);
54 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154D970);
55 return inner(this, a0);
56 }
57
58 void RequestAddMoneyToTrade(int a0) { // Function Generated
59 using FunctionPointerType = void (*)(ClientInventoryBehavior *self, int a0);
60 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154DBF0);
61 return inner(this, a0);
62 }
63
64 void RequestRemoveItemWithGIDFromTrade(gid a0) { // Function Generated
65 using FunctionPointerType = void (*)(ClientInventoryBehavior *self, gid a0);
66 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154DAB0);
67 return inner(this, a0);
68 }
69
70 CoreTemplate* GetTemplateFromTemplateGID(gid a0) { // Function Generated
71 using FunctionPointerType = CoreTemplate* (*)(ClientInventoryBehavior *self, gid a0);
72 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154E070);
73 return inner(this, a0);
74 }
75
76 bool IsCombinable(CoreObject a0, CoreObject a1) { // Function Generated
77 using FunctionPointerType = bool (*)(ClientInventoryBehavior *self, CoreObject a0, CoreObject a1);
78 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154DD10);
79 return inner(this, a0, a1);
80 }
81
82 void Combine(CoreObject a0, CoreObject a1) { // Function Generated
83 using FunctionPointerType = void (*)(ClientInventoryBehavior *self, CoreObject a0, CoreObject a1);
84 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154DE40);
85 return inner(this, a0, a1);
86 }
87
88 int GetTotalQuantity(unsigned __int64 a0) { // Function Generated
89 using FunctionPointerType = int (*)(ClientInventoryBehavior *self, unsigned __int64 a0);
90 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x154BF50);
91 return inner(this, a0);
92 }
93
94};
Definition ClientInventoryBehavior.h:8
CoreObject * GetItem(int a0)
Definition ClientInventoryBehavior.h:16
CoreObject * FindItemWithGid(gid a0)
Definition ClientInventoryBehavior.h:22
void RequestAddItemWithGIDToTrade(gid a0)
Definition ClientInventoryBehavior.h:52
int GetItemCount()
Definition ClientInventoryBehavior.h:10
CoreTemplate * GetTemplate(CoreObject a0)
Definition ClientInventoryBehavior.h:40
CoreTemplate * GetTemplateFromTemplateGID(gid a0)
Definition ClientInventoryBehavior.h:70
void UseItemWithGid(gid a0)
Definition ClientInventoryBehavior.h:34
void Combine(CoreObject a0, CoreObject a1)
Definition ClientInventoryBehavior.h:82
void RequestAddMoneyToTrade(int a0)
Definition ClientInventoryBehavior.h:58
bool IsCombinable(CoreObject a0, CoreObject a1)
Definition ClientInventoryBehavior.h:76
void RequestRemoveItemWithGIDFromTrade(gid a0)
Definition ClientInventoryBehavior.h:64
int IsItemWithGidInTrade(gid a0)
Definition ClientInventoryBehavior.h:46
void TrashItemWithGid(gid a0)
Definition ClientInventoryBehavior.h:28
int GetTotalQuantity(unsigned __int64 a0)
Definition ClientInventoryBehavior.h:88
Definition CoreObject.h:29
Definition CoreTemplate.h:16
Definition InventoryBehaviorBase.h:7