JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ChallengeMissionPageView.h
Go to the documentation of this file.
1
16
17#import <UIKit/UIKit.h>
18
21#import "SessionDownloader.h"
22
25
26NS_ASSUME_NONNULL_BEGIN
27
35@protocol ChallengeMissionPageViewDelegate <NSObject>
37- (void)closeMenu;
38@optional
43@end
44
48// clang-format off
49// Kept one protocol per line: clang-format would otherwise pack the list onto a continuation line
50// beginning ": UIView <", which Doxygen then reads as undocumented ivars named after the protocols.
51@interface ChallengeMissionPageView : UIView <UITableViewDataSource,
52 UITableViewDelegate,
54 UIAlertViewDelegate>
55// clang-format on
56
61@property(nonatomic, weak, nullable) id<ChallengeMissionPageViewDelegate> aDelegate;
62
70- (instancetype)initWithFrame:(CGRect)frame;
71
78- (void)tapListBtn:(nullable id)sender;
79
86- (void)switchListView:(int)list;
87
93- (void)tapClose:(nullable id)sender;
94
101- (void)cancelSettingMenu:(nullable id)sender;
102
109- (void)closeSettingMenu:(nullable id)sender;
110
117
125- (void)downloaderFinished:(nullable id)downloader;
126
133- (void)downloaderError:(nullable id)downloader;
134
142- (void)tableView:(nonnull UITableView *)tableView
143 willDisplayHeaderView:(nonnull UIView *)view
144 forSection:(NSInteger)section;
145
154- (UITableViewCell *)tableView:(nonnull UITableView *)tableView
155 cellForRowAtIndexPath:(nonnull NSIndexPath *)indexPath;
156
164- (void)tableView:(nonnull UITableView *)tableView
165 willDisplayCell:(nonnull UITableViewCell *)cell
166 forRowAtIndexPath:(nonnull NSIndexPath *)indexPath;
167
175- (CGFloat)tableView:(nonnull UITableView *)tableView
176 heightForRowAtIndexPath:(nonnull NSIndexPath *)indexPath;
177
184- (NSInteger)numberOfSectionsInTableView:(nonnull UITableView *)tableView;
185
193- (NSInteger)tableView:(nonnull UITableView *)tableView numberOfRowsInSection:(NSInteger)section;
194
202- (void)tableView:(nonnull UITableView *)tableView
203 didSelectRowAtIndexPath:(nonnull NSIndexPath *)indexPath;
204
211- (void)challengeConnectError:(nullable NSDictionary *)info;
212
218- (void)switchMissionView:(BOOL)showSheet;
219
225- (void)alertSelect:(nullable NSDictionary *)info;
226
232- (void)closeRewardWin:(nullable id)sender;
233
238- (void)cubePurchase;
239
244- (void)refreshStatus;
245
246@end
247
248NS_ASSUME_NONNULL_END
249
250// code: language=Objective-C
251// kate: hl Objective-C;
252// vim: set ft=objc :
The challenge-mode mission-sheet detail view.
A challenge-mission reward-item download overlay.
The session-signed HTTP client.
The challenge-mode mission page: two toggled tables over a shared plate.
Definition ChallengeMissionPageView.h:54
void cubePurchase()
Forwards a cube-purchase request to the delegate when it responds to -cubePurchase .
Definition ChallengeMissionPageView.m:811
id< ChallengeMissionPageViewDelegate > aDelegate
The object told about close, purchase, and refresh events.
Definition ChallengeMissionPageView.h:61
void missionSheetDisplayEnd()
Called when the presented mission sheet finishes displaying: clears the download-wait flag and re-ena...
Definition ChallengeMissionPageView.m:378
void refreshStatus()
Forwards a status refresh to the delegate when it responds to -refreshStatus .
Definition ChallengeMissionPageView.m:818
The challenge-mode mission sheet: a declared-but-unfilled mission-sheet detail page.
Definition ChallengeMissionSheetView.h:38
A challenge-mission reward-item download overlay.
Definition MissionRewardDownloadView.h:44
void refreshStatus()
The player's status changed and should be refreshed.
void cubePurchase()
The player asked to buy cubes.
void closeMenu()
The page should be dismissed.
Performs a single HTTP request.
Definition Downloader.h:30