From 84d41bd256d53ebafab1ca79b35a9f91d459366a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 13 四月 2021 16:16:17 +0800 Subject: [PATCH] 8896 【BT2】【主干】【后端】特权令(同步冲突;及修改B209 B210 封包 为B211 B212) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py index 69ae6c7..ebff0fa 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetPack.py @@ -15370,9 +15370,9 @@ #------------------------------------------------------ -# B2 09 激活功能系统特权奖励 #tagMCActivateFuncSysPrivilege +# B2 11 激活功能系统特权奖励 #tagCMActivateFuncSysPrivilege -class tagMCActivateFuncSysPrivilege(Structure): +class tagCMActivateFuncSysPrivilege(Structure): Head = tagHead() ActivateCount = 0 #(BYTE ActivateCount)// 激活个数 ActivateFuncSysIDList = list() #(vector<BYTE> ActivateFuncSysIDList)// 激活功能系统ID列表,全部激活则需要发所有ID列表 @@ -15381,7 +15381,7 @@ def __init__(self): self.Clear() self.Head.Cmd = 0xB2 - self.Head.SubCmd = 0x09 + self.Head.SubCmd = 0x11 return def ReadData(self, _lpData, _pos=0, _Len=0): @@ -15397,7 +15397,7 @@ self.Head = tagHead() self.Head.Clear() self.Head.Cmd = 0xB2 - self.Head.SubCmd = 0x09 + self.Head.SubCmd = 0x11 self.ActivateCount = 0 self.ActivateFuncSysIDList = list() return @@ -15432,8 +15432,8 @@ return DumpString -m_NAtagMCActivateFuncSysPrivilege=tagMCActivateFuncSysPrivilege() -ChNetPackDict[eval("0x%02x%02x"%(m_NAtagMCActivateFuncSysPrivilege.Head.Cmd,m_NAtagMCActivateFuncSysPrivilege.Head.SubCmd))] = m_NAtagMCActivateFuncSysPrivilege +m_NAtagCMActivateFuncSysPrivilege=tagCMActivateFuncSysPrivilege() +ChNetPackDict[eval("0x%02x%02x"%(m_NAtagCMActivateFuncSysPrivilege.Head.Cmd,m_NAtagCMActivateFuncSysPrivilege.Head.SubCmd))] = m_NAtagCMActivateFuncSysPrivilege #------------------------------------------------------ @@ -15622,7 +15622,7 @@ #------------------------------------------------------ -# B2 10 领取功能系统特权奖励 #tagCMGetFuncSysPrivilegeAward +# B2 12 领取功能系统特权奖励 #tagCMGetFuncSysPrivilegeAward class tagCMGetFuncSysPrivilegeAward(Structure): _pack_ = 1 @@ -15636,7 +15636,7 @@ def __init__(self): self.Clear() self.Cmd = 0xB2 - self.SubCmd = 0x10 + self.SubCmd = 0x12 return def ReadData(self, stringData, _pos=0, _len=0): @@ -15646,7 +15646,7 @@ def Clear(self): self.Cmd = 0xB2 - self.SubCmd = 0x10 + self.SubCmd = 0x12 self.FuncSysID = 0 self.DayNum = 0 return @@ -15658,7 +15658,7 @@ return string_at(addressof(self), self.GetLength()) def OutputString(self): - DumpString = '''// B2 10 领取功能系统特权奖励 //tagCMGetFuncSysPrivilegeAward: + DumpString = '''// B2 12 领取功能系统特权奖励 //tagCMGetFuncSysPrivilegeAward: Cmd:%s, SubCmd:%s, FuncSysID:%d, -- Gitblit v1.8.0