Skip to content

Class: DewProfileStats ​

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

Fields ​

NameDeclarationDescription
gemspublic Dictionary<string, DewProfileStats.ItemData> gems
heroespublic Dictionary<string, DewProfileStats.HeroData> heroes
monsterspublic Dictionary<string, DewProfileStats.MonsterData> monsters
recoveredLossPointspublic List<string> recoveredLossPoints
skillspublic Dictionary<string, DewProfileStats.ItemData> skills
totalpublic DewProfileStats.HeroData total
zonespublic Dictionary<string, DewProfileStats.ZoneData> zones

Methods ​

AddMasteryPoints(string, long) ​

csharp
public void AddMasteryPoints(string heroType, long points)

Parameters:

NameTypeDescription
heroTypestring
pointslong

ApplyRecoveryDelta(DewProfileStats) ​

csharp
public void ApplyRecoveryDelta(DewProfileStats delta)

Parameters:

NameTypeDescription
deltaDewProfileStats

GetItemData(Type) ​

csharp
public DewProfileStats.ItemData GetItemData(Type type)

Parameters:

NameTypeDescription
typeSystem.Type

Returns: DewProfileStats.ItemData

GetRecoveryDelta(DewProfileStats, DewProfileStats) ​

csharp
public static DewProfileStats GetRecoveryDelta(DewProfileStats beforeLoss, DewProfileStats afterLoss)

Parameters:

NameTypeDescription
beforeLossDewProfileStats
afterLossDewProfileStats

Returns: DewProfileStats

RemoveMasteryPoints(string, long) ​

csharp
public void RemoveMasteryPoints(string heroType, long points)

Parameters:

NameTypeDescription
heroTypestring
pointslong

TryGetItemData(Type, out ItemData) ​

csharp
public bool TryGetItemData(Type type, out DewProfileStats.ItemData data)

Parameters:

NameTypeDescription
typeSystem.Type
dataDewProfileStats.ItemData

Returns: bool

UpdateTotalData(long) ​

csharp
public void UpdateTotalData(long minPlayTime = 0)

Parameters:

NameTypeDescription
minPlayTimelong

Validate() ​

csharp
public void Validate()

Maintained by the Shape of Dreams Modding Community