结构 FMatchmakerTeam
Review the structure representing a team of players in a matched game.
Include(包括)
#include <MatchmakerServer/Public/Models/MatchmakerTeam.h>
语法
USTRUCT(BlueprintType)struct FMatchmakerTeam
字段
TeamName
队伍的名称。此队伍名称应与匹配规则中定义的队伍名称一致。
声明
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Unity Gaming Services | Matchmaker | Model")FString TeamName
Blueprint
C++
TeamId
队伍的 ID。
声明
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Unity Gaming Services | Matchmaker | Model")FString TeamId
Blueprint
C++
PlayerIds
表示队伍中玩家的玩家 ID 数组。此 ID 必须存在于 Match Properties(匹配属性)的玩家列表中。
声明
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Unity Gaming Services | Matchmaker | Model")TArray<FString> PlayerIds
Blueprint
Name | 类型 |
|---|
| Player Ids(玩家 ID) | 字符串数组 |
C++