18#import <UIKit/UIKit.h>
25NS_ASSUME_NONNULL_BEGIN
34@protocol MissionDetailMessageViewDelegate <NSObject>
53@property(nonatomic, weak, nullable) id<MissionDetailMessageViewDelegate>
aDelegate;
67- (instancetype)initWithFrame:(CGRect)frame coverFrame:(CGRect)coverFrame;
78- (instancetype)initWithFrame:(CGRect)frame;
98- (nullable NSString *)getMusicName:(int)musicID;
121- (void)fadeIn:(nonnull UIView *)parentView;
141- (void)timerRefresh:(nonnull NSTimer *)timer;
149- (void)alertSelect:(nonnull NSDictionary *)info;
157- (void)downloaderError:(nullable id)downloader;
164- (void)downloaderFinished:(nullable id)downloader;
A shared alert presenter that hides the UIAlertController/UIAlertView split behind one API.
One mission's achievement record, as the challenge server sends it.
The play restrictions a challenge mission imposes, derived from its terms and current progress.
The terms of one challenge mission.
A mission's identity, state and progress detail.
Definition ChallengeMissionAchieve.h:39
The lists a mission's play terms resolve to.
Definition ChallengeMissionPlayTerm.h:26
A challenge mission's identity, description, and completion condition.
Definition ChallengeMissionTerms.h:25
A centred overlay describing one mission and offering to skip it for jCube.
Definition MissionDetailMessageView.h:47
void tapCloseBtn()
The close button's action: asks the delegate to dismiss the overlay.
Definition MissionDetailMessageView.m:535
void fadeOut()
Starts the fade-out timer.
Definition MissionDetailMessageView.m:559
void fadeCancel()
Snaps the alpha to zero, invalidates the fade timer, and removes the view from its parent.
Definition MissionDetailMessageView.m:572
void tapPassBtn()
The pass button's action: confirms the jCube skip purchase, or offers to buy jCube when the balance i...
Definition MissionDetailMessageView.m:451
void tapSwitch()
The switch button's action: toggles the detail text view against the mission text.
Definition MissionDetailMessageView.m:526
id< MissionDetailMessageViewDelegate > aDelegate
The object told about skip, purchase, and close events.
Definition MissionDetailMessageView.h:53
The optional delegate of AlertViewManager.
Definition AlertViewManager.h:18
void cubePurchase()
The player asked to buy jCube because the skip cost exceeds the balance.
void missionSkip()
The player confirmed spending jCube to skip the mission.
void closeDetail()
The close button was tapped and the owner should dismiss the overlay.