v1.0.0
Latest
2022.3+

Struct FleetName

Struct representing a type-safe Fleet Identifier

Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Unity.Services.Multiplay.Authoring.Core.Assets
Syntax
public readonly struct FleetName : IResourceName

Constructors

FleetName(String)

Creates a new instance of FleetName

Declaration
public FleetName(string name)
Parameters
TypeNameDescription
System.Stringname

The name of the Fleet

Properties

Name

The name of the Fleet

Declaration
public string Name { readonly get; set; }
Property Value
TypeDescription
System.String
Implements

Methods

Equals(Object)

Declaration
public override readonly bool Equals(object obj)
Parameters
TypeNameDescription
System.Objectobj
Returns
TypeDescription
System.Boolean
Overrides
System.ValueType.Equals(System.Object)

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns
TypeDescription
System.Int32
Overrides
System.ValueType.GetHashCode()

ToString()

Declaration
public override readonly string ToString()
Returns
TypeDescription
System.String
Overrides
System.ValueType.ToString()