OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class UnturnedUIEffectsKeysProvider

Inheritance
System.Object
UnturnedUIEffectsKeysProvider
Implements
IUnturnedUIEffectsKeysProvider
Namespace: OpenMod.Unturned.Effects
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedUIEffectsKeysProvider : object, IUnturnedUIEffectsKeysProvider

Constructors

| Improve this Doc View Source

UnturnedUIEffectsKeysProvider(ILogger<UnturnedUIEffectsKeysProvider>)

Declaration
public UnturnedUIEffectsKeysProvider(ILogger<UnturnedUIEffectsKeysProvider> logger)
Parameters
Type Name Description
ILogger<UnturnedUIEffectsKeysProvider> logger

Methods

| Improve this Doc View Source

BindKey(IOpenModComponent)

Declaration
public UnturnedUIEffectKey BindKey(IOpenModComponent component)
Parameters
Type Name Description
IOpenModComponent component
Returns
Type Description
UnturnedUIEffectKey
| Improve this Doc View Source

BindKeys(IOpenModComponent, Int32)

Declaration
public IEnumerable<UnturnedUIEffectKey> BindKeys(IOpenModComponent component, int amount)
Parameters
Type Name Description
IOpenModComponent component
System.Int32 amount
Returns
Type Description
IEnumerable<UnturnedUIEffectKey>
| Improve this Doc View Source

ReleaseAllKeys(IOpenModComponent)

Declaration
public void ReleaseAllKeys(IOpenModComponent component)
Parameters
Type Name Description
IOpenModComponent component
| Improve this Doc View Source

ReleaseKey(IOpenModComponent, UnturnedUIEffectKey)

Declaration
public bool ReleaseKey(IOpenModComponent component, UnturnedUIEffectKey key)
Parameters
Type Name Description
IOpenModComponent component
UnturnedUIEffectKey key
Returns
Type Description
System.Boolean

Implements

IUnturnedUIEffectsKeysProvider

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)