Server Room message
This structure is used to send room-related messages from the server to the clients.
Members:
public readonly RoomInfo RoomInfo:A
RoomInfoobject representing information about the room.
public readonly ServerRoomState ServerRoomState:A
ServerRoomStatevalue representing the state of the room on the server.
public readonly bool IsDisconnected:True if the client's connection is disconnected, otherwise false.
Methods:
public ServerRoomMessage(ServerRoomState serverRoomState, RoomInfo roomInfo, bool isDisconnected = false)Initializes the structure and takes the necessary information.
Last updated