Ejemplo n.º 1
0
    public void OnRechargeRewRet(stRechargeRewRetListPropertyUserCmd_S cmd)
    {
        rewRetReward = cmd.data;
        int count = 0;

        for (int i = 0; i < rewRetReward.Count; i++)
        {
            if (rewRetReward[i].state == 1)
            {
                count++;
            }
        }
        RechargeRewRetClose = count == rewRetReward.Count;
        Engine.Utility.EventEngine.Instance().DispatchEvent((int)GameEventID.RETREWARDSTATUS, RechargeRewRetClose);
    }
Ejemplo n.º 2
0
 public void Execute(stRechargeRewRetListPropertyUserCmd_S cmd)
 {
     DataManager.Manager <ActivityManager>().OnRechargeRewRet(cmd);
 }