Room Client

This class provides a service that manages client operations related to rooms.

Memebers

  • public static int ID:

    • Represents the room ID.

Methods

  1. 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.

  2. public static void JoinRoom(string roomName)
    • Parameters:

      • roomName: Name of the room to join.

    • Sends a request to join the specified room.

  3. public static void ExitRoom()
    • Sends a request to leave the specified room.

Last updated