You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
221 lines
9.1 KiB
221 lines
9.1 KiB
#pragma once
|
|
#include <il2cpp/il2cpp.h>
|
|
namespace gameengine {
|
|
|
|
class interactiveobject {
|
|
public:
|
|
template <typename T = std::int32_t> T &costbuffid() {
|
|
return *(T *)((std::uintptr_t)this + 0x2C);
|
|
}
|
|
template <typename T = std::int32_t> T &costpoints() {
|
|
return *(T *)((std::uintptr_t)this + 0x30);
|
|
}
|
|
template <typename T = float> T &cooldowntime() {
|
|
return *(T *)((std::uintptr_t)this + 0x34);
|
|
}
|
|
template <typename T = il2cpp_array<std::uintptr_t> *>
|
|
T &triggergroups() {
|
|
return *(T *)((std::uintptr_t)this + 0x38);
|
|
}
|
|
template <typename T = il2cpp_array<std::uintptr_t> *> T &triggers() {
|
|
return *(T *)((std::uintptr_t)this + 0x3C);
|
|
}
|
|
template <typename T = il2cpp_string *> T &btnspritename() {
|
|
return *(T *)((std::uintptr_t)this + 0x40);
|
|
}
|
|
template <typename T = il2cpp_string *> T &textdesc() {
|
|
return *(T *)((std::uintptr_t)this + 0x44);
|
|
}
|
|
template <typename T = il2cpp_string *> T &btncontent() {
|
|
return *(T *)((std::uintptr_t)this + 0x48);
|
|
}
|
|
template <typename T = std::uintptr_t> T &lookatpoint() {
|
|
return *(T *)((std::uintptr_t)this + 0x4C);
|
|
}
|
|
template <typename T = std::uintptr_t> T &reallookatpoint() {
|
|
return *(T *)((std::uintptr_t)this + 0x50);
|
|
}
|
|
template <typename T = bool> T &insidetriggervolume() {
|
|
return *(T *)((std::uintptr_t)this + 0x54);
|
|
}
|
|
template <typename T = bool> T &serverusability() {
|
|
return *(T *)((std::uintptr_t)this + 0x55);
|
|
}
|
|
template <typename T = il2cpp_string *> T &buttonmessagelocid() {
|
|
return *(T *)((std::uintptr_t)this + 0x5C);
|
|
}
|
|
template <typename T = il2cpp_string *> T &buttoncontentlocid() {
|
|
return *(T *)((std::uintptr_t)this + 0x60);
|
|
}
|
|
template <typename T = std::uintptr_t> T &involumelocalpawn() {
|
|
return *(T *)((std::uintptr_t)this + 0x64);
|
|
}
|
|
template <typename T = std::uintptr_t> T &m_interactivehud() {
|
|
return *(T *)((std::uintptr_t)this + 0x68);
|
|
}
|
|
template <typename T = std::uintptr_t> T ¤tshowingcommontips() {
|
|
return *(T *)((std::uintptr_t)this + 0x6C);
|
|
}
|
|
template <typename T = bool> T &m_enterhasclick() {
|
|
return *(T *)((std::uintptr_t)this + 0x70);
|
|
}
|
|
|
|
template <typename T = bool> T get_syncinteractiveevent() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC124))(this);
|
|
}
|
|
|
|
template <typename T = bool> T get_serverusability() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC12C))(this);
|
|
}
|
|
|
|
template <typename T = void> T set_serverusability(bool _value) {
|
|
return ((T(*)(interactiveobject *, bool))(il2cpp::il2cpp_base() +
|
|
0x32DC134))(this, _value);
|
|
}
|
|
|
|
template <typename T = il2cpp_string *> T get_btnspritename() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC13C))(this);
|
|
}
|
|
|
|
template <typename T = void>
|
|
T set_btnspritename(il2cpp_string *_value) {
|
|
return ((T(*)(interactiveobject *, il2cpp_string *))(
|
|
il2cpp::il2cpp_base() + 0x32DC144))(this, _value);
|
|
}
|
|
|
|
template <typename T = float> T get_btnspritescale() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC14C))(this);
|
|
}
|
|
|
|
template <typename T = il2cpp_vec3> T get_btnspriteoffset() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC154))(this);
|
|
}
|
|
|
|
template <typename T = il2cpp_string *> T get_buttonmessagelocid() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC16C))(this);
|
|
}
|
|
|
|
template <typename T = void>
|
|
T set_buttonmessagelocid(il2cpp_string *_value) {
|
|
return ((T(*)(interactiveobject *, il2cpp_string *))(
|
|
il2cpp::il2cpp_base() + 0x32DC174))(this, _value);
|
|
}
|
|
|
|
template <typename T = il2cpp_string *> T getbuttonmessage() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC17C))(this);
|
|
}
|
|
|
|
template <typename T = il2cpp_string *> T get_buttoncontentlocid() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC324))(this);
|
|
}
|
|
|
|
template <typename T = void>
|
|
T set_buttoncontentlocid(il2cpp_string *_value) {
|
|
return ((T(*)(interactiveobject *, il2cpp_string *))(
|
|
il2cpp::il2cpp_base() + 0x32DC32C))(this, _value);
|
|
}
|
|
|
|
template <typename T = il2cpp_string *> T getbuttoncontent() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC334))(this);
|
|
}
|
|
|
|
template <typename T = std::int32_t> T get_unlockitemid() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC4DC))(this);
|
|
}
|
|
|
|
template <typename T = std::uintptr_t> T get_action() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC4E4))(this);
|
|
}
|
|
|
|
template <typename T = void> T awake() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC4EC))(this);
|
|
}
|
|
|
|
template <typename T = void> T onsyncusability(bool _available) {
|
|
return ((T(*)(interactiveobject *, bool))(
|
|
il2cpp::il2cpp_base() + 0x32DC7AC))(this, _available);
|
|
}
|
|
|
|
template <typename T = void> T onsynccoolingdown(bool _bcoolingdown) {
|
|
return ((T(*)(interactiveobject *, bool))(
|
|
il2cpp::il2cpp_base() + 0x32DC8C0))(this, _bcoolingdown);
|
|
}
|
|
|
|
template <typename T = void>
|
|
T onlocalplayerenterexit(std::uintptr_t _p, bool _enter) {
|
|
return ((T(*)(interactiveobject *, std::uintptr_t, bool))(
|
|
il2cpp::il2cpp_base() + 0x32DC960))(this, _p, _enter);
|
|
}
|
|
|
|
template <typename T = void> T notifyinteractivecontext(bool _show) {
|
|
return ((T(*)(interactiveobject *, bool))(il2cpp::il2cpp_base() +
|
|
0x32DCA78))(this, _show);
|
|
}
|
|
|
|
template <typename T = il2cpp_array<std::uintptr_t> *>
|
|
T gettriggervolumes() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DC6E4))(this);
|
|
}
|
|
|
|
template <typename T = std::uintptr_t>
|
|
T createcommontipsctrl(il2cpp_vec3 _pos) {
|
|
return ((T(*)(interactiveobject *, il2cpp_vec3))(
|
|
il2cpp::il2cpp_base() + 0x32DCF44))(this, _pos);
|
|
}
|
|
|
|
template <typename T = bool> T oncheckbeforeinteractive() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DD0B0))(this);
|
|
}
|
|
|
|
template <typename T = bool> T needcheckbeforeinteractive() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DD150))(this);
|
|
}
|
|
|
|
template <typename T = bool> T get_istickable() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DD1F0))(this);
|
|
}
|
|
|
|
template <typename T = void> T tick(float _fdeltatime) {
|
|
return ((T(*)(interactiveobject *, float))(
|
|
il2cpp::il2cpp_base() + 0x32DD1F8))(this, _fdeltatime);
|
|
}
|
|
|
|
template <typename T = void> T onbuttonclick() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DD690))(this);
|
|
}
|
|
|
|
template <typename T = void> T xluabaseproxy_awake() {
|
|
return ((T(*)(interactiveobject *))(il2cpp::il2cpp_base() +
|
|
0x32DD948))(this);
|
|
}
|
|
|
|
template <typename T = void> T xluabaseproxy_onsyncusability(bool _p0) {
|
|
return ((T(*)(interactiveobject *, bool))(il2cpp::il2cpp_base() +
|
|
0x32DD950))(this, _p0);
|
|
}
|
|
|
|
template <typename T = void> T xluabaseproxy_tick(float _p0) {
|
|
return ((T(*)(interactiveobject *, float))(il2cpp::il2cpp_base() +
|
|
0x32DD958))(this, _p0);
|
|
}
|
|
};
|
|
|
|
} // namespace gameengine
|