private void RspGuide(object sender, GameEventArgs e) { OnReceiveSCPacketBaseEventArgs ne = e as OnReceiveSCPacketBaseEventArgs; if (ne.msgID != CMD.RspGuide) { return; } RspGuide data = (RspGuide)ne.scPacketBase; GameEntry.UI.AddTips(Constants.Color("任务奖励 金币+" + m_CurtTaskData.coin + " 经验+" + m_CurtTaskData.exp, TxtColor.Blue)); switch (m_CurtTaskData.actID) { case 0: //与智者对话 break; case 1: EnterFuben(); break; case 2: //进入强化界面 OpenStrongWnd(); break; case 3: //进入体力购买 OpenBuyWnd(0); break; case 4: //进入金币铸造 OpenBuyWnd(1); break; case 5: //进入世界聊天 OpenChatWnd(); break; } PECommon.SetPlayerDataByGuide(data); OnRefreshUIFormEventArgs eventArgs = ReferencePool.Acquire <OnRefreshUIFormEventArgs>(); eventArgs.Fill(UIFormId.MainCityForm); GameEntry.Event.Fire(this, eventArgs); }