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.
274 lines
11 KiB
274 lines
11 KiB
#pragma once
|
|
#include <il2cpp/il2cpp.h>
|
|
namespace gameengine {
|
|
|
|
class offwallweaponstore {
|
|
public:
|
|
template <typename T = bool> T &inbossscene() {
|
|
return *(T *)((std::uintptr_t)this + 0x7D);
|
|
}
|
|
template <typename T = bool> T &bverylow() {
|
|
return *(T *)((std::uintptr_t)this + 0x7E);
|
|
}
|
|
template <typename T = il2cpp_string *> T &getweaponevent() {
|
|
return *(T *)((std::uintptr_t)this + 0x80);
|
|
}
|
|
template <typename T = il2cpp_string *> T &getammoevent() {
|
|
return *(T *)((std::uintptr_t)this + 0x84);
|
|
}
|
|
template <typename T = std::uintptr_t> T &audioplayer() {
|
|
return *(T *)((std::uintptr_t)this + 0x88);
|
|
}
|
|
template <typename T = std::uintptr_t> T &weaponmodelobj() {
|
|
return *(T *)((std::uintptr_t)this + 0x8C);
|
|
}
|
|
template <typename T = std::uintptr_t> T &offwallweaponmodel() {
|
|
return *(T *)((std::uintptr_t)this + 0x90);
|
|
}
|
|
template <typename T = il2cpp_vec3> T &weapontargetpos() {
|
|
return *(T *)((std::uintptr_t)this + 0x94);
|
|
}
|
|
template <typename T = std::int32_t> T &weaponid() {
|
|
return *(T *)((std::uintptr_t)this + 0xA0);
|
|
}
|
|
template <typename T = std::int32_t> T &skinweaponid() {
|
|
return *(T *)((std::uintptr_t)this + 0xA4);
|
|
}
|
|
template <typename T = il2cpp_string *> T &weaponname() {
|
|
return *(T *)((std::uintptr_t)this + 0xA8);
|
|
}
|
|
template <typename T = std::int32_t> T &weaponprice() {
|
|
return *(T *)((std::uintptr_t)this + 0xAC);
|
|
}
|
|
template <typename T = bool> T &bweaponloadfinish() {
|
|
return *(T *)((std::uintptr_t)this + 0xB0);
|
|
}
|
|
template <typename T = bool> T &bstartweaponmove() {
|
|
return *(T *)((std::uintptr_t)this + 0xB1);
|
|
}
|
|
template <typename T = bool> T &boffwallstate() {
|
|
return *(T *)((std::uintptr_t)this + 0xB2);
|
|
}
|
|
template <typename T = il2cpp_string *> T &buttonstring() {
|
|
return *(T *)((std::uintptr_t)this + 0xB4);
|
|
}
|
|
template <typename T = float> T &weaponmodeldestorytime() {
|
|
return *(T *)((std::uintptr_t)this + 0xBC);
|
|
}
|
|
template <typename T = float> T &weaponmodeldestoryholdtime() {
|
|
return *(T *)((std::uintptr_t)this + 0xC0);
|
|
}
|
|
template <typename T = bool> T &bhaveweaponmodel() {
|
|
return *(T *)((std::uintptr_t)this + 0xC4);
|
|
}
|
|
template <typename T = il2cpp_string *> T &ammostring() {
|
|
return *(T *)((std::uintptr_t)this + 0xC8);
|
|
}
|
|
|
|
template <typename T = std::uintptr_t> T getlevelobjecttype() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FA164))(this);
|
|
}
|
|
|
|
template <typename T = std::uintptr_t> T get_audioplayer() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FA204))(this);
|
|
}
|
|
|
|
template <typename T = void> T ongetweaponsync(std::int32_t _playerid) {
|
|
return ((T(*)(offwallweaponstore *, std::int32_t))(
|
|
il2cpp::il2cpp_base() + 0x23FA2CC))(this, _playerid);
|
|
}
|
|
|
|
template <typename T = void> T onbuttonclick() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FAA54))(this);
|
|
}
|
|
|
|
template <typename T = il2cpp_string *> T getbuttonmessage() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FACE8))(this);
|
|
}
|
|
|
|
template <typename T = void>
|
|
T ongetbuttonmessage(std::int32_t _msgindex) {
|
|
return ((T(*)(offwallweaponstore *, std::int32_t))(
|
|
il2cpp::il2cpp_base() + 0x23FAD88))(this, _msgindex);
|
|
}
|
|
|
|
template <typename T = void> T ongetweaponprice(std::int32_t _price) {
|
|
return ((T(*)(offwallweaponstore *, std::int32_t))(
|
|
il2cpp::il2cpp_base() + 0x23FAF00))(this, _price);
|
|
}
|
|
|
|
template <typename T = std::int32_t> T getammoprice() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FAFAC))(this);
|
|
}
|
|
|
|
template <typename T = void> T sethidden(bool _hidden) {
|
|
return ((T(*)(offwallweaponstore *, bool))(
|
|
il2cpp::il2cpp_base() + 0x23FB084))(this, _hidden);
|
|
}
|
|
|
|
template <typename T = void> T awake() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FB124))(this);
|
|
}
|
|
|
|
template <typename T = void> T start() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FB1DC))(this);
|
|
}
|
|
|
|
template <typename T = bool>
|
|
T checkcarryweaponbyid(std::int32_t _carryedweaponid) {
|
|
return ((T(*)(offwallweaponstore *, std::int32_t))(
|
|
il2cpp::il2cpp_base() + 0x23FB470))(this, _carryedweaponid);
|
|
}
|
|
|
|
template <typename T = bool>
|
|
T checkweaponfullammobyid(std::uintptr_t _carryedweapon) {
|
|
return ((T(*)(offwallweaponstore *, std::uintptr_t))(
|
|
il2cpp::il2cpp_base() + 0x23FB524))(this, _carryedweapon);
|
|
}
|
|
|
|
template <typename T = bool> T checkthrowweapon() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FB748))(this);
|
|
}
|
|
|
|
template <typename T = bool> T needcheckbeforeinteractive() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FB98C))(this);
|
|
}
|
|
|
|
template <typename T = bool> T oncheckbeforeinteractive() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FBA2C))(this);
|
|
}
|
|
|
|
template <typename T = bool>
|
|
T checksameweapon(std::uintptr_t _weapon1, std::uintptr_t _weapon2) {
|
|
return ((T(*)(offwallweaponstore *, std::uintptr_t,
|
|
std::uintptr_t))(il2cpp::il2cpp_base() + 0x23FBB84))(
|
|
this, _weapon1, _weapon2);
|
|
}
|
|
|
|
template <typename T = void> T notifyinteractivecontext(bool _show) {
|
|
return ((T(*)(offwallweaponstore *, bool))(il2cpp::il2cpp_base() +
|
|
0x23FBD2C))(this, _show);
|
|
}
|
|
|
|
template <typename T = il2cpp_string *> T getweaponname() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FC0BC))(this);
|
|
}
|
|
|
|
template <typename T = void>
|
|
T onlocalplayerenterexit(std::uintptr_t _p, bool _enter) {
|
|
return ((T(*)(offwallweaponstore *, std::uintptr_t, bool))(
|
|
il2cpp::il2cpp_base() + 0x23FC2D0))(this, _p, _enter);
|
|
}
|
|
|
|
template <typename T = bool>
|
|
T checkhaveweaponbyid(std::uintptr_t _carryedweapon) {
|
|
return ((T(*)(offwallweaponstore *, std::uintptr_t))(
|
|
il2cpp::il2cpp_base() + 0x23FC5E8))(this, _carryedweapon);
|
|
}
|
|
|
|
template <typename T = void> T resetuistate(bool _enter) {
|
|
return ((T(*)(offwallweaponstore *, bool))(
|
|
il2cpp::il2cpp_base() + 0x23FC404))(this, _enter);
|
|
}
|
|
|
|
template <typename T = void> T checkdestoryweaponmodel() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FC73C))(this);
|
|
}
|
|
|
|
template <typename T = void> T showweaponmodel() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FA6AC))(this);
|
|
}
|
|
|
|
template <typename T = void>
|
|
T onweaponmodelloadfinish(std::int32_t _weaponid) {
|
|
return ((T(*)(offwallweaponstore *, std::int32_t))(
|
|
il2cpp::il2cpp_base() + 0x23FC8C4))(this, _weaponid);
|
|
}
|
|
|
|
template <typename T = bool> T get_istickable() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FCB4C))(this);
|
|
}
|
|
|
|
template <typename T = void> T tick(float _deltatime) {
|
|
return ((T(*)(offwallweaponstore *, float))(
|
|
il2cpp::il2cpp_base() + 0x23FCB54))(this, _deltatime);
|
|
}
|
|
|
|
template <typename T = std::uintptr_t>
|
|
T xluabaseproxy_getlevelobjecttype() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FCD3C))(this);
|
|
}
|
|
|
|
template <typename T = void> T xluabaseproxy_onbuttonclick() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FCD44))(this);
|
|
}
|
|
|
|
template <typename T = il2cpp_string *>
|
|
T xluabaseproxy_getbuttonmessage() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FCD4C))(this);
|
|
}
|
|
|
|
template <typename T = void> T xluabaseproxy_sethidden(bool _p0) {
|
|
return ((T(*)(offwallweaponstore *, bool))(il2cpp::il2cpp_base() +
|
|
0x23FCD54))(this, _p0);
|
|
}
|
|
|
|
template <typename T = void> T xluabaseproxy_awake() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FCD5C))(this);
|
|
}
|
|
|
|
template <typename T = void> T xluabaseproxy_start() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FCD64))(this);
|
|
}
|
|
|
|
template <typename T = bool>
|
|
T xluabaseproxy_needcheckbeforeinteractive() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FCD6C))(this);
|
|
}
|
|
|
|
template <typename T = bool>
|
|
T xluabaseproxy_oncheckbeforeinteractive() {
|
|
return ((T(*)(offwallweaponstore *))(il2cpp::il2cpp_base() +
|
|
0x23FCD74))(this);
|
|
}
|
|
|
|
template <typename T = void>
|
|
T xluabaseproxy_notifyinteractivecontext(bool _p0) {
|
|
return ((T(*)(offwallweaponstore *, bool))(il2cpp::il2cpp_base() +
|
|
0x23FCD7C))(this, _p0);
|
|
}
|
|
|
|
template <typename T = void>
|
|
T xluabaseproxy_onlocalplayerenterexit(std::uintptr_t _p0, bool _p1) {
|
|
return ((T(*)(offwallweaponstore *, std::uintptr_t, bool))(
|
|
il2cpp::il2cpp_base() + 0x23FCD84))(this, _p0, _p1);
|
|
}
|
|
|
|
template <typename T = void> T xluabaseproxy_tick(float _p0) {
|
|
return ((T(*)(offwallweaponstore *, float))(il2cpp::il2cpp_base() +
|
|
0x23FCD8C))(this, _p0);
|
|
}
|
|
};
|
|
|
|
} // namespace gameengine
|