From 515a08fe6e2937e086fcb65e886d521d70513b96 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 10 一月 2020 17:21:41 +0800
Subject: [PATCH] 8364 【恺英】【后端】缥缈随机任务(任务次数改为完成时才扣除;放弃任务改为只设置任务状态为未接)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
index 07a2060..c39a7d2 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py
@@ -21936,7 +21936,7 @@
 
 class  tagMCPiaomiaoTaskInfo(Structure):
     Head = tagHead()
-    TakeCount = 0    #(BYTE TakeCount)//今日已接次数
+    FinishCount = 0    #(BYTE FinishCount)//今日已完成次数
     RefreshCount = 0    #(BYTE RefreshCount)//今日已刷新次数
     TaskCount = 0    #(BYTE TaskCount)
     TaskIDList = list()    #(vector<DWORD> TaskIDList)//刷新任务ID列表[taskID,...]    
@@ -21951,7 +21951,7 @@
     def ReadData(self, _lpData, _pos=0, _Len=0):
         self.Clear()
         _pos = self.Head.ReadData(_lpData, _pos)
-        self.TakeCount,_pos = CommFunc.ReadBYTE(_lpData, _pos)
+        self.FinishCount,_pos = CommFunc.ReadBYTE(_lpData, _pos)
         self.RefreshCount,_pos = CommFunc.ReadBYTE(_lpData, _pos)
         self.TaskCount,_pos = CommFunc.ReadBYTE(_lpData, _pos)
         for i in range(self.TaskCount):
@@ -21964,7 +21964,7 @@
         self.Head.Clear()
         self.Head.Cmd = 0xA7
         self.Head.SubCmd = 0x20
-        self.TakeCount = 0
+        self.FinishCount = 0
         self.RefreshCount = 0
         self.TaskCount = 0
         self.TaskIDList = list()
@@ -21983,7 +21983,7 @@
     def GetBuffer(self):
         data = ''
         data = CommFunc.WriteString(data, self.Head.GetLength(), self.Head.GetBuffer())
-        data = CommFunc.WriteBYTE(data, self.TakeCount)
+        data = CommFunc.WriteBYTE(data, self.FinishCount)
         data = CommFunc.WriteBYTE(data, self.RefreshCount)
         data = CommFunc.WriteBYTE(data, self.TaskCount)
         for i in range(self.TaskCount):
@@ -21993,14 +21993,14 @@
     def OutputString(self):
         DumpString = '''
                                 Head:%s,
-                                TakeCount:%d,
+                                FinishCount:%d,
                                 RefreshCount:%d,
                                 TaskCount:%d,
                                 TaskIDList:%s
                                 '''\
                                 %(
                                 self.Head.OutputString(),
-                                self.TakeCount,
+                                self.FinishCount,
                                 self.RefreshCount,
                                 self.TaskCount,
                                 "..."

--
Gitblit v1.8.0