From da8b073520b363154d75ae05c10ef5d0dad61423 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 26 一月 2021 15:36:53 +0800 Subject: [PATCH] 8710 【开发】【主干】【BT2】根据世界等级配置奖励(成长必买世界等级不同奖励配置改为放在充值表); --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py index f873f17..474567b 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py @@ -24542,6 +24542,7 @@ EndtDate = "" #(char EndtDate[10])// 结束日期 y-m-d GroupCount = 0 #(BYTE GroupCount)// 循环购买礼包组数 GroupList = list() #(vector<tagMCActGrowupBuyGroup> GroupList)//循环购买礼包组列表 + ActWorldLV = 0 #(WORD ActWorldLV)// 活动世界等级 data = None def __init__(self): @@ -24560,6 +24561,7 @@ temGroupList = tagMCActGrowupBuyGroup() _pos = temGroupList.ReadData(_lpData, _pos) self.GroupList.append(temGroupList) + self.ActWorldLV,_pos = CommFunc.ReadWORD(_lpData, _pos) return _pos def Clear(self): @@ -24571,6 +24573,7 @@ self.EndtDate = "" self.GroupCount = 0 self.GroupList = list() + self.ActWorldLV = 0 return def GetLength(self): @@ -24581,6 +24584,7 @@ length += 1 for i in range(self.GroupCount): length += self.GroupList[i].GetLength() + length += 2 return length @@ -24592,6 +24596,7 @@ data = CommFunc.WriteBYTE(data, self.GroupCount) for i in range(self.GroupCount): data = CommFunc.WriteString(data, self.GroupList[i].GetLength(), self.GroupList[i].GetBuffer()) + data = CommFunc.WriteWORD(data, self.ActWorldLV) return data def OutputString(self): @@ -24600,14 +24605,16 @@ StartDate:%s, EndtDate:%s, GroupCount:%d, - GroupList:%s + GroupList:%s, + ActWorldLV:%d '''\ %( self.Head.OutputString(), self.StartDate, self.EndtDate, self.GroupCount, - "..." + "...", + self.ActWorldLV ) return DumpString -- Gitblit v1.8.0