Example #1
0
        public void EnterSearchRoom(RoomInfo roomInfo)
        {
            var gameService = GetService <IGameModeService>()?.Cast <RavenhillGameModeService>();

            gameService.StartSession(roomInfo);
        }
Example #2
0
 public static void OnSearchModeChanged(SearchMode prevSearchMode, SearchMode newSearchMode, RoomInfo roomInfo)
 {
     SearchModeChanged?.Invoke(prevSearchMode, newSearchMode, roomInfo);
 }
Example #3
0
 public static void OnRoomLevelChanged(RoomLevel prevLevel, RoomLevel newLevel, RoomInfo roomInfo)
 {
     RoomLevelChanged?.Invoke(prevLevel, newLevel, roomInfo);
 }
Example #4
0
 public static void OnRoomProgressChanged(int prevProgress, int newProgress, RoomInfo roomInfo)
 {
     RoomProgressChanged?.Invoke(prevProgress, newProgress, roomInfo);
 }
Example #5
0
 public static void OnRoomRecordTimeChanged(int prevRecord, int newRecord, RoomInfo roomInfo)
 {
     RoomRecordTimeChanged?.Invoke(prevRecord, newRecord, roomInfo);
 }
Example #6
0
 public static void OnRoomUnlocked(RoomInfo roomInfo)
 {
     RoomUnlocked?.Invoke(roomInfo);
 }
Example #7
0
 public void SetRoomInfo(RoomInfo roomInfo)
 {
     this.roomInfo = roomInfo;
 }
 public void StartSession(RoomInfo roomInfo)
 {
     searchSession.StartSession(roomInfo);
 }