| | |
| | | namespace Snxxz.UI
|
| | | {
|
| | | [XLua.LuaCallCSharp]
|
| | | public class DailyQuestModel : Model, IPlayerLoginOk, IBeforePlayerDataInitialize, IMapInitOk
|
| | | public class DailyQuestModel : Model, IPlayerLoginOk, IBeforePlayerDataInitialize, IMapInitOk ,ISwitchAccount
|
| | | {
|
| | | const int DAILYQUEST_REDPOINTID = 78000;
|
| | | const int EVERYDAY_REDPOINTID = 78001;
|
| | |
| | | public void OnPlayerLoginOk()
|
| | | {
|
| | | DailyQuestActionTimer.Instance.Begin();
|
| | | }
|
| | |
|
| | | public void OnSwitchAccount()
|
| | | {
|
| | | m_newDailyQuestOpenList.Clear();
|
| | | m_HasShowDailyQuestList.Clear();
|
| | | }
|
| | |
| | |
|
| | | public void OnNewFuncOpen(int id)
|
| | | {
|
| | |
|
| | | var quests = DailyQuestConfig.GetValues();
|
| | | bool bHasAdd = false;
|
| | | foreach (var quest in quests)
|
| | |
| | | }
|
| | | m_HasShowDailyQuestList.Clear();
|
| | | }
|
| | |
|
| | |
|
| | | private void RedpointValueChangeEvent(int id)
|
| | | {
|