public GetRoomInfoResponse(RoomModel room) { Room = room; }
private void PopulateGameRoom(RoomModel roomModel) { }
public RoomJoinResponse(RoomModel room) { Room = room; }
public void Room_SetChatServer(RoomModel room, string chatServerIndex, Action<RoomModel> complete) { manager.client.Collection("Room", (err, collection) => { JsDictionary<string, object> query = new JsDictionary<string, object>(); query["$set"] = new {chatServer = chatServerIndex}; collection.Update(new {_id = MongoDocument.GetID(room.ID)}, query, (err2) => { if (err2 != null) ServerLogger.LogError("Data Error: " + err2, chatServerIndex); room.ChatServer = chatServerIndex; complete(room); }); }); }
private void PopulateRoom(RoomModel roomModel) { myScope.Model.SelectedRoom = roomModel; myScope.Apply(); }
public CreateChatRoomRequest(RoomModel room) { Room = room; }
public JoinChatRoomRequest(RoomModel room) { Room = room; }
public LeaveRoomRequest(RoomModel room) { Room = room; }