Files
oot-vc/include/class.h
T
2021-01-06 20:17:52 +00:00

24 lines
466 B
C

#ifndef _XL_CLASS_H
#define _XL_CLASS_H
#include "types.h"
#include "xlList.h"
typedef s32 event_t;
typedef s32 (*event_cb_t)(void* obj, event_t event, void* arg);
typedef struct {
/* 0x0000 */ const char* name;
/* 0x0004 */ size_t size;
/* 0x0008 */ u32 unk_0x08;
/* 0x000C */ event_cb_t callback;
} class_t; // size = 0x10
typedef struct {
/* 0x000 */ list_type_t* ref_list;
/* 0x004 */ s32 unk_4;
} class_ref_t; // size = 0x8
#endif