クラス UMatchmakerClientBlueprintUtil
Review the utility functions available for working with the Matchmaker Client Blueprint API.
読み終わるまでの所要時間 3 分最終更新 14日前
Include (含める)
#include <MatchmakerClient/Public/Utils/MatchmakerClientBlueprintUtil.h>
構文
UCLASS()class UMatchmakerClientBlueprintUtil : public UBlueprintFunctionLibrary
UBlueprintFunctionLibrary から継承
メソッド
PlayerCustomDataAddStringData(FMatchmakerPlayer&, FString, FString)
プレイヤーの CustomData フィールドにカスタムデータの文字列を追加します。
宣言
UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool PlayerCustomDataAddStringData(UPARAM(ref) FMatchmakerPlayer& Player, FString Key, FString Value)
パラメーター
戻り値
型 | 説明 |
|---|
| カスタムデータが正常に追加された場合には 、追加されなかった場合には が返されます。 |
PlayerCustomDataAddNumberData(FMatchmakerPlayer&, FString, float)
プレイヤーの CustomData フィールドにカスタムデータの数値を追加します。
宣言
UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool PlayerCustomDataAddNumberData(UPARAM(ref) FMatchmakerPlayer& Player, FString Key, float Value)
パラメーター
戻り値
型 | 説明 |
|---|
| カスタムデータが正常に追加された場合には 、追加されなかった場合には が返されます。 |
PlayerCustomDataRemoveData(FMatchmakerPlayer&, FString)
MatchmakerPlayer の CustomData からカスタムデータフィールドを削除します。
宣言
UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool PlayerCustomDataRemoveData(UPARAM(ref) FMatchmakerPlayer& Player, FString Key)
パラメーター
戻り値
CreateTicketOptionsAddStringAttribute(FCreateTicketOptions&, FString, FString)
CreateTicketOptions に文字列属性を追加します。
宣言
UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool CreateTicketOptionsAddStringAttribute(UPARAM(ref) FCreateTicketOptions& Options, FString Key, FString Value)
パラメーター
戻り値
型 | 説明 |
|---|
| 属性が正常に追加された場合には 、追加されなかった場合には が返されます。 |
CreateTicketOptionsAddNumberAttribute(FCreateTicketOptions&, FString, float)
に数値属性を追加します。
宣言
UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool CreateTicketOptionsAddNumberAttribute(UPARAM(ref) FCreateTicketOptions& Options, FString Key, float Value)
パラメーター
戻り値
型 | 説明 |
|---|
| カスタムデータが正常に追加された場合には 、追加されなかった場合には が返されます。 |
CreateTicketOptionsRemoveAtrribute(FCreateTicketOptions&, FString)
CreateTicketOptions から属性を削除します。
宣言
UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool CreateTicketOptionsRemoveAtrribute(UPARAM(ref) FCreateTicketOptions& Options, FString Key)
パラメーター
戻り値
型 | 説明 |
|---|
| Options に対象の属性があり、かつ削除された場合には 、属性がなかった場合には が返されます。 |