Skip to content

Class: DewProfile ​

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

Fields ​

NameDeclarationDescription
accessoriespublic Dictionary<string, DewProfile.CosmeticsData> accessories
achievementspublic Dictionary<string, DewProfile.AchievementData> achievements
artifactspublic Dictionary<string, DewProfile.UnlockData> artifactsContains all artifacts in the game, including the ones that are excluded from the pool.
audiopublic DewAudioSettings_User audio
completedReveriespublic int completedReveries
controlspublic DewControlSettings_User controls
creationDatepublic long creationDate
CurrentSaveVersionpublic const int CurrentSaveVersion = 9
dejavuCostReductionPeriodTimestamppublic Dictionary<string, long> dejavuCostReductionPeriodTimestamp
didMeetDreamTellerpublic bool didMeetDreamTeller
didPlayTutorialpublic bool didPlayTutorial
didReadConstellationNoticepublic bool didReadConstellationNotice
didReadLoopNoticepublic bool didReadLoopNotice
didReadPrivateDemoNoticepublic bool didReadPrivateDemoNotice
didRewardMasterypublic bool didRewardMastery
doneTutorialspublic List<string> doneTutorials
emotespublic Dictionary<string, DewProfile.CosmeticsData> emotes
equippedEmotespublic List<string> equippedEmotes
experienceFlagspublic List<string> experienceFlags
favoriteGameResultspublic List<DewGameResult> favoriteGameResults
freeVersionPlayTimeMinutespublic long freeVersionPlayTimeMinutes
gameplaypublic DewGameplaySettings_User gameplay
gemspublic Dictionary<string, DewProfile.UnlockData> gemsContains all gems in the game, including the ones that are excluded from the pool.
guidpublic string guidThis will never change, unless this profile is from a different Steam account.
heroEquippedAccspublic Dictionary<string, List<string>> heroEquippedAccs
heroespublic Dictionary<string, DewProfile.UnlockData> heroesContains all heroes in the game.
heroLoadoutspublic Dictionary<string, List<HeroLoadoutData>> heroLoadouts
heroSelectedSkinspublic Dictionary<string, string> heroSelectedSkins
heroUnlockedStarSlotspublic Dictionary<string, DewProfile.HeroStarSlotUnlockData> heroUnlockedStarSlots
languagepublic string language
lastGameResultspublic List<DewGameResult> lastGameResults
lastReverieTypespublic List<string> lastReverieTypes
lastSteamIdpublic string lastSteamId
lastUnrewardedGameResultpublic DewGameResult lastUnrewardedGameResult
lastUpsertpublic long lastUpsert
lucidDreamspublic Dictionary<string, DewProfile.UnlockData> lucidDreamsContains all lucid dreams in the game, including the ones that are excluded from the pool.
maxObliterationSlotspublic int maxObliterationSlots
namepublic string name
nametagspublic Dictionary<string, DewProfile.CosmeticsData> nametags
newStarspublic Dictionary<string, DewProfile.StarData> newStars
nextRerollReplenishTimestamppublic long nextRerollReplenishTimestamp
preferredGameSettingspublic Dictionary<string, PreferredGameSettings> preferredGameSettings
preferredNametagpublic string preferredNametag
receivedLevelUpRewardspublic Dictionary<string, int> receivedLevelUpRewards
recentlyConcededGamespublic List<DewProfile.ConcededGameData> recentlyConcededGames
remainingRerollspublic int remainingRerolls
reverieSlotspublic List<DewProfile.DailyReverieData> reverieSlots
saveVersionpublic int saveVersion
seenGuidespublic List<string> seenGuides
skillspublic Dictionary<string, DewProfile.UnlockData> skillsContains all skills in the game, including the ones that are character only or excluded from the pool.
skinspublic Dictionary<string, DewProfile.CosmeticsData> skins
specialReveriepublic DewProfile.SpecialReverieData specialReverie
spentStardustpublic int spentStardust
stardustpublic int stardust
stardustPurchasespublic List<DewProfile.PurchaseData> stardustPurchases
starspublic Dictionary<string, DewProfile.StarData> starsThis is obsolete in non-demo builds.
totalPlayTimeMinutespublic long totalPlayTimeMinutes

Methods ​

DiscoverArtifact(string) ​

csharp
public void DiscoverArtifact(string g)

