Class CustomConnectionDetails
CustomConnectionDetails model
Inherited Members
Namespace: Unity.Services.Matchmaker.Models
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "CustomConnectionDetails")]
public class CustomConnectionDetails
Constructors
CustomConnectionDetails(string, Dictionary<string, object>)
Creates an instance of CustomConnectionDetails.
Declaration
[Preserve]
public CustomConnectionDetails(string type, Dictionary<string, object> customData = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | type | type param |
| Dictionary<string, object> | customData | customData param |
Properties
CustomData
Parameter customData of CustomConnectionDetails
Declaration
[Preserve]
[JsonConverter(typeof(JsonObjectCollectionConverter))]
[DataMember(Name = "customData", EmitDefaultValue = false)]
public Dictionary<string, IDeserializable> CustomData { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, IDeserializable> |
Type
Parameter type of CustomConnectionDetails
Declaration
[Preserve]
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; }
Property Value
| Type | Description |
|---|---|
| string |