From ae8371301b81bfae8de95d2ecbe52a50df8c7f06 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 06 十二月 2023 10:04:12 +0800 Subject: [PATCH] 9811 【BT9】【后端】逐鹿万界 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py index d5ab22b..3bb46a8 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -1760,6 +1760,15 @@ ("WORD", "PosY", 0), ), + "CrossFamilyFlagwarZoneMap":( + ("BYTE", "ZoneID", 0), + ("DWORD", "MapID", 1), + ("DWORD", "DataMapID", 1), + ("BYTE", "CopyMapID", 1), + ("WORD", "PosX", 0), + ("WORD", "PosY", 0), + ), + "GatherSoul":( ("DWORD", "ItemID", 1), ("list", "AttrType", 0), @@ -5840,6 +5849,25 @@ def GetPosX(self): return self.PosX # 坐标X def GetPosY(self): return self.PosY # 坐标Y +# 跨服分区地图逐鹿万界 +class IPY_CrossFamilyFlagwarZoneMap(): + + def __init__(self): + self.ZoneID = 0 + self.MapID = 0 + self.DataMapID = 0 + self.CopyMapID = 0 + self.PosX = 0 + self.PosY = 0 + return + + def GetZoneID(self): return self.ZoneID # 分区ID + def GetMapID(self): return self.MapID # 场景地图ID + def GetDataMapID(self): return self.DataMapID # 数据地图ID + def GetCopyMapID(self): return self.CopyMapID # 虚拟线路ID + def GetPosX(self): return self.PosX # 坐标X + def GetPosY(self): return self.PosY # 坐标Y + # 聚魂表 class IPY_GatherSoul(): @@ -7164,6 +7192,8 @@ self.ipyCrossPenglaiZoneMapLen = len(self.ipyCrossPenglaiZoneMapCache) self.ipyCrossDemonLandZoneMapCache = self.__LoadFileData("CrossDemonLandZoneMap", IPY_CrossDemonLandZoneMap) self.ipyCrossDemonLandZoneMapLen = len(self.ipyCrossDemonLandZoneMapCache) + self.ipyCrossFamilyFlagwarZoneMapCache = self.__LoadFileData("CrossFamilyFlagwarZoneMap", IPY_CrossFamilyFlagwarZoneMap) + self.ipyCrossFamilyFlagwarZoneMapLen = len(self.ipyCrossFamilyFlagwarZoneMapCache) self.ipyGatherSoulCache = self.__LoadFileData("GatherSoul", IPY_GatherSoul) self.ipyGatherSoulLen = len(self.ipyGatherSoulCache) self.ipyGatherSoulCompoundCache = self.__LoadFileData("GatherSoulCompound", IPY_GatherSoulCompound) @@ -7782,6 +7812,8 @@ def GetCrossPenglaiZoneMapByIndex(self, index): return self.ipyCrossPenglaiZoneMapCache[index] def GetCrossDemonLandZoneMapCount(self): return self.ipyCrossDemonLandZoneMapLen def GetCrossDemonLandZoneMapByIndex(self, index): return self.ipyCrossDemonLandZoneMapCache[index] + def GetCrossFamilyFlagwarZoneMapCount(self): return self.ipyCrossFamilyFlagwarZoneMapLen + def GetCrossFamilyFlagwarZoneMapByIndex(self, index): return self.ipyCrossFamilyFlagwarZoneMapCache[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