public void EnterSearchRoom(RoomInfo roomInfo) { var gameService = GetService <IGameModeService>()?.Cast <RavenhillGameModeService>(); gameService.StartSession(roomInfo); }
public static void OnSearchModeChanged(SearchMode prevSearchMode, SearchMode newSearchMode, RoomInfo roomInfo) { SearchModeChanged?.Invoke(prevSearchMode, newSearchMode, roomInfo); }
public static void OnRoomLevelChanged(RoomLevel prevLevel, RoomLevel newLevel, RoomInfo roomInfo) { RoomLevelChanged?.Invoke(prevLevel, newLevel, roomInfo); }
public static void OnRoomProgressChanged(int prevProgress, int newProgress, RoomInfo roomInfo) { RoomProgressChanged?.Invoke(prevProgress, newProgress, roomInfo); }
public static void OnRoomRecordTimeChanged(int prevRecord, int newRecord, RoomInfo roomInfo) { RoomRecordTimeChanged?.Invoke(prevRecord, newRecord, roomInfo); }
public static void OnRoomUnlocked(RoomInfo roomInfo) { RoomUnlocked?.Invoke(roomInfo); }
public void SetRoomInfo(RoomInfo roomInfo) { this.roomInfo = roomInfo; }
public void StartSession(RoomInfo roomInfo) { searchSession.StartSession(roomInfo); }