Class Override
An object that holds a dictionary of pool overrides, indexed by the base pool ID. A ticket whose attributes would have placed it in the base pool will instead be placed in the corresponding variant pool if there is an override for this base pool.
Inherited Members
Namespace: Unity.Services.Matchmaker.Models
Assembly: Unity.Services.Multiplayer.dll
Syntax
[Preserve]
[DataContract(Name = "Override")]
public class Override
Constructors
Override(string, string, string)
An object that holds a dictionary of pool overrides, indexed by the base pool ID. A ticket whose attributes would have placed it in the base pool will instead be placed in the corresponding variant pool if there is an override for this base pool.
Declaration
[Preserve]
public Override(string basePoolId = null, string variantId = null, string poolOverrideId = null)
Parameters
Type | Name | Description |
---|---|---|
string | basePoolId | The id of the base pool linked to that override |
string | variantId | The Id of the variant that identifies this override in Player Engagement. |
string | poolOverrideId | The Id of the pool that overrides the base pool. If null, this mean the ticket falls into the control group and will get assigned the base pool. |
Properties
BasePoolId
The id of the base pool linked to that override
Declaration
[Preserve]
[DataMember(Name = "basePoolId", EmitDefaultValue = false)]
public string BasePoolId { get; }
Property Value
Type | Description |
---|---|
string |
PoolOverrideId
The Id of the pool that overrides the base pool. If null, this mean the ticket falls into the control group and will get assigned the base pool.
Declaration
[Preserve]
[DataMember(Name = "poolOverrideId", EmitDefaultValue = false)]
public string PoolOverrideId { get; }
Property Value
Type | Description |
---|---|
string |
VariantId
The Id of the variant that identifies this override in Player Engagement.
Declaration
[Preserve]
[DataMember(Name = "variantId", EmitDefaultValue = false)]
public string VariantId { get; }
Property Value
Type | Description |
---|---|
string |