2024-09-08 21:04:31 -04:00
|
|
|
#ifndef FRAMESCRIPT_OBJECT_H
|
|
|
|
|
#define FRAMESCRIPT_OBJECT_H
|
|
|
|
|
|
|
|
|
|
#include "system/types.h"
|
|
|
|
|
|
|
|
|
|
DECLARE_STRUCT(FrameScript_Object);
|
2024-09-30 17:19:28 -04:00
|
|
|
DECLARE_STRUCT(FrameScript_Object__ScriptIx);
|
2024-09-08 21:04:31 -04:00
|
|
|
|
|
|
|
|
struct FrameScript_Object {
|
|
|
|
|
void** v_vtable;
|
|
|
|
|
int32_t lua_registered;
|
|
|
|
|
int32_t lua_objectRef;
|
|
|
|
|
int32_t m_onEvent;
|
|
|
|
|
};
|
|
|
|
|
|
2024-09-30 17:19:28 -04:00
|
|
|
// struct FrameScript_Object::ScriptIx
|
|
|
|
|
struct FrameScript_Object__ScriptIx {
|
|
|
|
|
int32_t luaRef;
|
|
|
|
|
int8_t* unk;
|
|
|
|
|
};
|
|
|
|
|
|
2024-11-01 03:54:09 -04:00
|
|
|
// struct FrameScript_Object::ScriptData
|
|
|
|
|
struct FrameScript_Object__ScriptData {
|
|
|
|
|
char* wrapper;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// struct FrameScript_Object::ScriptFunction {
|
|
|
|
|
struct FrameScript_Object__ScriptFunction {
|
|
|
|
|
int32_t luaRef;
|
|
|
|
|
};
|
|
|
|
|
|
2024-09-08 21:04:31 -04:00
|
|
|
#endif
|