StatModifierPlugin.RunCommand
Declaration#
public virtual void RunCommand(string command, Object[] args, Boolean& complete)Parameters#
| Name | Description |
|---|---|
| command | Command to run |
| args | Parameters |
| complete | Complete indicator |
Description#
Run a command
Usage#
Example
using NullSave.GDTK.Inventory;using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(StatModifierPlugin target, GDTKItem item) { bool complete = false; target.RunCommand("attach", new object[] { item, this }, ref complete); }
}