EventHelperHasBloodGrandParentRelations 方法 |
判定两个角色是否为血亲祖孙关系,即自身的血亲父母是否为对方的血亲子女
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static bool HasBloodGrandParentRelations(
int charId,
int relatedCharId
)
参数
- charId Int32
- 角色ID(孙)
- relatedCharId Int32
- 关联角色ID(祖)
返回值
Boolean两个角色是否为血亲祖孙关系,即自身的血亲父母是否为对方的血亲子女
参见