コード例 #1
0
    public void PshTaskPrgs(object sender, GameEventArgs e)
    {
        OnReceiveSCPacketBaseEventArgs ne = e as OnReceiveSCPacketBaseEventArgs;

        if (ne.msgID != CMD.PshTaskPrgs)
        {
            return;
        }
        PshTaskPrgs data = (PshTaskPrgs)ne.scPacketBase;

        PECommon.SetPlayerDataByTaskPsh(data);
        OnRefreshUIFormEventArgs eventArgs = ReferencePool.Acquire <OnRefreshUIFormEventArgs>();

        eventArgs.Fill(UIFormId.TaskForm);
        GameEntry.Event.FireNow(this, eventArgs);
    }