hxp
2024-01-17 52e17999f97477f222094a0b6e7e32129e97c404
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()