summaryrefslogtreecommitdiff
path: root/include/msg_data.h
blob: debacc79446dd4860429ad595d496c0fbc8fe77d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef POKEDIAMOND_MSG_DATA_H
#define POKEDIAMOND_MSG_DATA_H

struct MsgData
{
    u16 unk0;
    u16 unk2;
    u16 unk4;
    u16 unk6;
    union {
        u16 * raw;
        NARC * narc;
    } data;
};

struct MsgData * NewMsgDataFromNarc(u32 type, u32 narcId, u32 msgId, u32 heapno);
u16 * FUN_0200A914(struct MsgData *, u32);
void DestroyMsgData(struct MsgData *);

#endif //POKEDIAMOND_MSG_DATA_H