MCPcopy Create free account
hub / github.com/doldecomp/mkdd / waitEntry

Method waitEntry

src/Osako/NetGateApp.cpp:115–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void NetGateApp::waitEntry() {
116 switch (mpEntry->calc()) {
117 case 1:
118 NetGameMgr::ptr()->sleep();
119 ResMgr::loadCourseData(gLANPlayInfo.getCrsID(), gLANPlayInfo.getCrsOrder());
120 mState = 6;
121 break;
122 case 2:
123 mState = 4;
124 mMenuType = 2;
125 mpTitle->start();
126 break;
127 }
128}
129
130void NetGateApp::calc() {
131 switch(mState) {

Callers

nothing calls this directly

Calls 3

loadCourseDataFunction · 0.85
calcMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected