docs.unity3d.com
    Show / Hide Table of Contents

    Class Team

    Team model

    Inheritance
    Object
    Team
    Namespace: Unity.Services.Matchmaker.Models
    Syntax
    [Preserve]
    public class Team

    Constructors

    Team(String, String, List<String>)

    Creates an instance of Team.

    Declaration
    [Preserve]
    public Team(string teamName = null, string teamId = null, List<string> playerIds = null)
    Parameters
    Type Name Description
    String teamName

    The name of the team. The team name should be the same as the team name defined in the rules of matchmaking.

    String teamId

    The ID of the team.

    List<String> playerIds

    An array of player IDs that represent the players in a team. This ID must exist in the list of players of the Match Properties.

    Properties

    PlayerIds

    An array of player IDs that represent the players in a team. This ID must exist in the list of players of the Match Properties.

    Declaration
    [Preserve]
    public List<string> PlayerIds { get; }
    Property Value
    Type Description
    List<String>

    TeamId

    The ID of the team.

    Declaration
    [Preserve]
    public string TeamId { get; }
    Property Value
    Type Description
    String

    TeamName

    The name of the team. The team name should be the same as the team name defined in the rules of matchmaking.

    Declaration
    [Preserve]
    public string TeamName { get; }
    Property Value
    Type Description
    String
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023