summaryrefslogtreecommitdiff
path: root/arm9/lib/include/OS_ownerInfo.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-05-27 21:32:48 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-05-27 21:32:48 -0400
commitd43d43f06bd17ac320247bc4e8d58cde2a9d9f70 (patch)
treeefacf95ec792b7c12d13eee670a59b3b4e5535cd /arm9/lib/include/OS_ownerInfo.h
parent35c9f9fc2e2ff3387ff89b956a88e05000d4768a (diff)
parentd42cc73852cdb0cc0684bb87aaa6975d06cae02f (diff)
Merge remote-tracking branch 'origin' into libvct
Diffstat (limited to 'arm9/lib/include/OS_ownerInfo.h')
-rw-r--r--arm9/lib/include/OS_ownerInfo.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/arm9/lib/include/OS_ownerInfo.h b/arm9/lib/include/OS_ownerInfo.h
new file mode 100644
index 00000000..13bae06e
--- /dev/null
+++ b/arm9/lib/include/OS_ownerInfo.h
@@ -0,0 +1,28 @@
+#ifndef POKEDIAMOND_OS_OWNERINFO_H
+#define POKEDIAMOND_OS_OWNERINFO_H
+
+#include "consts.h"
+#include "userInfo.h"
+
+typedef struct OSBirthday
+{
+ u8 month;
+ u8 day;
+} OSBirthday;
+
+typedef struct OSOwnerInfo
+{
+ u8 language;
+ u8 favoriteColour;
+ OSBirthday birthday;
+ u16 nickName[10]; //either 10 or 8
+ u16 nickNameLength;
+ u16 comment[26];
+ u16 commentLength;
+} OSOwnerInfo;
+
+void OS_GetMacAddress(u8 *macAddress);
+void OS_GetOwnerInfo(OSOwnerInfo* info);
+s64 OS_GetOwnerRtcOffset(void);
+
+#endif //POKEDIAMOND_OS_OWNERINFO_H