public class ActPresenter extends java.lang.Object implements IViewPresenter, IActPresenter, LeftActivityShowManager.IActivityShow
| 限定符和类型 | 字段和说明 |
|---|---|
protected MonsterManager |
mMonsterManager |
protected MonsterPrepareDialog |
mMonsterPrepareDialog |
| 构造器和说明 |
|---|
ActPresenter() |
protected MonsterManager mMonsterManager
protected MonsterPrepareDialog mMonsterPrepareDialog
public boolean initialize(@NonNull
android.view.View rootView,
ILiveInfoWrapper liveInfo)
IViewPresenterinitialize 在接口中 IViewPresenterrootView - 根viewpublic void onStop()
public void onResume()
public boolean invalid()
invalid 在接口中 IViewPresenterpublic void release()
release 在接口中 IViewPresenterpublic void destroy()
destroy 在接口中 IPageLifecyclepublic boolean hasLayer(boolean closeLayer)
hasLayer 在接口中 IViewPresenterpublic void dissmiss()
public void startAct()
public void onStart()
public void onActivityShow(boolean isShow)
public void addActivityData(ActivityData data)
addActivityData 在接口中 IActPresenterpublic void clearDataByType(int type)
clearDataByType 在接口中 IActPresenterpublic void clearDataByActivityId(java.lang.String activityId)
clearDataByActivityId 在接口中 IActPresenterpublic boolean isNineOrPk()
isNineOrPk 在接口中 IActPresenterpublic java.util.List<android.view.View> getViewByType(int type)
getViewByType 在接口中 IActPresenterpublic void getBroadCasterStartInfo()
public void onGetBroadCasterStarInfo(LeaderBoardStarInfoMessage.Result result)
result - public void showStarH5Dialog(java.lang.String url)
url - public void dismissStartView()
public void onReceiveRankChangedMsg(LeaderBoardChangeContentMessage msg)
public boolean isStarBoardShow()
public void setStartSwitch(boolean switchShow,
boolean isRequest)
public void startNewTaskRefresh()
public void initLevelTempletGame()
protected boolean checkLevelTempletSrc(java.lang.String aid)
public void stopLevelTempletGame()
public void onReceiveLevelTempletStartMsg(LevelTempletStartMsgContent msg)
public void onReceiveLevelTempletGiftMsg(LevelTempletGiftMsgContent msg)
public void onReceiveLevelTempletStarRefreshMsg(LevelTempletStarRefreshMsgContent msg)
public void onReceiveGameRewardMsg(TempletRewardMsgContent msgContent)
public void showLevelTempeltGuideDialog(int curLevel)
public void showChristmasGift()
public void setTemplateGame(org.json.JSONObject jsonObject)
public void showInfoDialog()
public void closeDialog(java.util.List<android.app.Dialog> notCloseDialogs)
protected void initConstelEventManager()
protected void stopConstelEventManager()
public void onReceiveConstelEventMsgContent(ConstelEventMsgContent msg)
public void onReceiveConstelCardMsgContent(ConstelCardMsgContent msg)
public void setConstelActInfo(org.json.JSONObject jsonObject)
protected void initMonsterManager()
public void onReceiveMonsterRefreshMsgContent(MonsterRefreshMsgContent msg)
public void onReceiveMonsterStatusChangeMsgContent(MonsterStatusChangeMsgContent msg)
public void setMonsterActInfo(org.json.JSONObject jsonObject)