internal static IPreviewBeatmapLevel UnwrapPlaylistSong(IPreviewBeatmapLevel previewBeatmapLevel) { DidSelectLevelEvent.Invoke(previewBeatmapLevel); if (previewBeatmapLevel is IPlaylistSong) { return(((IPlaylistSong)previewBeatmapLevel).PreviewBeatmapLevel); } else { return(previewBeatmapLevel); } }
internal static void Prefix(int row, bool ____showLevelPackHeader) { if (____showLevelPackHeader) { row--; } if (row >= 0) { DidSelectLevelEvent?.Invoke(LevelCollectionViewController_SetData.beatmapLevels[row]); } }