Skip to content

Commit

Permalink
Code change: added missing MsgType text labels
Browse files Browse the repository at this point in the history
  • Loading branch information
ohlidalp committed Jun 1, 2024
1 parent 2bdbbb3 commit d344614
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions source/main/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,9 @@ const char* MsgTypeToString(MsgType type)
case MSG_APP_MODCACHE_LOAD_REQUESTED : return "MSG_APP_MODCACHE_LOAD_REQUESTED";
case MSG_APP_MODCACHE_UPDATE_REQUESTED : return "MSG_APP_MODCACHE_UPDATE_REQUESTED";
case MSG_APP_MODCACHE_PURGE_REQUESTED : return "MSG_APP_MODCACHE_PURGE_REQUESTED";
case MSG_APP_LOAD_SCRIPT_REQUESTED : return "MSG_APP_LOAD_SCRIPT_REQUESTED";
case MSG_APP_UNLOAD_SCRIPT_REQUESTED : return "MSG_APP_UNLOAD_SCRIPT_REQUESTED";
case MSG_APP_SCRIPT_THREAD_STATUS : return "MSG_APP_SCRIPT_THREAD_STATUS";

case MSG_NET_CONNECT_REQUESTED : return "MSG_NET_CONNECT_REQUESTED";
case MSG_NET_CONNECT_STARTED : return "MSG_NET_CONNECT_STARTED";
Expand Down Expand Up @@ -538,20 +541,30 @@ const char* MsgTypeToString(MsgType type)
case MSG_SIM_TELEPORT_PLAYER_REQUESTED : return "MSG_SIM_TELEPORT_PLAYER_REQUESTED";
case MSG_SIM_HIDE_NET_ACTOR_REQUESTED : return "MSG_SIM_HIDE_NET_ACTOR_REQUESTED";
case MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED : return "MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED";
case MSG_SIM_SCRIPT_EVENT_TRIGGERED : return "MSG_SIM_SCRIPT_EVENT_TRIGGERED";
case MSG_SIM_SCRIPT_CALLBACK_QUEUED : return "MSG_SIM_SCRIPT_CALLBACK_QUEUED";
case MSG_SIM_ACTOR_LINKING_REQUESTED : return "MSG_SIM_ACTOR_LINKING_REQUESTED";

case MSG_GUI_OPEN_MENU_REQUESTED : return "MSG_GUI_OPEN_MENU_REQUESTED";
case MSG_GUI_CLOSE_MENU_REQUESTED : return "MSG_GUI_CLOSE_MENU_REQUESTED";
case MSG_GUI_OPEN_SELECTOR_REQUESTED : return "MSG_GUI_OPEN_SELECTOR_REQUESTED";
case MSG_GUI_CLOSE_SELECTOR_REQUESTED : return "MSG_GUI_CLOSE_SELECTOR_REQUESTED";
case MSG_GUI_MP_CLIENTS_REFRESH : return "MSG_GUI_MP_CLIENTS_REFRESH";
case MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED : return "MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED";
case MSG_GUI_HIDE_MESSAGE_BOX_REQUESTED : return "MSG_GUI_HIDE_MESSAGE_BOX_REQUESTED";
case MSG_GUI_DOWNLOAD_PROGRESS : return "MSG_GUI_DOWNLOAD_PROGRESS";
case MSG_GUI_DOWNLOAD_FINISHED : return "MSG_GUI_DOWNLOAD_FINISHED";
case MSG_GUI_REFRESH_TUNING_MENU_REQUESTED: return "MSG_GUI_REFRESH_TUNING_MENU_REQUESTED";

case MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED : return "MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED";
case MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED : return "MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED";
case MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED : return "MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED";
case MSG_EDI_LOAD_BUNDLE_REQUESTED : return "MSG_EDI_LOAD_BUNDLE_REQUESTED";
case MSG_EDI_RELOAD_BUNDLE_REQUESTED : return "MSG_EDI_RELOAD_BUNDLE_REQUESTED";
case MSG_EDI_UNLOAD_BUNDLE_REQUESTED : return "MSG_EDI_UNLOAD_BUNDLE_REQUESTED";
case MSG_EDI_CREATE_PROJECT_REQUESTED : return "MSG_EDI_CREATE_PROJECT_REQUESTED";
case MSG_EDI_MODIFY_PROJECT_REQUESTED : return "MSG_EDI_MODIFY_PROJECT_REQUESTED";
case MSG_EDI_DELETE_PROJECT_REQUESTED : return "MSG_EDI_DELETE_PROJECT_REQUESTED";

default: return "";
}
Expand Down

0 comments on commit d344614

Please sign in to comment.