Skip to main content

StatModifierPlugin.RunCommand

Declaration#

public virtual void RunCommand(string command, Object[] args, Boolean& complete)

Parameters#

NameDescription
commandCommand to run
argsParameters
completeComplete 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);    }
}