源战役客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
741 B

WarmPromptModel = WarmPromptModel or BaseClass(BaseModel)
--2, 3, 4是和任务类型对应的
WarmPromptModel.Tips_Type = {
Escort = 1, --护送
Daily = 2, --日常
GuildTask = 3, --社团
XuanShang = 4, --冒险
FinishTask = 5, --立即完成任务
}
function WarmPromptModel:__init()
WarmPromptModel.Instance = self
self.next_show_state_list = {} --下次是否打开相关功能的提示列表
end
function WarmPromptModel:GetInstance()
if WarmPromptModel.Instance == nil then
WarmPromptModel.New()
end
return WarmPromptModel.Instance
end
function WarmPromptModel:CheckIsNeedToShowView(tips_type)
local show = self.next_show_state_list[tips_type]
if show == nil then
show = true
end
return show
end