Add Drop item cmd, default drop with quantity is 1
This commit is contained in:
@@ -10,6 +10,7 @@ using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
namespace BrewMonster.Network
|
||||
@@ -138,7 +139,15 @@ namespace BrewMonster.Network
|
||||
{
|
||||
Instance._gameSession.RequestEquipItem(iIvtrIdx, iEquipIdx, callback);
|
||||
}
|
||||
public static void RequestDropIvrtItem(byte index, int amount)
|
||||
{
|
||||
Instance._gameSession.RequestDropIvtrItem(index, amount);
|
||||
}
|
||||
|
||||
public static void RequestDropEquipItem(byte index)
|
||||
{
|
||||
Instance._gameSession.RequestDropEquipItem(index);
|
||||
}
|
||||
public static void RequestAllInventoriesAsync(Action callback = null, params byte[] packages)
|
||||
{
|
||||
if (packages == null || packages.Length == 0)
|
||||
|
||||
Reference in New Issue
Block a user