RigsofRods  2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MsgType.h
Go to the documentation of this file.
1 
2  // =================================================== //
3  // THIS IS NOT A C++ HEADER! Only a dummy for Doxygen. //
4  // =================================================== //
5 
14 namespace Script2Game {
15 
19 enum MsgType
20 {
22  // Application
33  // Networking
50  // Simulation
71  // GUI
82  // Editing
93 };
94 
95 } // namespace Script2Game
96 
98 /// @} //addtogroup ScriptSideAPIs
Script2Game::MSG_INVALID
@ MSG_INVALID
Definition: MsgType.h:21
Script2Game::MSG_GUI_OPEN_MENU_REQUESTED
@ MSG_GUI_OPEN_MENU_REQUESTED
Definition: MsgType.h:72
Script2Game::MSG_NET_REFRESH_SERVERLIST_SUCCESS
@ MSG_NET_REFRESH_SERVERLIST_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:43
Script2Game::MSG_EDI_RELOAD_BUNDLE_REQUESTED
@ MSG_EDI_RELOAD_BUNDLE_REQUESTED
This deletes all actors using that bundle (= ZIP or directory)! Params: 'cache_entry' (CacheEntryClas...
Definition: MsgType.h:87
Script2Game::MSG_APP_MODCACHE_LOAD_REQUESTED
@ MSG_APP_MODCACHE_LOAD_REQUESTED
Internal for game startup, DO NOT PUSH MANUALLY.
Definition: MsgType.h:27
Script2Game::MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED
@ MSG_EDI_LEAVE_TERRN_EDITOR_REQUESTED
No params.
Definition: MsgType.h:85
Script2Game::MSG_APP_SHUTDOWN_REQUESTED
@ MSG_APP_SHUTDOWN_REQUESTED
Immediate application shutdown. No params.
Definition: MsgType.h:23
Script2Game::MSG_SIM_MUTE_NET_ACTOR_REQUESTED
@ MSG_SIM_MUTE_NET_ACTOR_REQUESTED
Request muting of networked actor; used internally by MP userlist UI. Params: 'instance_id' (int)
Definition: MsgType.h:63
Script2Game::MSG_SIM_LOAD_SAVEGAME_REQUESTED
@ MSG_SIM_LOAD_SAVEGAME_REQUESTED
Request loading saved game. Param 'filename' (string)
Definition: MsgType.h:54
Script2Game::MSG_GUI_CLOSE_MENU_REQUESTED
@ MSG_GUI_CLOSE_MENU_REQUESTED
Definition: MsgType.h:73
Script2Game::MSG_APP_MODCACHE_UPDATE_REQUESTED
@ MSG_APP_MODCACHE_UPDATE_REQUESTED
Rescan installed mods and update cache. No params.
Definition: MsgType.h:28
Script2Game::MSG_NET_DISCONNECT_REQUESTED
@ MSG_NET_DISCONNECT_REQUESTED
Request disconnect from multiplayer. No params.
Definition: MsgType.h:40
Script2Game::MSG_GUI_DOWNLOAD_PROGRESS
@ MSG_GUI_DOWNLOAD_PROGRESS
Background task notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:78
Script2Game::MSG_NET_FETCH_AI_PRESETS_FAILURE
@ MSG_NET_FETCH_AI_PRESETS_FAILURE
Background task notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:49
Script2Game::MSG_SIM_SCRIPT_EVENT_TRIGGERED
@ MSG_SIM_SCRIPT_EVENT_TRIGGERED
Internal notification about triggering a script event, DO NOT PUSH MANUALLY.
Definition: MsgType.h:65
Script2Game::MSG_APP_LOAD_SCRIPT_REQUESTED
@ MSG_APP_LOAD_SCRIPT_REQUESTED
Request loading a script from resource(file) or memory; Params 'filename' (string)/'buffer'(string - ...
Definition: MsgType.h:30
Script2Game::MSG_GUI_SHOW_CHATBOX_REQUESTED
@ MSG_GUI_SHOW_CHATBOX_REQUESTED
Param: message or server command to pre-fill in the chatbox (deleting whatever was there previously);...
Definition: MsgType.h:81
Script2Game::MSG_SIM_DELETE_ACTOR_REQUESTED
@ MSG_SIM_DELETE_ACTOR_REQUESTED
Request actor removal. Params: 'instance_id' (int)
Definition: MsgType.h:58
Script2Game::MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
@ MSG_GUI_SHOW_MESSAGE_BOX_REQUESTED
Use game.showMessageBox() instead.
Definition: MsgType.h:77
Script2Game::MSG_NET_SERVER_KICK
@ MSG_NET_SERVER_KICK
Networking notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:39
Script2Game::MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED
@ MSG_EDI_ENTER_TERRN_EDITOR_REQUESTED
No params.
Definition: MsgType.h:84
Script2Game
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition: AngelImGui_enums.h:7
Script2Game::MSG_EDI_UNLOAD_BUNDLE_REQUESTED
@ MSG_EDI_UNLOAD_BUNDLE_REQUESTED
This deletes all actors using that bundle (= ZIP or directory)! Params: 'cache_entry' (CacheEntryClas...
Definition: MsgType.h:88
Script2Game::MSG_NET_REFRESH_REPOLIST_FAILURE
@ MSG_NET_REFRESH_REPOLIST_FAILURE
Background task notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:47
Script2Game::MSG_NET_REFRESH_REPOLIST_SUCCESS
@ MSG_NET_REFRESH_REPOLIST_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:45
Script2Game::MSG_EDI_ADD_FREEBEAMGFX_REQUESTED
@ MSG_EDI_ADD_FREEBEAMGFX_REQUESTED
Adds visuals for a freebeam (pair of HALFBEAM freeforces); Params: 'id' (int, use game....
Definition: MsgType.h:90
Script2Game::MSG_SIM_UNMUTE_NET_ACTOR_REQUESTED
@ MSG_SIM_UNMUTE_NET_ACTOR_REQUESTED
Request unmuting of networked actor; used internally by MP userlist UI. Params: 'instance_id' (int)
Definition: MsgType.h:64
Script2Game::MSG_SIM_SEAT_PLAYER_REQUESTED
@ MSG_SIM_SEAT_PLAYER_REQUESTED
Put player character in a vehicle. Params: 'instance_id' (int), use -1 to get out of vehicle.
Definition: MsgType.h:59
Script2Game::MSG_EDI_LOAD_BUNDLE_REQUESTED
@ MSG_EDI_LOAD_BUNDLE_REQUESTED
Load a resource bundle (= ZIP or directory) for a given cache entry. Params: 'cache_entry' (CacheEntr...
Definition: MsgType.h:86
Script2Game::MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED
@ MSG_SIM_UNHIDE_NET_ACTOR_REQUESTED
Request revealing of hidden networked actor; used internally by top menubar. Params: 'instance_id' (i...
Definition: MsgType.h:62
Script2Game::MSG_GUI_MP_CLIENTS_REFRESH
@ MSG_GUI_MP_CLIENTS_REFRESH
No params.
Definition: MsgType.h:76
Script2Game::MSG_SIM_SCRIPT_CALLBACK_QUEUED
@ MSG_SIM_SCRIPT_CALLBACK_QUEUED
Internal notification about triggering a script event, DO NOT PUSH MANUALLY.
Definition: MsgType.h:66
Script2Game::MSG_GUI_DOWNLOAD_FINISHED
@ MSG_GUI_DOWNLOAD_FINISHED
Background task notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:79
Script2Game::MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED
@ MSG_EDI_MODIFY_GROUNDMODEL_REQUESTED
Used by Friction UI, DO NOT PUSH MANUALLY.
Definition: MsgType.h:83
Script2Game::MSG_EDI_DELETE_FREEBEAMGFX_REQUESTED
@ MSG_EDI_DELETE_FREEBEAMGFX_REQUESTED
Removes visuals of a freebeam (pair of HALFBEAM freeforces).
Definition: MsgType.h:92
Script2Game::MSG_SIM_REMOVE_FREEFORCE_REQUESTED
@ MSG_SIM_REMOVE_FREEFORCE_REQUESTED
Request removing a freeforce; param: RoR::FreeForceID_t
Definition: MsgType.h:70
Script2Game::MSG_NET_CONNECT_PROGRESS
@ MSG_NET_CONNECT_PROGRESS
Networking notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:36
Script2Game::MSG_NET_OPEN_RESOURCE_SUCCESS
@ MSG_NET_OPEN_RESOURCE_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:46
Script2Game::MSG_APP_REINIT_INPUT_REQUESTED
@ MSG_APP_REINIT_INPUT_REQUESTED
Request restarting the entire input subsystem (mouse, keyboard, controllers) including reloading inpu...
Definition: MsgType.h:32
Script2Game::MSG_EDI_MODIFY_FREEBEAMGFX_REQUESTED
@ MSG_EDI_MODIFY_FREEBEAMGFX_REQUESTED
Updates visuals for a freebeam (pair of HALFBEAM freeforces); Params: 'id' (int, use game....
Definition: MsgType.h:91
Script2Game::MSG_NET_USER_DISCONNECT
@ MSG_NET_USER_DISCONNECT
Networking notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:41
Script2Game::MSG_NET_CONNECT_FAILURE
@ MSG_NET_CONNECT_FAILURE
Networking notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:38
Script2Game::MSG_GUI_OPEN_SELECTOR_REQUESTED
@ MSG_GUI_OPEN_SELECTOR_REQUESTED
Use game.showChooser() instead.
Definition: MsgType.h:74
Script2Game::MSG_SIM_ADD_FREEFORCE_REQUESTED
@ MSG_SIM_ADD_FREEFORCE_REQUESTED
Request adding a freeforce (affects single node); Required params: 'id' (int) - use game....
Definition: MsgType.h:68
Script2Game::MSG_NET_CONNECT_SUCCESS
@ MSG_NET_CONNECT_SUCCESS
Networking notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:37
Script2Game::MSG_SIM_UNLOAD_TERRN_REQUESTED
@ MSG_SIM_UNLOAD_TERRN_REQUESTED
Request returning to main menu. No params.
Definition: MsgType.h:55
Script2Game::MSG_SIM_ACTOR_LINKING_REQUESTED
@ MSG_SIM_ACTOR_LINKING_REQUESTED
Request (un)-hooking/tying/roping 2 actors; Params derive from RoR::ActorLinkingRequest.
Definition: MsgType.h:67
Script2Game::MSG_SIM_UNPAUSE_REQUESTED
@ MSG_SIM_UNPAUSE_REQUESTED
Unpause game. No params.
Definition: MsgType.h:52
Script2Game::MSG_SIM_MODIFY_FREEFORCE_REQUESTED
@ MSG_SIM_MODIFY_FREEFORCE_REQUESTED
Request modifying a freeforce (affects single node); Required params: 'id' (int) - use game....
Definition: MsgType.h:69
Script2Game::MSG_NET_REFRESH_SERVERLIST_FAILURE
@ MSG_NET_REFRESH_SERVERLIST_FAILURE
Background task notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:44
Script2Game::MSG_APP_SCREENSHOT_REQUESTED
@ MSG_APP_SCREENSHOT_REQUESTED
Capture screenshot. No params.
Definition: MsgType.h:24
Script2Game::MSG_EDI_CREATE_PROJECT_REQUESTED
@ MSG_EDI_CREATE_PROJECT_REQUESTED
Creates a subdir under 'projects/', pre-populates it and adds to modcache. Params: 'name' (string),...
Definition: MsgType.h:89
Script2Game::MSG_APP_DISPLAY_WINDOWED_REQUESTED
@ MSG_APP_DISPLAY_WINDOWED_REQUESTED
Switch to windowed display. No params.
Definition: MsgType.h:26
Script2Game::MSG_SIM_HIDE_NET_ACTOR_REQUESTED
@ MSG_SIM_HIDE_NET_ACTOR_REQUESTED
Request hiding of networked actor; used internally by top menubar. Params: 'instance_id' (int)
Definition: MsgType.h:61
Script2Game::MSG_NET_CONNECT_REQUESTED
@ MSG_NET_CONNECT_REQUESTED
Request connection to multiplayer server specified by cvars 'mp_server_host, mp_server_port,...
Definition: MsgType.h:34
Script2Game::MSG_SIM_LOAD_TERRN_REQUESTED
@ MSG_SIM_LOAD_TERRN_REQUESTED
Request loading terrain. Param 'filename' (string)
Definition: MsgType.h:53
Script2Game::MSG_APP_MODCACHE_PURGE_REQUESTED
@ MSG_APP_MODCACHE_PURGE_REQUESTED
Request cleanup and full rebuild of mod cache.
Definition: MsgType.h:29
Script2Game::MSG_SIM_PAUSE_REQUESTED
@ MSG_SIM_PAUSE_REQUESTED
Pause game. No params.
Definition: MsgType.h:51
Script2Game::MSG_APP_DISPLAY_FULLSCREEN_REQUESTED
@ MSG_APP_DISPLAY_FULLSCREEN_REQUESTED
Switch to fullscreen. No params.
Definition: MsgType.h:25
Script2Game::MSG_NET_FETCH_AI_PRESETS_SUCCESS
@ MSG_NET_FETCH_AI_PRESETS_SUCCESS
Background task notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:48
Script2Game::MSG_NET_CONNECT_STARTED
@ MSG_NET_CONNECT_STARTED
Networking notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:35
Script2Game::MSG_APP_UNLOAD_SCRIPT_REQUESTED
@ MSG_APP_UNLOAD_SCRIPT_REQUESTED
Request unloading a script; Param 'id' (int - the ID of the script unit, see 'Script Monitor' tab in ...
Definition: MsgType.h:31
Script2Game::MSG_GUI_REFRESH_TUNING_MENU_REQUESTED
@ MSG_GUI_REFRESH_TUNING_MENU_REQUESTED
Used internally by Top Menubar UI, DO NOT PUSH MANUALLY.
Definition: MsgType.h:80
Script2Game::MSG_GUI_CLOSE_SELECTOR_REQUESTED
@ MSG_GUI_CLOSE_SELECTOR_REQUESTED
No params.
Definition: MsgType.h:75
Script2Game::MsgType
MsgType
Binding of RoR::MsgType; Global gameplay message loop; used with `game.pushMessage()`.
Definition: MsgType.h:19
Script2Game::MSG_SIM_SPAWN_ACTOR_REQUESTED
@ MSG_SIM_SPAWN_ACTOR_REQUESTED
Request spawning an actor. Params: 'filename' (string), 'position' (vector3), 'rotation' (quaternion)...
Definition: MsgType.h:56
Script2Game::MSG_SIM_TELEPORT_PLAYER_REQUESTED
@ MSG_SIM_TELEPORT_PLAYER_REQUESTED
Teleport player character anywhere on terrain. Param 'position' (vector3)
Definition: MsgType.h:60
Script2Game::MSG_NET_RECV_ERROR
@ MSG_NET_RECV_ERROR
Networking notification, DO NOT PUSH MANUALLY.
Definition: MsgType.h:42
Script2Game::MSG_SIM_MODIFY_ACTOR_REQUESTED
@ MSG_SIM_MODIFY_ACTOR_REQUESTED
Request change of actor. Params: 'type' (enum ActorModifyRequestType)
Definition: MsgType.h:57