EventHelperGetAdventureGenerateRandomLocationOfEdge 方法 |
获取一个区域里边缘随机地格作为生成奇遇的地格,默认排除了已经存在奇遇的地格和暗渊地格
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static Location GetAdventureGenerateRandomLocationOfEdge(
short areaId,
Location currentLocation,
sbyte rangeMin,
params short[] exceptBlockTemplateIds
)
参数
- areaId Int16
- 要获取的区域的areaId
- currentLocation Location
- 玩家当前坐标
- rangeMin SByte
- 距离玩家当前坐标的最小生成距离
- exceptBlockTemplateIds Int16
- 所有排除的地格类型
返回值
Location
参见