summaryrefslogtreecommitdiff
path: root/include/msg_data.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-06-19 10:06:32 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-06-19 10:06:32 -0400
commitd57baf0c2231303622ade07a3ea1df2d795fd73c (patch)
tree6b3c7955fd307833da1c70d3479281736aeaf3dd /include/msg_data.h
parentcc273a871dcecc74163cd3b8cd8d01ff34dc26f2 (diff)
nutdata.c
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