点击或拖拽改变大小

EventHelperTransferResourcesWithDebt 方法

转移资源(其中一方必须是太吾, 会产生债务) 资源将从源角色转到目标角色. 手动调用好感变化应该放在该方法后执行

命名空间: GameData.Domains.TaiwuEvent.EventHelper
程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法
C#
public static void TransferResourcesWithDebt(
	int srcCharId,
	int destCharId,
	sbyte resourceType,
	int amount,
	bool changeFavor = false
)

参数

srcCharId  Int32
源角色 ID
destCharId  Int32
目标角色 ID
resourceType  SByte
要转移的资源类型
amount  Int32
要转移的资源数量
changeFavor  Boolean  (Optional)
是否自动处理好感变化
参见