summaryrefslogtreecommitdiff
path: root/include/JSystem/JHostIO/JOREvent.h
blob: c507d4812c25ff78aab6e16ff201d80d84f7c0e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef JOREVENT_H
#define JOREVENT_H

#include "dolphin/types.h"

class JORReflexible;

struct JOREvent {};

struct JORPropertyEvent : JOREvent {
    enum EKind {
        EKind_HasListener = (1 << 30),
        EKind_ValueID = (1 << 29),
        EKind_FloatValue = (1 << 9),
    };

    /* 0x00 */ u8 field_0x0[0x4 - 0x0];
    /* 0x04 */ u32 type;
    /* 0x08 */ u32 kind;
    /* 0x0C */ char* id;                   // id?
    /* 0x10 */ JORReflexible* field_0x10;  // ?
    /* 0x14 */ u32 field_0x14;
    union {
        u32 U32;
        u16 U16[2];
    }
    /* 0x18 */ field_0x18;
};

struct JORGenEvent : JOREvent {};

struct JORNodeEvent : JOREvent {
    /* 0x00 */ u32 field_0x0;
};

#endif /* JOREVENT_H */