Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JORServer Class Reference

#include <JORServer.h>

+ Inheritance diagram for JORServer:
+ Collaboration diagram for JORServer:

Public Types

enum  ECommand {
  ECommand_GetRootObj = 1 , ECommand_GenObjInfo = 3 , ECommand_NodeEvent = 6 , ECommand_PropertyEvent = 7 ,
  ECommand_FIO = 9 , ECommand_ReadResultS32 = 10 , ECommand_ReadOrEvent = 11 , ECommand_DIR = 13 ,
  ECommand_HostInfo = 14 , ECommand_ReadResultU32 = 15
}
 

Public Member Functions

 JORServer ()
 
void receive (const char *, s32)
 
JORMContextattachMCTX (u32)
 
void releaseMCTX (JORMContext *)
 
void appendEventCallbackListNode (JOREventCallbackListNode *p)
 
void removeEventCallbackListNode (JOREventCallbackListNode *p)
 
void fio_openFile_ (JSUMemoryInputStream &)
 
void fio_closeFile_ (JSUMemoryInputStream &)
 
void fio_readData_ (JSUMemoryInputStream &)
 
void fio_writeData_ (JSUMemoryInputStream &)
 
void fio_dispatchMessage_ (JSUMemoryInputStream &)
 
void dir_findFirstFile_ (JSUMemoryInputStream &, JORDir *)
 
void dir_findNextFile_ (JSUMemoryInputStream &, JORDir *)
 
void dir_browseForFolder_ (JSUMemoryInputStream &, JORDir *)
 
void readResultS32_ (JSUMemoryInputStream &)
 
void readOrEvent_ (JSUMemoryInputStream &)
 
void dir_dispatchMessage_ (JSUMemoryInputStream &)
 
void hostinfo_dispatchMessage_ (JSUMemoryInputStream &)
 
void hostinfo_recvString_ (JSUMemoryInputStream &, JORHostInfo_String *)
 
void hostinfo_localTime_ (JSUMemoryInputStream &, JORHostInfo_CalendarTime *)
 
void readResultU32_ (JSUMemoryInputStream &)
 
void sendReset ()
 
void setRootNode (const char *, JORReflexible *, u32, u32)
 
void doneEvent ()
 
- Public Member Functions inherited from JHITag< JHICmnMem >
 JHITag (u32 tag)
 
const voidsend (const void *param_0, s32 param_1)
 
virtual ~JHITag ()
 

Static Public Member Functions

static JORServercreate ()
 
static void defSetVal (void *, u32, s32)
 
static void defSetBitVal (void *, u32, u16, u16)
 
static JORServergetInstance ()
 

Public Attributes

JORMContext m_context
 
JORReflexiblemp_rootObj
 
char m_rootName [64]
 
u32 field_0x10064
 
u32 field_0x10068
 
bool m_event
 
bool m_eventDone
 
u32 m_eventNum
 
char m_eventName [0x1000]
 
voidm_eventFunc
 
bool m_isEventCallbackListEnabled
 
JGadget::TLinkList< JOREventCallbackListNode, -4 > m_eventCallbackList
 
- Public Attributes inherited from JHITag< JHICmnMem >
u32 m_tag
 
JHICmnMemmp_data
 

Static Public Attributes

static JORServerinstance
 

Member Enumeration Documentation

◆ ECommand

Enumerator
ECommand_GetRootObj 
ECommand_GenObjInfo 
ECommand_NodeEvent 
ECommand_PropertyEvent 
ECommand_FIO 
ECommand_ReadResultS32 
ECommand_ReadOrEvent 
ECommand_DIR 
ECommand_HostInfo 
ECommand_ReadResultU32 

Constructor & Destructor Documentation

◆ JORServer()

JORServer::JORServer ( )
inline

Member Function Documentation

◆ appendEventCallbackListNode()

void JORServer::appendEventCallbackListNode ( JOREventCallbackListNode p)
inline

◆ attachMCTX()

JORMContext * JORServer::attachMCTX ( u32  msgID)

