From 0bb7ef62509e01721117f7beaf63a937a68050b2 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期六, 18 八月 2018 14:34:41 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Dogz/DogzModel.cs |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/System/Dogz/DogzModel.cs b/System/Dogz/DogzModel.cs
index 66b5a63..96f835f 100644
--- a/System/Dogz/DogzModel.cs
+++ b/System/Dogz/DogzModel.cs
@@ -153,6 +153,10 @@
         {
             addAssistCnt = info.BuyHelpbattleCount;
             DogzAssistDefaultCnt += addAssistCnt;
+            if (UpdateAssistDogzEvent != null)
+            {
+                UpdateAssistDogzEvent();
+            }
         }
 
         public event Action UpdateAssistDogzEvent;
@@ -219,6 +223,7 @@
             }
         }
 
+        public Action<int> RefreshDogzEquipAct;
         private void RefreshDogzEquipInfo(PackType type, int index, int id)
         {
             if (type != PackType.rptDogzEquip) return;
@@ -246,6 +251,11 @@
                         return;
                     }
                 }
+            }
+
+            if(RefreshDogzEquipAct != null)
+            {
+                RefreshDogzEquipAct(dogzId);
             }
         }
 
@@ -301,7 +311,7 @@
 
         public void SendPutOnEquip(int dogzId,int index)
         {
-            CA5C0_tagCMRuneCompound dogzPutOn = new CA5C0_tagCMRuneCompound();
+            CA5C0_tagCMDogzEquipItem dogzPutOn = new CA5C0_tagCMDogzEquipItem();
             dogzPutOn.DogzID = (byte)dogzId;
             dogzPutOn.EquipIndex = (byte)index;
             GameNetSystem.Instance.SendInfo(dogzPutOn);
@@ -331,7 +341,7 @@
 
         public void SendDogzEquipStrength(int index,List<int>indexlist,int isDouble)
         {
-            CA5C4_tagCMDogzBattleStateChange dogzStren = new CA5C4_tagCMDogzBattleStateChange();
+            CA5C4_tagCMDogzEquipPlus dogzStren = new CA5C4_tagCMDogzEquipPlus();
             dogzStren.EquipIndex = (byte)index;
             dogzStren.IndexCount = (byte)indexlist.Count;
             byte[] indexByte = new byte[indexlist.Count];

--
Gitblit v1.8.0