EventHelperRelationExistsForCharacter 方法 |
指定角色是否与任意角色存在指定关系。
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static bool RelationExistsForCharacter(
int charId,
ushort relationType,
bool aliveOnly
)
参数
- charId Int32
- 角色Id
- relationType UInt16
- 关系类型
- aliveOnly Boolean
- 是否只判定活着的角色
返回值
Boolean指定关系的角色是否存在
参见