RelationTypeHasRelation 方法 |
检查当前类型组合里是否已有指定类型
命名空间: GameData.Domains.Character.Relation程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static bool HasRelation(
ushort currTypes,
ushort targetType
)
参数
- currTypes UInt16
- 已有关系类型组合
- targetType UInt16
- 单一目标类型, 调用者保证类型有效且不为 RelationType.General
返回值
Boolean
参见