docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct FleetName

    Struct representing a type-safe Fleet Identifier

    Implements
    IResourceName
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Services.Multiplay.Authoring.Core.Assets
    Assembly: Unity.Services.Multiplayer.Multiplay.Authoring.Core.dll
    Syntax
    public readonly struct FleetName : IResourceName

    Constructors

    FleetName(string)

    Creates a new instance of FleetName

    Declaration
    public FleetName(string name)
    Parameters
    Type Name Description
    string name

    The name of the Fleet

    Properties

    Name

    The name of the Fleet

    Declaration
    public string Name { get; init; }
    Property Value
    Type Description
    string

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Implements

    IResourceName
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)