Class MigrationDataInfo
The migration data information of a lobby.
Inherited Members
Namespace: Unity.Services.Lobbies.Models
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "MigrationDataInfo")]
public class MigrationDataInfo
Constructors
MigrationDataInfo(string, string, DateTime, int)
The migration data information of a lobby.
Declaration
[Preserve]
public MigrationDataInfo(string write = null, string read = null, DateTime expires = default, int maxSize = 0)
Parameters
Type | Name | Description |
---|---|---|
string | write | The migration data write url. |
string | read | The migration data read url. |
Date |
expires | When the urls will expire. The timestamp is in UTC and conforms to ISO 8601. |
int | maxSize | The max size of migration data in bytes. |
Properties
Expires
When the urls will expire. The timestamp is in UTC and conforms to ISO 8601.
Declaration
[Preserve]
[DataMember(Name = "expires", EmitDefaultValue = false)]
public DateTime Expires { get; }
Property Value
Type | Description |
---|---|
Date |
MaxSize
The max size of migration data in bytes.
Declaration
[Preserve]
[DataMember(Name = "maxSize", EmitDefaultValue = false)]
public int MaxSize { get; }
Property Value
Type | Description |
---|---|
int |
Read
The migration data read url.
Declaration
[Preserve]
[DataMember(Name = "read", EmitDefaultValue = false)]
public string Read { get; }
Property Value
Type | Description |
---|---|
string |
Write
The migration data write url.
Declaration
[Preserve]
[DataMember(Name = "write", EmitDefaultValue = false)]
public string Write { get; }
Property Value
Type | Description |
---|---|
string |