v1.0.0
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 : IResourceNameConstructors
FleetName(String)
Creates a new instance of FleetName
Declaration
public FleetName(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name of the Fleet | 
Properties
Name
The name of the Fleet
Declaration
public string Name { readonly get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Implements
Methods
Equals(Object)
Declaration
public override readonly bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Declaration
public override readonly int GetHashCode()Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override readonly string ToString()Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.ValueType.ToString()