1 iw4madminapplicationpluginscript ScriptPluginConfigurationWrapper
RaidMax edited this page 2023-05-20 22:09:21 -05:00

ScriptPluginConfigurationWrapper Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph IW4MAdmin.Application.Plugin.Script
  IW4MAdmin.Application.Plugin.Script.ScriptPluginConfigurationWrapper[[ScriptPluginConfigurationWrapper]]
  end

Members

Methods

Protected methods

Returns Name
void Finalize()

Public methods

Returns Name
JsValue GetValue(...)
void SetName(string name)
Task SetValue(string key, object value)

Details

Constructors

ScriptPluginConfigurationWrapper

Source code

public ScriptPluginConfigurationWrapper(string pluginName, Engine scriptEngine, IConfigurationHandlerV2<ScriptPluginConfiguration> configHandler)
Arguments
Type Name Description
string pluginName
Engine scriptEngine
IConfigurationHandlerV2<ScriptPluginConfiguration> configHandler

Methods

Finalize

Source code

protected override void Finalize()

SetName

Source code

public void SetName(string name)
Arguments
Type Name Description
string name

SetValue

public async Task SetValue(string key, object value)
Arguments
Type Name Description
string key
object value

GetValue [1/2]

Source code

public JsValue GetValue(string key)
Arguments
Type Name Description
string key

GetValue [2/2]

Source code

public JsValue GetValue(string key, Delegate updateCallback)
Arguments
Type Name Description
string key
Delegate updateCallback

Events

ConfigurationUpdated

public event Action<JsValue, Delegate> ConfigurationUpdated

Generated with ModularDoc