Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Aura
Channel
World
Inventory
InventoryPocket
TryAdd
Aura.Channel.World.Inventory.InventoryPocket.TryAdd C# (CSharp) Method
InventoryPocket Class Documentation
Mostra file
Open project: aura-project/aura
TryAdd()
public
abstract
method
Attempts to put item at the coordinates. If another item is in the new item's space it's returned in colliding. Returns whether the attempt was successful.
public
abstract
TryAdd
(
Item
item
,
byte
targetX
,
byte
targetY
,
Item
&
colliding
) :
bool
item
Item
targetX
byte
targetY
byte
colliding
Item
return
bool
public abstract bool TryAdd(Item item, byte targetX, byte targetY, out Item colliding);
InventoryPocket
Add
AddUnsafe
CountItem
FillStacks
GetItem
GetItemAt
GetItems
Has
HasSpace
InventoryPocket
Remove
TryAdd