From 45554286c505ba9fdd06dff1f35a4405b164ace7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 24 十二月 2018 20:18:58 +0800
Subject: [PATCH] 5424 【后端】【1.4】跨服竞技场开发(地图服务器段位表导出)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 23 +++++++++++++++++++++++
PySysDB/PySysDBPY.h | 9 +++++++++
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/PySysDB/PySysDBPY.h b/PySysDB/PySysDBPY.h
index 1cab86e..315c09c 100644
--- a/PySysDB/PySysDBPY.h
+++ b/PySysDB/PySysDBPY.h
@@ -1433,6 +1433,15 @@
dict Attr; //属性加成
};
+//跨服竞技场段位表
+
+struct tagCrossRealmPKDan
+{
+ BYTE _DanLV; //段位等级
+ list DanLVAwardList; //段位达标奖励物品列表
+ list SeasonDanLVAwardList; //赛季段位奖励物品列表
+};
+
//聚魂表
struct tagGatherSoul
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
index 28e124a..3393513 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -1133,6 +1133,12 @@
("dict", "Attr", 0),
),
+ "CrossRealmPKDan":(
+ ("BYTE", "DanLV", 1),
+ ("list", "DanLVAwardList", 0),
+ ("list", "SeasonDanLVAwardList", 0),
+ ),
+
"GatherSoul":(
("DWORD", "ItemID", 1),
("list", "AttrType", 0),
@@ -3465,6 +3471,19 @@
def GetFightPower(self): return self.FightPower # 增加战力
def GetAttr(self): return self.Attr # 属性加成
+# 跨服竞技场段位表
+class IPY_CrossRealmPKDan():
+
+ def __init__(self):
+ self.DanLV = 0
+ self.DanLVAwardList = []
+ self.SeasonDanLVAwardList = []
+ return
+
+ def GetDanLV(self): return self.DanLV # 段位等级
+ def GetDanLVAwardList(self): return self.DanLVAwardList # 段位达标奖励物品列表
+ def GetSeasonDanLVAwardList(self): return self.SeasonDanLVAwardList # 赛季段位奖励物品列表
+
# 聚魂表
class IPY_GatherSoul():
@@ -3748,6 +3767,8 @@
self.ipyIceLodeStarAwardLen = len(self.ipyIceLodeStarAwardCache)
self.ipyGodWeaponEffectCache = self.__LoadFileData("GodWeaponEffect", IPY_GodWeaponEffect)
self.ipyGodWeaponEffectLen = len(self.ipyGodWeaponEffectCache)
+ self.ipyCrossRealmPKDanCache = self.__LoadFileData("CrossRealmPKDan", IPY_CrossRealmPKDan)
+ self.ipyCrossRealmPKDanLen = len(self.ipyCrossRealmPKDanCache)
self.ipyGatherSoulCache = self.__LoadFileData("GatherSoul", IPY_GatherSoul)
self.ipyGatherSoulLen = len(self.ipyGatherSoulCache)
self.ipyGatherSoulCompoundCache = self.__LoadFileData("GatherSoulCompound", IPY_GatherSoulCompound)
@@ -4130,6 +4151,8 @@
def GetIceLodeStarAwardByIndex(self, index): return self.ipyIceLodeStarAwardCache[index]
def GetGodWeaponEffectCount(self): return self.ipyGodWeaponEffectLen
def GetGodWeaponEffectByIndex(self, index): return self.ipyGodWeaponEffectCache[index]
+ def GetCrossRealmPKDanCount(self): return self.ipyCrossRealmPKDanLen
+ def GetCrossRealmPKDanByIndex(self, index): return self.ipyCrossRealmPKDanCache[index]
def GetGatherSoulCount(self): return self.ipyGatherSoulLen
def GetGatherSoulByIndex(self, index): return self.ipyGatherSoulCache[index]
def GetGatherSoulCompoundCount(self): return self.ipyGatherSoulCompoundLen
--
Gitblit v1.8.0