Search Results for

    Show / Hide Table of Contents

    Class DewGameObserverWithProgress

    Inheritance
    object
    DewPersistentGameObserver
    DewGameObserverWithProgress
    DewAchievementItem
    DewReverieItem
    Inherited Members
    DewPersistentGameObserver.name
    DewPersistentGameObserver._coroutines
    DewPersistentGameObserver.OnStartLocalClient()
    DewPersistentGameObserver.OnStopLocalClient()
    DewPersistentGameObserver.LoadState(Dictionary<string, string>)
    DewPersistentGameObserver.SaveState(Dictionary<string, string>)
    DewPersistentGameObserver.FeedGameResult(DewGameResult)
    DewPersistentGameObserver.AchStartCoroutine(IEnumerator)
    DewPersistentGameObserver.AchStopAllCoroutines()
    DewPersistentGameObserver.AchSetInterval(Action, float)
    DewPersistentGameObserver.AchOnKillLastHit(Action<EventInfoKill>)
    DewPersistentGameObserver.AchOnKillOrAssist(Action<EventInfoKill>)
    DewPersistentGameObserver.AchOnDealDamage(Action<EventInfoDamage>)
    DewPersistentGameObserver.AchOnDoHeal(Action<EventInfoHeal>)
    DewPersistentGameObserver.AchOnTakeDamage(Action<EventInfoDamage>)
    DewPersistentGameObserver.AchOnGameConcluded(Action<DewGameResult>)
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    public class DewGameObserverWithProgress : DewPersistentGameObserver

    Properties

    hero

    Declaration
    public Hero hero { get; }
    Property Value
    Type Description
    Hero

    Methods

    AchCompleteWhen(Func<bool>, float)

    Declaration
    protected void AchCompleteWhen(Func<bool> condition, float checkInterval = 2)
    Parameters
    Type Name Description
    System.Func<TResult><bool> condition
    float checkInterval

    Complete()

    Declaration
    public void Complete()

    GetCurrentProgress()

    Get current progress of this observer.

    Declaration
    public virtual int GetCurrentProgress()
    Returns
    Type Description
    int

    GetMaxProgress()

    Get max progress of this observer. Defaults to 1. Must return consistent value.

    Declaration
    public virtual int GetMaxProgress()
    Returns
    Type Description
    int

    OnComplete()

    Declaration
    public virtual void OnComplete()
    In This Article
    Back to top Shape of Dreams API Documentation