Skip to content

Class: DewReverie ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
csharp
public static class DewReverie

Methods ​

CheckSpecialReveries() ​

csharp
public static void CheckSpecialReveries()

ClearDailyReverie(int) ​

csharp
public static void ClearDailyReverie(int index)

Parameters:

NameTypeDescription
indexint

ClearSpecialReverie() ​

csharp
public static void ClearSpecialReverie()

ReceiveRewardOfReverie(ReverieDataBase) ​

Receive the reward of a specific reverie. This does not remove the reverie.If succeeds, returns true.On error, this returns false and prints out error message to the user.

csharp
public static UniTask<bool> ReceiveRewardOfReverie(DewProfile.ReverieDataBase data)

Parameters:

NameTypeDescription
dataDewProfile.ReverieDataBase

Returns: Cysharp.Threading.Tasks.UniTask&lt;T&gt;&lt;bool&gt;

SetDailyReverie(int, Type) ​

csharp
public static void SetDailyReverie(int index, Type type)

Parameters:

NameTypeDescription
indexint
typeSystem.Type

SetDailyReverie&lt;T&gt;(int) ​

csharp
public static void SetDailyReverie<T>(int index)

Parameters:

NameTypeDescription
indexint
``T

SetRandomDailyReverie(int) ​

csharp
public static void SetRandomDailyReverie(int index)

Parameters:

NameTypeDescription
indexint

SetSpecialReverie(Type, DateTime) ​

csharp
public static void SetSpecialReverie(Type type, DateTime endDate)

Parameters:

NameTypeDescription
typeSystem.Type
endDateSystem.DateTime

StartNextSpecialReverieOrClear() ​

csharp
public static void StartNextSpecialReverieOrClear()

Maintained by the Shape of Dreams Modding Community