summaryrefslogtreecommitdiff
path: root/include/msg_data.h
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-06-19 22:27:30 +0300
committerGitHub <noreply@github.com>2020-06-19 22:27:30 +0300
commit53ac396de4098e38a6916e0cc86cbd278a960c4c (patch)
treedd12868357a74ca72794fc23a1dc90beaba4cf5e /include/msg_data.h
parent41317a2b7625919ebba39c06b5aaf9e3b0800b1d (diff)
parent12c17948602bf14535c91c530f214b99863e038e (diff)
Merge branch 'master' into master
Diffstat (limited to 'include/msg_data.h')
-rw-r--r--include/msg_data.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/msg_data.h b/include/msg_data.h
new file mode 100644
index 00000000..debacc79
--- /dev/null
+++ b/include/msg_data.h
@@ -0,0 +1,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