Beispiel #1
0
        public bool OpCreateRoomWithProperties(string roomName, RoomOptions options, TypedLobby lobby)
        {
            PlayerProperties.CreatePlayerHashtable();
            options.CustomRoomProperties = RoomProperties.GetRoomHashtable();

            return(OpCreateRoom(roomName, options, lobby));
        }
    /// <summary>
    /// Gets value from room.
    /// </summary>
    /// <returns></returns>
    public T Get()
    {
        var prop = RoomProperties.GetRoomHashtable();

        return((T)prop[id]);
    }