This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
@@ -0,0 +1,31 @@
//
// GameSortHorizontalViewController.h
// RobloxMobile
//
// Created by Ariel Lichtin on 5/28/14.
// Copyright (c) 2014 ROBLOX. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RobloxData.h"
#import "RBXEventReporter.h"
@interface GameSortHorizontalViewController : UIViewController
// Initialize the sort
-(void) setSort:(RBXGameSort*)sort;
- (void) setSort:(RBXGameSort *)sort andGenre:(RBXGameGenre *)genre;
// Initialize with a prefetched game list
-(void) setSort:(RBXGameSort*)sort withGames:(NSArray*)games;
-(void) setAnalyticsLocation:(RBXAnalyticsGameLocations)location andContext:(RBXAnalyticsContextName)context;
@property (strong, nonatomic) NSString* sortTitle;
@property (nonatomic) NSUInteger startIndex;
// Callback handlers
@property (copy) void (^seeAllHandler)(NSNumber* sortID);
@property (copy) void (^gameSelectedHandler)(RBXGameData* gameData);
@end