GDTKItemStatSource.GenerateSubscriptions
Declaration#
public List<SimpleEvent> GenerateSubscriptions(string value, SimpleEvent target)Parameters#
| Name | Description |
|---|---|
| value | Expression to generate subscriptions for |
| target | Subscription event |
Description#
Generate subscriptions for an expression
Usage#
using NullSave.GDTK;using NullSave.GDTK.Inventory;using System.Collections.Generic;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(GDTKItemStatSource target, string other) { List<SimpleEvent> result = target.GenerateSubscriptions(other, Callback); }
private void Callback() { }
}