Cyrus Mod Loader
Loading...
Searching...
No Matches
ClientObject.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/CoreObject.h>
4#include <Cyrus/Classes/PropertyClass.h>
5
6class ClientObject : public CoreObject {
7public:
8 gid getCharacterId() { // Property Generated Getter
9 return *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x1B8);
10 }
11
12 void setCharacterId(gid val) { // Property Generated Setter
13 *reinterpret_cast<gid*>(reinterpret_cast<uintptr_t>(this) + 0x1B8) = val;
14 }
15
16 Body* GetBodyRawPointer() { // Function Generated
17 using FunctionPointerType = Body* (*)(ClientObject *self);
18 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1538560);
19 return inner(this);
20 }
21
22 bool CheckAdjective(std::string a0) { // Function Generated
23 using FunctionPointerType = bool (*)(ClientObject *self, std::string a0);
24 FunctionPointerType inner = reinterpret_cast<FunctionPointerType>(__SHARED::base + 0x1538950);
25 return inner(this, a0);
26 }
27
28};
Definition Body.h:5
Definition ClientObject.h:6
Body * GetBodyRawPointer()
Definition ClientObject.h:16
gid getCharacterId()
Definition ClientObject.h:8
void setCharacterId(gid val)
Definition ClientObject.h:12
bool CheckAdjective(std::string a0)
Definition ClientObject.h:22
Definition CoreObject.h:29