TPStashEvent.WithdrawConsumable

TPStashEvent.WithdrawConsumable(
    userId,
    character_uuid,
    item_slug,
    item_quantity,
    storage_type,
    storage_slug,
    storage_category_slug
)

説明

プレイヤーの倉庫から消費アイテム(Consumable)を取り出したイベントを収集します。

パラメータ

名前 説明 必須か

UserId

Robloxが提供するプレイヤーの固有ユーザーID(キャラクターIDではない): Player.UserId

必須

character_uuid

プレイヤー内キャラクターの固有ID

ゲームにキャラクターがない、もしくはキャラクターではなくプレイヤーを示す場合にはTentuPlayKeyword._DUMMY_CHARACTER_ID_に設定します。

必須

item_slug

アイテムの固有識別子

必須

item_quantity

取り出した消費アイテムの数・量

必須

storage_type

プレイヤーの倉庫の種類(Personal : 個人倉庫, Guild : ギルド倉庫)

TPStashEvent.StorageType.Unknown
TPStashEvent.StorageType.Personal
TPStashEvent.StorageType.Guild

オプション

storage_slug

プレイヤー倉庫の固有識別子

オプション

storage_category_slug

プレイヤー倉庫の種類の固有識別子

オプション