Add Item

Items
Lado del servidor
Disponible en PC y móvil

Add items to the player and return the list of items issued

Declaración

func AddItem(target entity<Player>, item ItemIDType, count int, out var createdEntity List<entity<Entity>>)
go

Parámetros

Entrada

Nombre Tipo Descripción
Target Player Player
Item ItemGoodsIDType Item ID
Count Int Item amount

Afuera

Nombre Tipo Descripción
Created Entity ListT_Entity A list of items added for the player. Even if only one item is added, it is returned as a list.