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.

35 lines
1.2 KiB

#pragma once
#include <il2cpp/il2cpp.h>
class animatorevent {
public:
template <typename T = il2cpp_string *> T &animationstate() {
return *(T *)((std::uintptr_t)this + 0x8);
}
template <typename T = float> T &crossfadetime() {
return *(T *)((std::uintptr_t)this + 0xC);
}
template <typename T = std::int32_t> T &layer() {
return *(T *)((std::uintptr_t)this + 0x10);
}
template <typename T = bool> T &resetnormalizedtime() {
return *(T *)((std::uintptr_t)this + 0x14);
}
template <typename T = void>
T activate(std::uintptr_t _animator, std::uintptr_t _animation) {
return ((T(*)(animatorevent *, std::uintptr_t, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x397EF68))(this, _animator, _animation);
}
template <typename T = void> T activate_1(std::uintptr_t _animator) {
return ((T(*)(animatorevent *, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x397F088))(this, _animator);
}
template <typename T = void> T activate_2(std::uintptr_t _animation) {
return ((T(*)(animatorevent *, std::uintptr_t))(
il2cpp::il2cpp_base() + 0x397F220))(this, _animation);
}
};