기술 자료

Matchmaker for the Unreal Engine

Matchmaker for the Unreal Engine

클래스 UMatchmakerClientBlueprintUtil

Review the utility functions available for working with the Matchmaker Client Blueprint API.
읽는 시간 2분최근 업데이트: 9달 전

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)

파라미터

이름

유형

설명

Player
FMatchmakerPlayer
&
커스텀 데이터를 추가할 Matchmaker 플레이어
Key
FString커스텀 데이터 키
Value
FString커스텀 데이터에 추가할 문자열 값

다음을 반환

유형

설명

bool
커스텀 데이터가 추가되면
true
를 반환하고, 그렇지 않으면
false
를 반환합니다.

PlayerCustomDataAddNumberData(FMatchmakerPlayer&, FString, float)

커스텀 데이터의 숫자를 플레이어의 CustomData 필드에 추가합니다.

선언

UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool PlayerCustomDataAddNumberData(UPARAM(ref) FMatchmakerPlayer& Player, FString Key, float Value)

파라미터

이름

유형

설명

Player
FMatchmakerPlayer
&
커스텀 데이터를 추가할 Matchmaker 플레이어
Key
FString커스텀 데이터 키
Value
float
커스텀 데이터에 추가할 숫자 값

다음을 반환

유형

설명

bool
커스텀 데이터가 추가되면
true
를 반환하고, 그렇지 않으면
false
를 반환합니다.

PlayerCustomDataRemoveData(FMatchmakerPlayer&, FString)

MatchmakerPlayer의 CustomData에서 커스텀 데이터 필드를 제거합니다.

선언

UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool PlayerCustomDataRemoveData(UPARAM(ref) FMatchmakerPlayer& Player, FString Key)

파라미터

이름

유형

설명

Player
FMatchmakerPlayer
&
커스텀 데이터를 제거할 Matchmaker 플레이어
Key
FString제거할 데이터의 키

다음을 반환

유형

설명

bool
MatchmakerPlayer의
CustomData
에 필드가 포함되어 제거된 경우
true
를 반환하고, 필드가 포함되지 않은 경우
false
를 반환합니다.

CreateTicketOptionsAddStringAttribute(FCreateTicketOptions&, FString, FString)

문자열 속성을 CreateTicketOptions에 추가합니다.

선언

UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool CreateTicketOptionsAddStringAttribute(UPARAM(ref) FCreateTicketOptions& Options, FString Key, FString Value)

파라미터

이름

유형

설명

Options
FCreateTicketOptions
&
속성을 추가할 티켓 옵션
Key
FString속성의 키
Value
FString속성에 추가할 문자열 값

다음을 반환

유형

설명

bool
속성이 추가되면
true
를 반환하고, 그렇지 않으면
false
를 반환합니다.

CreateTicketOptionsAddNumberAttribute(FCreateTicketOptions&, FString, float)

CreateTicketOptions
에 숫자 속성을 추가합니다.

선언

UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool CreateTicketOptionsAddNumberAttribute(UPARAM(ref) FCreateTicketOptions& Options, FString Key, float Value)

파라미터

이름

유형

설명

Options
FCreateTicketOptions
&
속성을 추가할 티켓 옵션
Key
FString속성의 키
Value
float
속성에 추가할 숫자 값

다음을 반환

유형

설명

bool
커스텀 데이터가 추가되면
true
를 반환하고, 그렇지 않으면
false
를 반환합니다.

CreateTicketOptionsRemoveAtrribute(FCreateTicketOptions&, FString)

CreateTicketOptions에서 속성을 제거합니다.

선언

UFUNCTION(BlueprintCallable, Category = "Unity Gaming Services | Matchmaker Util")static bool CreateTicketOptionsRemoveAtrribute(UPARAM(ref) FCreateTicketOptions& Options, FString Key)

파라미터

이름

유형

설명

Options
FCreateTicketOptions
&
속성을 제거할 티켓 옵션
Key
FString제거할 속성의 키

다음을 반환

유형

설명

bool
옵션에 속성이 포함되어 제거된 경우
true
를 반환하고, 속성이 포함되지 않은 경우
false
를 반환합니다.