聲明 func GetItemCount(target entity<Player>, item ItemIDType) int go 參數 輸入 名稱 類型 描述 目標 Player 目標玩家 物品 ItemGoodsIDType 物品類型 返回 類型 描述 Int 玩家持有的數量