TPStashEvent.GetCharacter

TPStashEvent.GetCharacter(
    userId,
    character_uuid,
    characterarchetype_slug,
    from_entity--[[Optional--]],
    from_category_slug--[[Optional--]],
    from_slug--[[Optional--]]
)

説明

キャラクターを獲得したデータを収集します。ゲームでキャラクターの獲得イベントが発生すると必ず呼び出されるメソッドであり、キャラクターの獲得や破棄に関係している分析モデルに使用されます。

キャラクターの「獲得」は、ゲームでキャラクターを所持することを示します。また、キャラクターの「破棄」は、キャラクターの売却や素材として消費などにより、キャラクターを所持していないイベントのことを示します。ゲームによりキャラクターの「破棄」は存在しない場合もあります。

パラメータ

名前 説明 必須か

UserId

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

必須

character_uuid

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

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

必須

characterarchetype_slug

キャラクターアーキタイプの固有識別子

必須

from_entity

キャラクターを得た経路。どのような行動によりキャラクターを得たのか

エンティティー
TPStashEvent.Entity.None
TPStashEvent.Entity.Etc
TPStashEvent.Entity.Join
TPStashEvent.Entity.Login
TPStashEvent.Entity.LoginAsCharacter
TPStashEvent.Entity.InAppPurchase
TPStashEvent.Entity.ShopPurchase
TPStashEvent.Entity.Trade
TPStashEvent.Entity.PlayQuest
TPStashEvent.Entity.GetBonus
TPStashEvent.Entity.ChangeCharacterArchetype
TPStashEvent.Entity.ChangeStat
TPStashEvent.Entity.ChangeCustomAbility
TPStashEvent.Entity.PlayStage
TPStashEvent.Entity.GetCharacter
TPStashEvent.Entity.GetCurrency
TPStashEvent.Entity.GetInfrastructure
TPStashEvent.Entity.GetPet
TPStashEvent.Entity.GetToken
TPStashEvent.Entity.GetConsumable
TPStashEvent.Entity.GetMaterial
TPStashEvent.Entity.GetEquipment
TPStashEvent.Entity.GetCostume
TPStashEvent.Entity.GetRandomBox
TPStashEvent.Entity.UseCurrency
TPStashEvent.Entity.EquipInfrastructure
TPStashEvent.Entity.EquipPet
TPStashEvent.Entity.UseToken
TPStashEvent.Entity.UseConsumable
TPStashEvent.Entity.UseMaterial
TPStashEvent.Entity.EquipEquipment
TPStashEvent.Entity.EquipCostume
TPStashEvent.Entity.OpenRandomBox
TPStashEvent.Entity.EquipSkill
TPStashEvent.Entity.DismissCharacter
TPStashEvent.Entity.DismissPet
TPStashEvent.Entity.DismissToken
TPStashEvent.Entity.DismissConsumable
TPStashEvent.Entity.DismissMaterial
TPStashEvent.Entity.DismissEquipment
TPStashEvent.Entity.DismissCostume
TPStashEvent.Entity.DismissRandomBox
TPStashEvent.Entity.LevelUpCharacter
TPStashEvent.Entity.LevelUpInfrastructure
TPStashEvent.Entity.LevelUpPet
TPStashEvent.Entity.LevelUpConsumable
TPStashEvent.Entity.LevelUpMaterial
TPStashEvent.Entity.LevelUpEquipment
TPStashEvent.Entity.LevelUpCostume
TPStashEvent.Entity.LevelUpSkill
TPStashEvent.Entity.Deposit
TPStashEvent.Entity.Withdraw
TPStashEvent.Entity.FinishedTutorial

オプション

from_category_slug

キャラクターを得た経路に対するカテゴリー(大分類)名

オプション

from_slug

キャラクターを得た経路に対する詳細

オプション