public class LevelTempletDialogManager extends java.lang.Object implements BaseResolveListener
限定符和类型 | 类和说明 |
---|---|
static interface |
LevelTempletDialogManager.OnResolveListener |
构造器和说明 |
---|
LevelTempletDialogManager(android.content.Context context,
boolean isHost,
ExclusiveDialogBaseManager.ExclusiveDialogLock dialogLockOne,
ExclusiveDialogBaseManager.ExclusiveDialogLock dialogLockTwo,
java.lang.String activeid) |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
void |
dismiss() |
GameBaseDialog |
getChestDialog() |
void |
onDialogResolved(GameBaseDialog dialg)
处理结果回调
|
void |
onReceiveRewardMsg(TempletRewardMsgContent msgContent,
java.lang.String videoId,
java.lang.String type,
int levelCount)
收到宝箱消息时,弹出抢宝箱弹窗
|
boolean |
shouldShowGuideDialog(int curLevel,
int levelCount,
java.lang.String type)
是否应该展示level阶段的引导弹窗
|
void |
showGuideDialog(int curLevel,
int levelCount,
java.lang.String type,
LevelTempletDialogManager.OnResolveListener listener)
展示首次引导弹窗
|
public LevelTempletDialogManager(android.content.Context context, boolean isHost, ExclusiveDialogBaseManager.ExclusiveDialogLock dialogLockOne, ExclusiveDialogBaseManager.ExclusiveDialogLock dialogLockTwo, java.lang.String activeid)
public void showGuideDialog(int curLevel, int levelCount, java.lang.String type, LevelTempletDialogManager.OnResolveListener listener)
curLevel
- 第几阶段listener
- 弹窗消失的回调public boolean shouldShowGuideDialog(int curLevel, int levelCount, java.lang.String type)
curLevel
- 等级public void onReceiveRewardMsg(TempletRewardMsgContent msgContent, java.lang.String videoId, java.lang.String type, int levelCount)
msgContent
- videoId
- public void clear()
public void dismiss()
public void onDialogResolved(GameBaseDialog dialg)
BaseResolveListener
onDialogResolved
在接口中 BaseResolveListener
dialg
- 处理的Dialogpublic GameBaseDialog getChestDialog()