Пример #1
0
 void onClick_Xiuxi_Btn(GameObject caster)
 {
     if (CurPet != null)
     {
         stCallBackPetUserCmd_CS cmd = new stCallBackPetUserCmd_CS();
         cmd.id = CurPet.GetID();
         NetService.Instance.Send(cmd);
     }
 }
Пример #2
0
 public void OnCallBackPet(stCallBackPetUserCmd_CS cmd)
 {
     DeleteFightPet(cmd.id);
     IsHasPetFight = false;
 }
Пример #3
0
 public void OnCallBackPet(stCallBackPetUserCmd_CS cmd)
 {
     DataManager.Manager <PetDataManager>().OnCallBackPet(cmd);
 }