EventHelperCheckSecretInformationRelationshipWithSnapshot 方法 |
检查秘闻定义的两人间关系,支持按快照查询
返回一个 SecretInformationRelationshipType 类型的集合
其中包含 targetCharacterId 对 characterId 的关系
(如 targetCharacterId 是 characterId 的亲友)
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static HashSet<SecretInformationRelationshipType> CheckSecretInformationRelationshipWithSnapshot(
int characterId,
int selfMetaDataIdForSnapshot,
int targetCharacterId,
int targetMetaDataIdForSnapshot
)
参数
- characterId Int32
- 自身角色 Id
- selfMetaDataIdForSnapshot Int32
- 自身角色查询时检索的关系快照秘闻元数据 Id,如填入 -1 则会使用当前的关系进行判定
- targetCharacterId Int32
- 目标角色 Id
- targetMetaDataIdForSnapshot Int32
- 目标角色查询时检索的关系快照秘闻元数据 Id,如填入 -1 则会使用当前的关系进行判定
返回值
HashSetSecretInformationRelationshipType
参见