EventHelperGetAdventureGenerateRandomLocation 方法 |
获取一个在指定范围内的奇遇生成地格,默认排除了已经存在奇遇的地格和暗渊地格
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static Location GetAdventureGenerateRandomLocation(
Location center,
sbyte rangeMin,
sbyte rangeMax,
params short[] exceptBlockTemplateIds
)
参数
- center Location
- 要围绕寻找奇遇生成点的地格坐标
- rangeMin SByte
- 范围最小值
- rangeMax SByte
- 范围最大值
- exceptBlockTemplateIds Int16
- 排除的地格列表
返回值
Location
参见