Table of Contents

Class AssetParameterValueExtensions

Namespace
Uncreated.Warfare.Quests.Parameters
Assembly
Uncreated.Warfare.dll
public static class AssetParameterValueExtensions
Inheritance
AssetParameterValueExtensions
Inherited Members

Methods

IsMatch<TAssetType>(QuestParameterValue<Guid>, Asset)

Compare a value against the current value of this parameter. Best used with inclusive selection.

public static bool IsMatch<TAssetType>(this QuestParameterValue<Guid> assetType, Asset asset) where TAssetType : Asset

Parameters

assetType QuestParameterValue<Guid>
asset Asset

Returns

bool

Type Parameters

TAssetType

Compare a value against the current value of this parameter. Best used with inclusive selection.

public static bool IsMatch<TAssetType>(this QuestParameterValue<Guid> assetType, IAssetLink<Asset>? asset) where TAssetType : Asset

Parameters

assetType QuestParameterValue<Guid>
asset IAssetLink<Asset>

Returns

bool

Type Parameters

TAssetType