From b563f56319b05e8c193dc5b9ddb5eb7a612355df Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 15 五月 2025 10:43:43 +0800
Subject: [PATCH] 16 卡牌服务端(服务器Event事件触发改为地图如OnDay等;地图开服事件流程;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBFamily.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBFamily.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBFamily.py
index 44d3fd7..293d8de 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBFamily.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/StructData/DBFamily.py
@@ -480,6 +480,13 @@
         self.__familyIDDict.pop(familyID, None)
         return family
     
+    def DelAllFamily(self):
+        for index in range(self.GetCount())[::-1]:
+            family = self.GetAt(index)
+            familyID = family.GetID()
+            self.DelFamily(familyID)
+        return
+    
     def GetCount(self): return len(self.__familyList)
     def GetAt(self, index):
         family = None

--
Gitblit v1.8.0