v1.1.4
Latest
2022.3+

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.

Inheritance
System.Object
Override
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Matchmaker.Models
Syntax
[Preserve]
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
TypeNameDescription
System.StringbasePoolId

The id of the base pool linked to that override

System.StringvariantId

The Id of the variant that identifies this override in Player Engagement.

System.StringpoolOverrideId

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]
public string BasePoolId { get; }
Property Value
TypeDescription
System.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]
public string PoolOverrideId { get; }
Property Value
TypeDescription
System.String

VariantId

The Id of the variant that identifies this override in Player Engagement.

Declaration
[Preserve]
public string VariantId { get; }
Property Value
TypeDescription
System.String