Skip to main content

GDTKItemStatSource.GenerateSubscriptions

Declaration#

public List<SimpleEvent> GenerateSubscriptions(string value, SimpleEvent target)

Parameters#

NameDescription
valueExpression to generate subscriptions for
targetSubscription 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() { }
}