Table of Contents

Interface IWhitelistExceptionProvider

Namespace
Uncreated.Warfare.Kits.Whitelists
Assembly
Uncreated.Warfare.dll
public interface IWhitelistExceptionProvider

Methods

GetWhitelistAmount(IAssetContainer)

Get the amount value on whitelists.

ValueTask<int> GetWhitelistAmount(IAssetContainer assetContainer)

Parameters

assetContainer IAssetContainer

Returns

ValueTask<int>

0 if the item isn't whitelisted, -1 if it's infinite, otherwise the amount.