Class: DewProfileStats
- Namespace:
Global - Assembly:
Dew.Core.dll
csharp
public class DewProfileStatsFields
| Name | Declaration | Description |
|---|---|---|
gems | public Dictionary<string, DewProfileStats.ItemData> gems | |
heroes | public Dictionary<string, DewProfileStats.HeroData> heroes | |
monsters | public Dictionary<string, DewProfileStats.MonsterData> monsters | |
recoveredLossPoints | public List<string> recoveredLossPoints | |
skills | public Dictionary<string, DewProfileStats.ItemData> skills | |
total | public DewProfileStats.HeroData total | |
zones | public Dictionary<string, DewProfileStats.ZoneData> zones |
Methods
AddMasteryPoints(string, long)
csharp
public void AddMasteryPoints(string heroType, long points)Parameters:
| Name | Type | Description |
|---|---|---|
heroType | string | |
points | long |
ApplyRecoveryDelta(DewProfileStats)
csharp
public void ApplyRecoveryDelta(DewProfileStats delta)Parameters:
| Name | Type | Description |
|---|---|---|
delta | DewProfileStats |
GetItemData(Type)
csharp
public DewProfileStats.ItemData GetItemData(Type type)Parameters:
| Name | Type | Description |
|---|---|---|
type | System.Type |
Returns: DewProfileStats.ItemData
GetRecoveryDelta(DewProfileStats, DewProfileStats)
csharp
public static DewProfileStats GetRecoveryDelta(DewProfileStats beforeLoss, DewProfileStats afterLoss)Parameters:
| Name | Type | Description |
|---|---|---|
beforeLoss | DewProfileStats | |
afterLoss | DewProfileStats |
Returns: DewProfileStats
RemoveMasteryPoints(string, long)
csharp
public void RemoveMasteryPoints(string heroType, long points)Parameters:
| Name | Type | Description |
|---|---|---|
heroType | string | |
points | long |
TryGetItemData(Type, out ItemData)
csharp
public bool TryGetItemData(Type type, out DewProfileStats.ItemData data)Parameters:
| Name | Type | Description |
|---|---|---|
type | System.Type | |
data | DewProfileStats.ItemData |
Returns: bool
UpdateTotalData(long)
csharp
public void UpdateTotalData(long minPlayTime = 0)Parameters:
| Name | Type | Description |
|---|---|---|
minPlayTime | long |
Validate()
csharp
public void Validate()