Room Message Utility
This class provides helper methods for sending room messages.
Methods
public static void SenRoomUpdateMessage(RoomInfo roomInfo, RoomMessageState state)Paramters:
roomInfo: Updated room information.state: The status of the room message.
Creates
RoomListChangeMessageand sends this message to all connections.
public static void SendRoomMessage(NetworkConnection conn, ClientRoomState state)Paramters:
conn: The network connection to send the message to.state: The client's room status.
Creates
ClientRoomMessageand sends this message to the specified network connection.
Last updated