Skip to content

EffectPack.Mutex ​

A string or collection of strings that can be used to prevent multiple effects from being active at the same time.

Kind: Struct

Namespace: CrowdControl.Games

Inheritance: IEnumerable → IEnumerable<string> → IReadOnlyCollection<string>

Public Constructors

EffectPack.Mutex(string[] values)

Creates a CrowdControl.Games.EffectPack.Mutex with the specified values.

EffectPack.Mutex(IEnumerable values)

Creates a CrowdControl.Games.EffectPack.Mutex with the specified values.

Public Member Functions

IEnumerator

GetEnumerator()

Gets an enumerator that iterates through the collection of mutex values.

Public Static Functions

Mutex

Create(ReadOnlySpan items)

Creates a CrowdControl.Games.EffectPack.Mutex with the specified values.

Properties

string[]

Values

[get, ]

The values to mutex with other effects.

int

Count

[get, ]

The number of values in the mutex.