Room Client
This class provides a service that manages client operations related to rooms.
Memebers
public static int ID
:Represents the room ID.
Methods
public static void CreateRoom(RoomInfo roomInfo)
Parameters:
roomInfo
: A RoomInfo object that represents information about the room to be created. Sends a request to create a room.
public static void JoinRoom(string roomName)
Parameters:
roomName
: Name of the room to join.
Sends a request to join the specified room.
public static void ExitRoom()
Sends a request to leave the specified room.
Last updated