点击或拖拽改变大小

EventHelperGetBloodParentId 方法

获得角色指定性别的血亲父母Id,该父母可以死亡,但也有可能不存在该关系。

命名空间: GameData.Domains.TaiwuEvent.EventHelper
程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法
C#
public static int GetBloodParentId(
	int charId,
	sbyte gender
)

参数

charId  Int32
角色的Id
gender  SByte
需要获得的父母的性别 Gender

返回值

Int32
血亲父母的Id,小于0表示没有指定性别的血亲父母
参见