EventHelperGetSecretInformationRelatedCharacters 方法 |
获取一个秘闻中角色的关系快照角色集合
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static HashSet<int> GetSecretInformationRelatedCharacters(
int metaDataId,
int characterId,
bool includeGeneral = true,
bool includeAlive = true,
bool includeDead = true
)
参数
- metaDataId Int32
- 秘闻元数据 Id
- characterId Int32
- 要查询的角色 Id
- includeGeneral Boolean (Optional)
- 是否包含普通关系(仅有好感者)
- includeAlive Boolean (Optional)
- 结果中是否包含(在秘闻发生时)存活的角色;如果没有配置在秘闻发生时记录生死状态,则此参数失效
- includeDead Boolean (Optional)
- 结果中是否包含(在秘闻发生时)死亡的角色;如果没有配置在秘闻发生时记录生死状态,则此参数失效
返回值
HashSetInt32符合条件的所有关系角色集合
参见