Skip to content

Class: DewGameObserverWithProgress ​

csharp
public class DewGameObserverWithProgress : DewPersistentGameObserver

Properties ​

NameDeclarationDescription
heropublic Hero hero { get; }

Methods ​

AchCompleteWhen(Func<bool>, float) ​

csharp
protected void AchCompleteWhen(Func<bool> condition, float checkInterval = 2)

Parameters:

NameTypeDescription
conditionSystem.Func&lt;TResult&gt;&lt;bool&gt;
checkIntervalfloat

Complete() ​

csharp
public void Complete()

GetCurrentProgress() ​

Get current progress of this observer.

csharp
public virtual int GetCurrentProgress()

Returns: int

GetMaxProgress() ​

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

csharp
public virtual int GetMaxProgress()

Returns: int

OnComplete() ​

csharp
public virtual void OnComplete()

Maintained by the Shape of Dreams Modding Community