Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Aura
Channel
World
Inventory
InventoryPocket
TryAdd
Aura.Channel.World.Inventory.InventoryPocket.TryAdd C# (CSharp) Méthode
InventoryPocket Class Documentation
Afficher le fichier
Open project: aura-project/aura
TryAdd()
public
abstract
méthode
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
Résultat
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