Skip to main content

OverTimeEffectInstance

class SoftKitty.OverTimeEffectInstance

OverTimeEffectInstance is the base class for visual graph objects in the system. Developers can inherit from this class to create custom graph script and handle the interactions and logic associated with them.

Properties

public GraphObject mGraph

The visual graph object associated with this instance.


protected Root currentRootInstance

The runtime instance of the root node of the visual graph object.


Methods

public virtual void SetDynamicValue(string _uid, float _value)

Sets a dynamic variable in the visual graph object by its unique UID.


public virtual void SetDealerEntity(Entity _entity)

Sets the dealer entity for the visual graph object.


public virtual void SetTargetEntity(Entity _entity)

Sets the target entity for the visual graph object.


public Entity GetDealerEntity()

Retrieves the current dealer entity set for the visual graph object.


public Entity GetTargetEntity()

Retrieves the current target entity set for the visual graph object.


public void UpdateAllConditions(int _hash)

Updates all conditions of the visual graph object. An integer hash is required to cache the result.


public virtual void Init()

Initializes the graph object. Called when the game starts.