EventHelperTransferInventoryOrEquipItem 方法 |
转让行囊或装备物品 (不会产生债务).
若是装备中的物品,会先卸下放入行囊
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static void TransferInventoryOrEquipItem(
Character srcChar,
Character destChar,
ItemKey itemKey,
int amount = 1
)
参数
- srcChar Character
- 源角色
- destChar Character
- 目标角色
- itemKey ItemKey
- 物品 Key, 必须处于源角色的行囊或装备栏中.
- amount Int32 (Optional)
- 物品的数量,默认1
参见