点击或拖拽改变大小

EventHelperRemoveCharactersOfRelationsFromCore 方法

移除人物列表中与指定人物是指定关系列表的类型的人群

命名空间: GameData.Domains.TaiwuEvent.EventHelper
程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法
C#
public static void RemoveCharactersOfRelationsFromCore(
	int mainCharId,
	List<int> charIdCore,
	ushort relationFlag
)

参数

mainCharId  Int32
指定的人物
charIdCore  ListInt32
要筛选的人物列表
relationFlag  UInt16
关系类型异或运算标记位
示例
C#
EventHelper.RemoveCharactersOfRelationsFromCore(charId,relatedCharIdList,EventHelper.RelationFlagForThreatenInteract);
EventHelper.RemoveCharactersOfRelationsFromCore(charId,relatedCharIdList,EventHelper.RelationFlagOfMentorOrMentee);
EventHelper.RemoveCharactersOfRelationsFromCore(charId,relatedCharIdList,EventHelper.RelationFlagOfAdoptive);
参见