클래스 UMatchmakerClientBlueprintUtil
Review the utility functions available for working with the Matchmaker Client Blueprint API.
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)
파라미터
다음을 반환
유형 | 설명 |
|---|
| 옵션에 속성이 포함되어 제거된 경우 를 반환하고, 속성이 포함되지 않은 경우 를 반환합니다. |