JubeatPlus 3.9.11
Loading...
Searching...
No Matches
MissionDetailMessageView.h
Go to the documentation of this file.
1
17
18#import <UIKit/UIKit.h>
19
20#import "AlertViewManager.h"
24
25NS_ASSUME_NONNULL_BEGIN
26
34@protocol MissionDetailMessageViewDelegate <NSObject>
35@optional
42@end
43
48
53@property(nonatomic, weak, nullable) id<MissionDetailMessageViewDelegate> aDelegate;
54
67- (instancetype)initWithFrame:(CGRect)frame coverFrame:(CGRect)coverFrame;
68
78- (instancetype)initWithFrame:(CGRect)frame;
79
88- (void)setMission:(nonnull ChallengeMissionTerms *)mission
89 achieve:(nonnull ChallengeMissionAchieve *)achieve;
90
98- (nullable NSString *)getMusicName:(int)musicID;
99
107- (void)setPlayTerm:(nullable ChallengeMissionPlayTerm *)playTerm;
108
114- (void)tapPassBtn;
115
121- (void)fadeIn:(nonnull UIView *)parentView;
122
127- (void)fadeOut;
128
133- (void)fadeCancel;
134
141- (void)timerRefresh:(nonnull NSTimer *)timer;
142
149- (void)alertSelect:(nonnull NSDictionary *)info;
150
157- (void)downloaderError:(nullable id)downloader;
158
164- (void)downloaderFinished:(nullable id)downloader;
165
170- (void)tapSwitch;
171
176- (void)tapCloseBtn;
177
178@end
179
180NS_ASSUME_NONNULL_END
181
182// code: language=Objective-C
183// kate: hl Objective-C;
184// vim: set ft=objc :
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.