Name | Type | Description |
---|---|---|
pluginName |
String | Name of the plugin |
Example
const params = new DKTools.ParameterManager('DKTools');
Members
Methods
-
Parse a string (supports escape characters of the RPG Maker 1.5+)
Name Type Description string
String String to parse Returns:
Type Description Object | String Parsed string -
Changes the parameter value
Name Type Description path
Array.<String> Path to parameter value
* New value -
Returns a parameter by its name
Name Type Description parameterName
String Name of parameter item
Number | String | Object optional Index (for an array) or property (for an object) or object with properties to find options
Object optional Options for found item Name Type Description key
String optional Key (property) of item index
Number optional Index of item Returns:
Type Description * | undefined Parameter by its name or undefined -
Initializes the manager
Name Type Description pluginName
String Name of the plugin -
Initializes plugin parameters