Skip to content

iw4madminapplicationpluginscript ScriptPluginHelper

RaidMax edited this page May 21, 2023 · 1 revision

ScriptPluginHelper 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.ScriptPluginHelper[[ScriptPluginHelper]]
  end
Loading

Members

Methods

Public methods

Returns Name
void GetUrl(...)
void PostUrl(string url, string body, string bearerToken, Delegate callback)
void RequestNotifyAfterDelay(int delayMs, Delegate callback)
void RequestUrl(ScriptPluginWebRequest request, Delegate callback)

Details

Constructors

ScriptPluginHelper

Source code

public ScriptPluginHelper(IManager manager, ScriptPluginV2 scriptPlugin)
Arguments
Type Name Description
IManager manager
ScriptPluginV2 scriptPlugin

Methods

GetUrl [1/2]

Source code

public void GetUrl(string url, Delegate callback)
Arguments
Type Name Description
string url
Delegate callback

GetUrl [2/2]

Source code

public void GetUrl(string url, string bearerToken, Delegate callback)
Arguments
Type Name Description
string url
string bearerToken
Delegate callback

PostUrl

Source code

public void PostUrl(string url, string body, string bearerToken, Delegate callback)
Arguments
Type Name Description
string url
string body
string bearerToken
Delegate callback

RequestUrl

Source code

public void RequestUrl(ScriptPluginWebRequest request, Delegate callback)
Arguments
Type Name Description
ScriptPluginWebRequest request
Delegate callback

RequestNotifyAfterDelay

Source code

public void RequestNotifyAfterDelay(int delayMs, Delegate callback)
Arguments
Type Name Description
int delayMs
Delegate callback

Generated with ModularDoc

Clone this wiki locally