ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Map/GameMap.py
@@ -363,4 +363,11 @@ GameWorld.DebugLog(" attrName=%s,value=%s,setValue=%s,%s" % (attrName, value, setValue, attrOwner), playerID) return def GetMapSightType(): ## 获取地图视野类型 mapID = GameWorld.GetMap().GetMapID() ipyMapData = IpyGameDataPY.GetIpyGameData("ChinMap", mapID) if not ipyMapData: return ChConfig.SightType_Public return ipyMapData.GetSightType()