# Server Room message

This structure is used to send room-related messages from the server to the clients.

### **Members:**

* `public readonly RoomInfo RoomInfo`:
  * A `RoomInfo` object representing information about the room.
* `public readonly ServerRoomState ServerRoomState`:
  * A `ServerRoomState` value representing the state of the room on the server.
* `public readonly bool IsDisconnected`:
  * True if the client's connection is disconnected, otherwise false.

### **Methods:**

1. ```csharp
   public ServerRoomMessage(ServerRoomState serverRoomState,
   RoomInfo roomInfo,
   bool isDisconnected = false)
   ```
   * Initializes the structure and takes the necessary information.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://reflective-roommanager.gitbook.io/docs/user-manual/network/room/structs/server-room-message.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
