Search Results for

    Show / Hide Table of Contents

    Class DewPersistentGameObserver

    Inheritance
    object
    DewPersistentGameObserver
    DewGameObserverWithProgress
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    public class DewPersistentGameObserver

    Fields

    _coroutines

    Declaration
    protected List<Coroutine> _coroutines
    Field Value
    Type Description
    System.Collections.Generic.List<T><UnityEngine.Coroutine>

    Properties

    name

    Declaration
    public string name { get; }
    Property Value
    Type Description
    string

    Methods

    AchOnDealDamage(Action<EventInfoDamage>)

    Declaration
    protected void AchOnDealDamage(Action<EventInfoDamage> func)
    Parameters
    Type Name Description
    System.Action<T><EventInfoDamage> func

    AchOnDoHeal(Action<EventInfoHeal>)

    Declaration
    protected void AchOnDoHeal(Action<EventInfoHeal> func)
    Parameters
    Type Name Description
    System.Action<T><EventInfoHeal> func

    AchOnGameConcluded(Action<DewGameResult>)

    Declaration
    protected void AchOnGameConcluded(Action<DewGameResult> func)
    Parameters
    Type Name Description
    System.Action<T><DewGameResult> func

    AchOnKillLastHit(Action<EventInfoKill>)

    Declaration
    protected void AchOnKillLastHit(Action<EventInfoKill> func)
    Parameters
    Type Name Description
    System.Action<T><EventInfoKill> func

    AchOnKillOrAssist(Action<EventInfoKill>)

    Declaration
    protected void AchOnKillOrAssist(Action<EventInfoKill> func)
    Parameters
    Type Name Description
    System.Action<T><EventInfoKill> func

    AchOnTakeDamage(Action<EventInfoDamage>)

    Declaration
    protected void AchOnTakeDamage(Action<EventInfoDamage> func)
    Parameters
    Type Name Description
    System.Action<T><EventInfoDamage> func

    AchSetInterval(Action, float)

    Declaration
    protected void AchSetInterval(Action func, float interval)
    Parameters
    Type Name Description
    System.Action func
    float interval

    AchStartCoroutine(IEnumerator)

    Declaration
    protected void AchStartCoroutine(IEnumerator routine)
    Parameters
    Type Name Description
    System.Collections.IEnumerator routine

    AchStopAllCoroutines()

    Declaration
    protected void AchStopAllCoroutines()

    FeedGameResult(DewGameResult)

    This needs to be called when the game ends by appropriate observer managers, e.g. AchievementManager, InGameReverieManager

    Declaration
    public void FeedGameResult(DewGameResult obj)
    Parameters
    Type Name Description
    DewGameResult obj

    LoadState(Dictionary<string, string>)

    Load all persistent variables from the provided dictionary.

    Declaration
    public void LoadState(Dictionary<string, string> storage)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<TKey, TValue><string, string> storage

    OnStartLocalClient()

    Declaration
    public virtual void OnStartLocalClient()

    OnStopLocalClient()

    Helper trackers are unregistered automatically, you only have to unregister custom handlers.

    Declaration
    public virtual void OnStopLocalClient()

    SaveState(Dictionary<string, string>)

    Save all persistent variables to the provided dictionary.

    Declaration
    public void SaveState(Dictionary<string, string> storage)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<TKey, TValue><string, string> storage
    In This Article
    Back to top Shape of Dreams API Documentation