Declaración
func GetItemCount(target entity<Player>, item ItemIDType) int
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
Target | Player | Target Player |
Item | ItemGoodsIDType | Item Type |
Regresar
Tipo | Descripción |
---|---|
Int | Player holding amount |
Get the number of specified items held by the player
func GetItemCount(target entity<Player>, item ItemIDType) int
go
Nombre | Tipo | Descripción |
---|---|---|
Target | Player | Target Player |
Item | ItemGoodsIDType | Item Type |
Tipo | Descripción |
---|---|
Int | Player holding amount |