Exemple #1
0
    private void ClickHandler(GameObject obj)
    {
        AlertIcon.SetActive(false);
        var msg = new CSQuest();
        NetManager.SendMessage(msg);

        //WindowManager.Instance.Show<SignWindow>(true);
    }
Exemple #2
0
        //
        public static void OnQuestReward(ThriftSCMessage msg)
        {
            var sysmsg = msg.GetContent() as SCQuestRecieveRewardSucc;

            if (sysmsg != null)
            {
                PopTextManager.PopTip("奖励领取成功!", false);
                WindowManager.Instance.Show<TaskWindow>(false);
                var taskmsg = new CSQuest();
                NetManager.SendMessage(taskmsg);
                GlobalWindowSoundController.Instance.PlayRewardSound();
            }
            else
            {
                Logger.LogError("Notice list message should not be null.");
            }
        }