EventHelperMakeAreaGraduallyBrokenInCondition 方法 |
让一个地区逐渐崩毁
可以自己决定崩毁的条件
此接口会触发太吾村毁灭事件,触发时,崩毁不会继续进行
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static void MakeAreaGraduallyBrokenInCondition(
short areaId,
Predicate<MapBlockData> excludeCondition,
IDictionary<short, byte> protectedBlocks
)
参数
- areaId Int16
- 要崩毁的地区
- excludeCondition PredicateMapBlockData
- 排除条件,满足条件的地格将不会崩毁
- protectedBlocks IDictionaryInt16, Byte
- 保护地格表,通常用于定居点;K: blockId, V: 要保护的范围
参见