Skip to content

Class: DewPlatformSettings ​

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

Fields ​

NameDeclarationDescription
activeModspublic List<string> activeMods
audiopublic DewAudioSettings_Platform audio
controlspublic DewControlSettings_Platform controls
CurrentSaveVersionpublic const int CurrentSaveVersion = 1
dontShowProfileMigrationpublic bool dontShowProfileMigration
enableAutoReloadModspublic bool enableAutoReloadMods
gameplaypublic DewGameplaySettings_Platform gameplay
graphicspublic DewGraphicsSettings graphics
lastAgreedEulaKeyLocalpublic string lastAgreedEulaKeyLocalThis acts as a fallback when online check fails.
lastProfilePathpublic string lastProfilePath
saveVersionpublic int saveVersion

Methods ​

Initialize() ​

This is called on new platform settings.

csharp
public void Initialize()

Validate() ​

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

csharp
public void Validate()

Maintained by the Shape of Dreams Modding Community