{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"FAnalyticsProviderTreasureData","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"fanalyticsprovidertreasuredata","__idx":0},"children":["FAnalyticsProviderTreasureData"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"概要","__idx":1},"children":["概要"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"class FAnalyticsProviderTreasureData;\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data の Unreal Engine Analytics Provider プラグイン。このSDKはイベントを追加すると同時にアップロードします。ローカルバッファは使用しません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"パブリック型","__idx":2},"children":["パブリック型"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enum-fanalyticsregion","__idx":3},"children":["enum FAnalyticsRegion"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"列挙子"},"children":["列挙子"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"値"},"children":["値"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["US01"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["USA - us01.records.in.treasuredata.com"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AP01"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Japan - ap01.records.in.treasuredata.com"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AP02"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Korea - ap02.records.in.treasuredata.com"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EU01"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Europe - eu01.records.in.treasuredata.com"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["正しい選択を確認するために、組織の設定を確認してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"パブリック関数","__idx":4},"children":["パブリック関数"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"create","__idx":5},"children":["Create"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline TSharedPtr< IAnalyticsProvider > Create(\n    const FString Key,\n    const FString DBName,\n    FAnalyticsRegion Region\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data インスタンスを作成します。すべてのイベントは ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Sessions"]}," と ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Events"]}," の2つのテーブルに記録されます。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["書き込み専用 API キー"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DBName"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データのログ先データベース名。最大120文字"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Region"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Treasure アカウントリージョン"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": TD Analytics Provider インスタンス"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"destroy","__idx":6},"children":["Destroy"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline void Destroy()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data インスタンスからすべての設定データを削除します。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"startsession","__idx":7},"children":["StartSession"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual bool StartSession(\n    const TArray< FAnalyticsEventAttribute > & Attributes\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セッションを開始します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Attributes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["追加のイベント属性"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": bool セッションが正常に開始された場合は true"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"endsession","__idx":8},"children":["EndSession"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void EndSession() override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セッションを終了します"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"setuserid","__idx":9},"children":["SetUserID"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void SetUserID(\n    const FString & InUserID\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーの ID を設定します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["InUserID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザー ID を表す文字列。できるだけ一意であることが望ましいです"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"getuserid","__idx":10},"children":["GetUserID"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual FString GetUserID() const override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーの ID を取得します"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": FString ユーザー ID を表す文字列"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"getsessionid","__idx":11},"children":["GetSessionID"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual FString GetSessionID() const override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["現在のセッション ID を取得します"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": FString 現在のセッション ID を表す文字列"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"setsessionid","__idx":12},"children":["SetSessionID"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual bool SetSessionID(\n    const FString & InSessionID\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーのセッション ID を設定します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["InSessionID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列としてのセッション ID"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": bool セッション ID が正常に設定された場合は true"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"recordevent","__idx":13},"children":["RecordEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void RecordEvent(\n    const FString & EventName,\n    const TArray< FAnalyticsEventAttribute > & Attributes\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["イベントを記録します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EventName"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベント名"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Attributes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["配列としての属性"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"recorditempurchase","__idx":14},"children":["RecordItemPurchase"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void RecordItemPurchase(\n    const FString & ItemId,\n    const FString & Currency,\n    int PerItemCost,\n    int ItemQuantity\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アイテムの購入を記録します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ItemId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アイテムの ID を表す文字列"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Currency"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["通貨の ID を表す文字列"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PerItemCost"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アイテムのコスト（整数）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ItemQuantity"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アイテムの数"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"recordcurrencypurchase","__idx":15},"children":["RecordCurrencyPurchase"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void RecordCurrencyPurchase(\n    const FString & GameCurrencyType,\n    int GameCurrencyAmount,\n    const FString & RealCurrencyType,\n    float RealMoneyCost,\n    const FString & PaymentProvider\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["通貨の購入を記録します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GameCurrencyType"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列としての通貨タイプ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GameCurrencyAmount"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["整数としての通貨量"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["RealCurrencyType"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列としての通貨タイプ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["RealMoneyCost"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["float としての実際の費用（ドル）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PaymentProvider"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列としての決済プロバイダー"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"recordcurrencygiven","__idx":16},"children":["RecordCurrencyGiven"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void RecordCurrencyGiven(\n    const FString & GameCurrencyType,\n    int GameCurrencyAmount\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーに付与された通貨を記録します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GameCurrencyType"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列としてのゲーム内通貨タイプ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GameCurrencyAmount"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["整数としてのゲーム内通貨量"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"setbuildinfo","__idx":17},"children":["SetBuildInfo"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void SetBuildInfo(\n    const FString & InBuildInfo\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ビルド情報を設定します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["InBuildInfo"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列としてのビルド情報"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"setgender","__idx":18},"children":["SetGender"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void SetGender(\n    const FString & InGender\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーの性別を設定します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["InGender"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["性別を表す文字列"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"setlocation","__idx":19},"children":["SetLocation"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void SetLocation(\n    const FString & InLocation\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーの場所を設定します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["InLocation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーの場所を表す文字列"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"setage","__idx":20},"children":["SetAge"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void SetAge(\n    const int32 InAge\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーの年齢を設定します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["InAge"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ユーザーの年齢を表す整数"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"recorditempurchase-1","__idx":21},"children":["RecordItemPurchase"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void RecordItemPurchase(\n    const FString & ItemId,\n    int ItemQuantity,\n    const TArray< FAnalyticsEventAttribute > & EventAttrs\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ゲーム内アイテムの購入を記録します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ItemId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列としてのアイテム ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ItemQuantity"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["整数としてのアイテム数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EventAttrs"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["追加のイベント属性"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"recordcurrencypurchase-1","__idx":22},"children":["RecordCurrencyPurchase"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void RecordCurrencyPurchase(\n    const FString & GameCurrencyType,\n    int GameCurrencyAmount,\n    const TArray< FAnalyticsEventAttribute > & EventAttrs\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ゲーム内通貨の購入を記録します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GameCurrencyType"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列としてのゲーム内通貨タイプ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GameCurrencyAmount"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["整数としての通貨量"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EventAttrs"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["追加のイベント属性"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"recordcurrencygiven-1","__idx":23},"children":["RecordCurrencyGiven"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void RecordCurrencyGiven(\n    const FString & GameCurrencyType,\n    int GameCurrencyAmount,\n    const TArray< FAnalyticsEventAttribute > & EventAttrs\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ゲーム内でユーザーに付与された通貨を記録します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GameCurrencyType"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["通貨タイプ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GameCurrencyAmount"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["通貨量"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EventAttrs"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["追加のイベント属性"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"recorderror","__idx":24},"children":["RecordError"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void RecordError(\n    const FString & Error,\n    const TArray< FAnalyticsEventAttribute > & EventAttrs\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["問題が発生した際にエラーを記録します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Error"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エラーイベント名"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EventAttrs"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エラーイベント属性"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"recordprogress","__idx":25},"children":["RecordProgress"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"virtual void RecordProgress(\n    const FString & ProgressType,\n    const FString & ProgressHierarchy,\n    const TArray< FAnalyticsEventAttribute > & EventAttrs\n) override\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーの進行状況を記録します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ProgressType"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列としての進行タイプ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ProgressHierarchy"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["文字列としての進行階層"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EventAttrs"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["追加のイベント属性"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"addeventattribute","__idx":26},"children":["AddEventAttribute"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"void AddEventAttribute(\n    const FString & EventName,\n    const FString & EventValue\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["値を持つ基本イベントを追加します"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EventName"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベント名"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EventValue"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの値"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"cleareventattributes","__idx":27},"children":["ClearEventAttributes"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"void ClearEventAttributes()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["イベント属性をクリアします"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"getregion","__idx":28},"children":["GetRegion"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline FAnalyticsRegion GetRegion()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オブジェクトインスタンスに現在設定されている ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#enum-fanalyticsregion"},"children":["AnalyticsRegion"]}," を返します。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"getapiurl","__idx":29},"children":["GetAPIURL"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline FString GetAPIURL()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["API エンドポイントの列挙子を Postback API アドレス文字列に変換するユーティリティ関数です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": Postback API エンドポイントを含む文字列"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]}]},"headings":[{"value":"FAnalyticsProviderTreasureData","id":"fanalyticsprovidertreasuredata","depth":1},{"value":"概要","id":"概要","depth":2},{"value":"パブリック型","id":"パブリック型","depth":2},{"value":"enum FAnalyticsRegion","id":"enum-fanalyticsregion","depth":3},{"value":"パブリック関数","id":"パブリック関数","depth":2},{"value":"Create","id":"create","depth":3},{"value":"Destroy","id":"destroy","depth":3},{"value":"StartSession","id":"startsession","depth":3},{"value":"EndSession","id":"endsession","depth":3},{"value":"SetUserID","id":"setuserid","depth":3},{"value":"GetUserID","id":"getuserid","depth":3},{"value":"GetSessionID","id":"getsessionid","depth":3},{"value":"SetSessionID","id":"setsessionid","depth":3},{"value":"RecordEvent","id":"recordevent","depth":3},{"value":"RecordItemPurchase","id":"recorditempurchase","depth":3},{"value":"RecordCurrencyPurchase","id":"recordcurrencypurchase","depth":3},{"value":"RecordCurrencyGiven","id":"recordcurrencygiven","depth":3},{"value":"SetBuildInfo","id":"setbuildinfo","depth":3},{"value":"SetGender","id":"setgender","depth":3},{"value":"SetLocation","id":"setlocation","depth":3},{"value":"SetAge","id":"setage","depth":3},{"value":"RecordItemPurchase","id":"recorditempurchase-1","depth":3},{"value":"RecordCurrencyPurchase","id":"recordcurrencypurchase-1","depth":3},{"value":"RecordCurrencyGiven","id":"recordcurrencygiven-1","depth":3},{"value":"RecordError","id":"recorderror","depth":3},{"value":"RecordProgress","id":"recordprogress","depth":3},{"value":"AddEventAttribute","id":"addeventattribute","depth":3},{"value":"ClearEventAttributes","id":"cleareventattributes","depth":3},{"value":"GetRegion","id":"getregion","depth":3},{"value":"GetAPIURL","id":"getapiurl","depth":3}],"frontmatter":{"redirects":{"/s/unreal-sdk":{},"/s/unreal-sdk-en":{}},"seo":{"title":"FAnalyticsProviderTreasureData"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/unreal-engine-sdk-api","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}