EventHelperIsBuildingAreaHasBuilding 方法 |
指定的产业区域是否存在指定id指定规模的建筑
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static bool IsBuildingAreaHasBuilding(
Location location,
short buildingTemplateId,
int level = -1
)
参数
- location Location
- 要查询的产业区域所在的location
- buildingTemplateId Int16
- 建筑的预设idBuildingBlock
- level Int32 (Optional)
- 建筑的等级,-1表示不要求等级
返回值
Boolean目标条件的建筑是否存在
参见