$$QUERY Rooms b:A player is in room [r:Room] qRoomHasPlayer A player is in the room Determines if a player is in the specified room Parameters: Room: the room to check $$END */
| 6401 | $$END |
| 6402 | */ |
| 6403 | bool qRoomHasPlayer(int roomnum) { |
| 6404 | msafe_struct mstruct; |
| 6405 | |
| 6406 | mstruct.roomnum = roomnum; |
| 6407 | MSafe_GetValue(MSAFE_ROOM_HAS_PLAYER, &mstruct); |
| 6408 | |
| 6409 | return mstruct.state; |
| 6410 | } |
| 6411 | |
| 6412 | /* |
| 6413 | $$QUERY |
no outgoing calls
no test coverage detected