Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JORHostInfo.h
Go to the documentation of this file.
1#ifndef JORHOSTINFO_H
2#define JORHOSTINFO_H
3
4#include <dolphin.h>
5
6#define HOSTINFO_REQ_COMPUTER_NAME 0
7#define HOSTINFO_REQ_USERNAME 1
8#define HOSTINFO_REQ_LOCAL_TIME 2
9
11public:
12 /* 0x0 */ s32 m_result;
13
14 void setResult(s32 result) { m_result = result; }
15 s32 getResult() { return m_result; }
16
18 virtual ~JORHostInfo() {}
19};
20
22public:
24
29
31 void setBufferSize(u32 size) { m_bufferSize = size; }
32 char* getString() { return m_stringBuffer; }
34
35 /* 0x8 */ char* m_stringBuffer;
36 /* 0xC */ u32 m_bufferSize;
37};
38
49
50BOOL JORGetYearDays(int year, int mon);
51
52#endif /* JORHOSTINFO_H */
BOOL JORGetYearDays(int year, int mon)
Definition JORHostInfo.cpp:18
static OSTime buffer
Definition ai.c:202
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition JORHostInfo.h:39
virtual ~JORHostInfo_CalendarTime()
Definition JORHostInfo.h:42
OSCalendarTime * getCalendarTime()
Definition JORHostInfo.h:45
OSCalendarTime * m_calendarTimeBuffer
Definition JORHostInfo.h:47
void setCalendarTimeBuffer(OSCalendarTime *pCalendarTime)
Definition JORHostInfo.h:44
JORHostInfo_CalendarTime()
Definition JORHostInfo.h:41
Definition JORHostInfo.h:21
virtual ~JORHostInfo_String()
Definition JORHostInfo.h:23
char * getString()
Definition JORHostInfo.h:32
u32 getBufferSize()
Definition JORHostInfo.h:33
char * m_stringBuffer
Definition JORHostInfo.h:35
u32 m_bufferSize
Definition JORHostInfo.h:36
JORHostInfo_String()
Definition JORHostInfo.h:25
void setBufferSize(u32 size)
Definition JORHostInfo.h:31
void setStringBuffer(char *buffer)
Definition JORHostInfo.h:30
Definition JORHostInfo.h:10
s32 getResult()
Definition JORHostInfo.h:15
JORHostInfo()
Definition JORHostInfo.h:17
void setResult(s32 result)
Definition JORHostInfo.h:14
virtual ~JORHostInfo()
Definition JORHostInfo.h:18
s32 m_result
Definition JORHostInfo.h:12
Definition OSTime.h:15
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
signed long s32
Definition types.h:6