点击或拖拽改变大小

EventHelperCheckAdventureSiteState 方法

检查当前太吾所在的奇遇点的奇遇Id和奇遇状态是否符合要求

命名空间: GameData.Domains.TaiwuEvent.EventHelper
程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法
C#
public static bool CheckAdventureSiteState(
	Location location,
	short adventureId,
	sbyte adventureSiteState
)

参数

location  Location
需要检查的地点 Location
adventureId  Int16
奇遇的模板Id(建议使用奇遇配置中定义的 DefKey AdventureDefKey
adventureSiteState  SByte
奇遇的状态,见 AdventureSiteState

返回值

Boolean
奇遇点的Id和状态是否与传入的参数匹配
参见