Declaración
func AddItemToShopItem(shopItem entity<ShopItem>, item ItemIDType, count int)
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
Shop Item | ShopItem | Product Entity |
Item | ItemGoodsIDType | Items to add |
Count | Int | Item quantity |
Add item to a product. You can add multiple items to a product by using this block multiple times.
func AddItemToShopItem(shopItem entity<ShopItem>, item ItemIDType, count int)
go
Nombre | Tipo | Descripción |
---|---|---|
Shop Item | ShopItem | Product Entity |
Item | ItemGoodsIDType | Items to add |
Count | Int | Item quantity |