Class RegionsData
RegionsData model
Inherited Members
Namespace: Unity.Services.Relay.Models
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "RegionsData")]
public class RegionsData
Constructors
RegionsData(List<Region>)
Creates an instance of RegionsData.
Declaration
[Preserve]
public RegionsData(List<Region> regions)
Parameters
Type | Name | Description |
---|---|---|
List<Region> | regions | An array of regions where Relay servers might be available. |
Properties
Regions
An array of regions where Relay servers might be available.
Declaration
[Preserve]
[DataMember(Name = "regions", IsRequired = true, EmitDefaultValue = true)]
public List<Region> Regions { get; }
Property Value
Type | Description |
---|---|
List<Region> |