MCPcopy Create free account
hub / github.com/crossuo/crossuo / ProcessSmoothAction

Method ProcessSmoothAction

src/ScreenStages/ServerScreen.cpp:46–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void CServerScreen::ProcessSmoothAction(uint8_t action)
47{
48 if (action == 0xFF)
49 {
50 action = SmoothScreenAction;
51 }
52
53 if (action == ID_SMOOTH_SS_SELECT_SERVER)
54 {
55 g_Game.ServerSelection(SelectionServerTempValue);
56 }
57 else if (action == ID_SMOOTH_SS_QUIT)
58 {
59 g_GameWindow.Destroy();
60 }
61 else if (action == ID_SMOOTH_SS_GO_SCREEN_MAIN)
62 {
63 g_Game.Disconnect();
64 g_Game.InitScreen(GS_MAIN);
65 }
66}

Callers

nothing calls this directly

Calls 4

ServerSelectionMethod · 0.80
DestroyMethod · 0.80
InitScreenMethod · 0.80
DisconnectMethod · 0.45

Tested by

no test coverage detected