点击或拖拽改变大小

EventHelperGetRelatedCharacters 方法

获取角色指定关系的所有角色

命名空间: GameData.Domains.TaiwuEvent.EventHelper
程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法
C#
public static HashSet<int> GetRelatedCharacters(
	int charId,
	ushort relationType,
	bool aliveOnly
)

参数

charId  Int32
指定角色的Id
relationType  UInt16
关系类型 RelationType
aliveOnly  Boolean
是否只获取活着的角色

返回值

HashSetInt32
所有指定关系角色的集合
参见