Class MultiplayServersLocation
Location of a server.
Inherited Members
Namespace: Unity.Services.Apis.Admin.Multiplay
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "multiplay.servers.location")]
[Preserve]
public class MultiplayServersLocation
Constructors
MultiplayServersLocation(long, string)
Initializes a new instance of the MultiplayServersLocation class.
Declaration
[Preserve]
public MultiplayServersLocation(long id = 0, string name = null)
Parameters
Type | Name | Description |
---|---|---|
long | id | ID of the location. (required). |
string | name | Name of the location. (required). |
Properties
Id
ID of the location.
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public long Id { get; set; }
Property Value
Type | Description |
---|---|
long | ID of the location. |
Name
Name of the location.
Declaration
[DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the location. |