gmdb_mp_in_room
Checks whether the player has joined a multiplayer room. Verify this description against the SDK before publishing.
Syntax
gmdb_mp_in_room(Syntax: gmdb_mp_in_room();
No declared parameters. Verify whether the function depends on prior SDK initialisation.);Arguments
Syntax: gmdb_mp_in_room(); No declared parameters. Verify whether the function depends on prior SDK initialisation.
Return value / result
Boolean room membership state.
GameMaker example
// Example from the existing function catalogue; verify before publishing.
if (gmdb_mp_in_room()) {
show_debug_message("In a room");
}Details
REVIEW CHECKLIST
- Confirm purpose and whether intended for public use
- Confirm argument types and valid values
- Confirm return values and asynchronous behaviour
- Test the example in GameMaker
- Check any required Create / Step / Async event setup
SDK source: SDK_TANKS_HTML/scripts/gmdb_mp_api/gmdb_mp_api.gml
- Confirm purpose and whether intended for public use
- Confirm argument types and valid values
- Confirm return values and asynchronous behaviour
- Test the example in GameMaker
- Check any required Create / Step / Async event setup
SDK source: SDK_TANKS_HTML/scripts/gmdb_mp_api/gmdb_mp_api.gml
SDK source
SDK_TANKS_HTML/scripts/gmdb_mp_api/gmdb_mp_api.gml