◆ create()

JORServer * JORServer::create ( )
static

◆ defSetBitVal()

void JORServer::defSetBitVal ( void ptr,
u32  kind,
u16  param_2,
u16  param_3 
)
static

◆ defSetVal()

void JORServer::defSetVal ( void ptr,
u32  kind,
s32  val 
)
static

◆ dir_browseForFolder_()

void JORServer::dir_browseForFolder_ ( JSUMemoryInputStream stream,
JORDir directory 
)

◆ dir_dispatchMessage_()

void JORServer::dir_dispatchMessage_ ( JSUMemoryInputStream stream)

◆ dir_findFirstFile_()

void JORServer::dir_findFirstFile_ ( JSUMemoryInputStream stream,
JORDir directory 
)

◆ dir_findNextFile_()

void JORServer::dir_findNextFile_ ( JSUMemoryInputStream stream,
JORDir directory 
)

◆ doneEvent()

void JORServer::doneEvent ( )

◆ fio_closeFile_()

void JORServer::fio_closeFile_ ( JSUMemoryInputStream stream)

◆ fio_dispatchMessage_()

void JORServer::fio_dispatchMessage_ ( JSUMemoryInputStream stream)

◆ fio_openFile_()

void JORServer::fio_openFile_ ( JSUMemoryInputStream stream)

◆ fio_readData_()

void JORServer::fio_readData_ ( JSUMemoryInputStream stream)

◆ fio_writeData_()

void JORServer::fio_writeData_ ( JSUMemoryInputStream stream)

◆ getInstance()

static JORServer * JORServer::getInstance ( )
inlinestatic

◆ hostinfo_dispatchMessage_()

void JORServer::hostinfo_dispatchMessage_ ( JSUMemoryInputStream stream)

◆ hostinfo_localTime_()

void JORServer::hostinfo_localTime_ ( JSUMemoryInputStream stream,
JORHostInfo_CalendarTime pCalendarTime 
)

◆ hostinfo_recvString_()

void JORServer::hostinfo_recvString_ ( JSUMemoryInputStream stream,
JORHostInfo_String pString 
)

◆ readOrEvent_()

void JORServer::readOrEvent_ ( JSUMemoryInputStream stream)

◆ readResultS32_()

void JORServer::readResultS32_ ( JSUMemoryInputStream stream)

◆ readResultU32_()

void JORServer::readResultU32_ ( JSUMemoryInputStream stream)

◆ receive()

void JORServer::receive ( const char pBuffer,
s32  length 
)
virtual

Reimplemented from JHITag< JHICmnMem >.

◆ releaseMCTX()

void JORServer::releaseMCTX ( JORMContext mctx)

◆ removeEventCallbackListNode()

void JORServer::removeEventCallbackListNode ( JOREventCallbackListNode p)
inline

◆ sendReset()

void JORServer::sendReset ( )

◆ setRootNode()

void JORServer::setRootNode ( const char name,
JORReflexible node,
u32  param_2,
u32  param_3 
)

Member Data Documentation

◆ field_0x10064

u32 JORServer::field_0x10064

◆ field_0x10068

u32 JORServer::field_0x10068

◆ instance

JORServer * JORServer::instance
static

◆ m_context

JORMContext JORServer::m_context

◆ m_event

bool JORServer::m_event

◆ m_eventCallbackList

JGadget::TLinkList<JOREventCallbackListNode, -4> JORServer::m_eventCallbackList

◆ m_eventDone

bool JORServer::m_eventDone

◆ m_eventFunc

void* JORServer::m_eventFunc

◆ m_eventName

char JORServer::m_eventName[0x1000]

◆ m_eventNum

u32 JORServer::m_eventNum

◆ m_isEventCallbackListEnabled

bool JORServer::m_isEventCallbackListEnabled

◆ m_rootName

char JORServer::m_rootName[64]

◆ mp_rootObj

JORReflexible* JORServer::mp_rootObj

The documentation for this class was generated from the following files: