Table of Contents

Interface ITagCondition<TSelf, TTagSet>

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public interface ITagCondition<TSelf, TTagSet>

Type Parameters

TSelf
TTagSet
Extension Methods

Methods

Except(TSelf)

TSelf Except(TSelf array)

Parameters

array TSelf

Returns

TSelf

GetEmpty()

public static abstract TSelf GetEmpty()

Returns

TSelf

Intersect(TSelf)

TSelf Intersect(TSelf array)

Parameters

array TSelf

Returns

TSelf

IsEmpty()

bool IsEmpty()

Returns

bool

IsSubsetOf(TTagSet)

bool IsSubsetOf(TTagSet array)

Parameters

array TTagSet

Returns

bool

IsSupersetOf(TTagSet)

bool IsSupersetOf(TTagSet array)

Parameters

array TTagSet

Returns

bool

Overlaps(TTagSet)

bool Overlaps(TTagSet array)

Parameters

array TTagSet

Returns

bool

OverlapsWithEach(TTagSet, IEnumerable<TSelf>)

public static abstract bool OverlapsWithEach(TTagSet array, IEnumerable<TSelf> conditions)

Parameters

array TTagSet
conditions IEnumerable<TSelf>

Returns

bool

SetEquals(TTagSet)

bool SetEquals(TTagSet array)

Parameters

array TTagSet

Returns

bool

SupersetOfAtLeastOne(TTagSet, IEnumerable<TSelf>)

public static abstract bool SupersetOfAtLeastOne(TTagSet array, IEnumerable<TSelf> conditions)

Parameters

array TTagSet
conditions IEnumerable<TSelf>

Returns

bool

SymmetricExcept(TSelf)

TSelf SymmetricExcept(TSelf array)

Parameters

array TSelf

Returns

TSelf

Union(TSelf)

TSelf Union(TSelf array)

Parameters

array TSelf

Returns

TSelf