Parameters:

NameTypeDescription
gstring

DiscoverGem(string) ​

csharp
public bool DiscoverGem(string g)

Parameters:

NameTypeDescription
gstring

Returns: bool

DiscoverSkill(string) ​

csharp
public bool DiscoverSkill(string s)

Parameters:

NameTypeDescription
sstring

Returns: bool

GetLockedGemCount() ​

csharp
public int GetLockedGemCount()

Returns: int

GetLockedLucidDreamsCount() ​

csharp
public int GetLockedLucidDreamsCount()

Returns: int

GetLockedSkillCount() ​

csharp
public int GetLockedSkillCount()

Returns: int

GetPreferredGameSettings(string) ​

csharp
public PreferredGameSettings GetPreferredGameSettings(string key = null)

Parameters:

NameTypeDescription
keystring

Returns: PreferredGameSettings

GetUnlockedGemCount() ​

csharp
public int GetUnlockedGemCount()

Returns: int

GetUnlockedLucidDreamsCount() ​

csharp
public int GetUnlockedLucidDreamsCount()

Returns: int

GetUnlockedSkillCount() ​

csharp
public int GetUnlockedSkillCount()

Returns: int

Initialize() ​

This is called on new profiles.

csharp
public void Initialize()

LockAccessory(string) ​

csharp
public void LockAccessory(string accName)

Parameters:

NameTypeDescription
accNamestring

LockEmote(string) ​

csharp
public void LockEmote(string emoteName)

Parameters:

NameTypeDescription
emoteNamestring

LockGem(string) ​

csharp
public void LockGem(string g)

Parameters:

NameTypeDescription
gstring

LockHero(string) ​

csharp
public void LockHero(string s)

Parameters:

NameTypeDescription
sstring

LockLucidDream(string) ​

csharp
public void LockLucidDream(string l)

Parameters:

NameTypeDescription
lstring

LockNametag(string) ​

csharp
public void LockNametag(string ntName)

Parameters:

NameTypeDescription
ntNamestring

LockSkill(string) ​

csharp
public void LockSkill(string s)

Parameters:

NameTypeDescription
sstring

LockSkin(string) ​

csharp
public void LockSkin(string ntName)

Parameters:

NameTypeDescription
ntNamestring

RefundPurchase(Func<PurchaseData, bool>) ​

csharp
public int RefundPurchase(Func<DewProfile.PurchaseData, bool> condition)

Parameters:

NameTypeDescription
conditionSystem.Func<T, TResult><DewProfile.PurchaseData,bool>

Returns: int

UnlockAccessory(string, string) ​

csharp
public void UnlockAccessory(string accName, string ownershipKey)

Parameters:

NameTypeDescription
accNamestring
ownershipKeystring

UnlockEmote(string, string) ​

csharp
public void UnlockEmote(string emoteName, string ownershipKey)

Parameters:

NameTypeDescription
emoteNamestring
ownershipKeystring

UnlockGem(string) ​

csharp
public void UnlockGem(string g)

Parameters:

NameTypeDescription
gstring

UnlockHero(string) ​

csharp
public void UnlockHero(string s)

Parameters:

NameTypeDescription
sstring

UnlockLucidDream(string) ​

csharp
public void UnlockLucidDream(string l)

Parameters:

NameTypeDescription
lstring

UnlockNametag(string, string) ​

csharp
public void UnlockNametag(string ntName, string ownershipKey)

Parameters:

NameTypeDescription
ntNamestring
ownershipKeystring

UnlockServerGeneratedItem(DecryptedItemData) ​

csharp
public void UnlockServerGeneratedItem(DecryptedItemData item)

Parameters:

NameTypeDescription
itemDecryptedItemData

UnlockSkill(string) ​

csharp
public void UnlockSkill(string s)

Parameters:

NameTypeDescription
sstring

UnlockSkin(string, string) ​

csharp
public void UnlockSkin(string ntName, string ownershipKey)

Parameters:

NameTypeDescription
ntNamestring
ownershipKeystring

Validate() ​

Must be called at least once before using this profile. Does error checking and validation.

csharp
public void Validate()

ValidateProfileName(string) ​

csharp
public static bool ValidateProfileName(string name)

Parameters:

NameTypeDescription
namestring

Returns: bool

Maintained by the Shape of Dreams Modding Community