public void InitializeDefaults() { if (LDD == null) { LDD = new BuildConfiguration() { ConfirmOverwrite = true }; } LDD.OutputPath = "$(LddAppData)\\db\\Primitives"; LDD.Name = Messages.BuildConfig_LDD; LDD.InternalFlag = 1; LDD.LOD0Subdirectory = true; LDD.GenerateUniqueID(); if (Manual == null) { Manual = new BuildConfiguration() { ConfirmOverwrite = true, LOD0Subdirectory = true }; } Manual.OutputPath = string.Empty; Manual.Name = Messages.BuildConfig_Browse; Manual.InternalFlag = 2; Manual.GenerateUniqueID(); if (UserDefined == null) { UserDefined = new List <BuildConfiguration>(); } if (DefaultConfiguration != null) { DefaultConfiguration.IsDefault = true; } else { DefaultConfigName = string.Empty; } }
private void SetUICategoryContent(int Category) { switch (Category) { default: PlayedTime.SetActive(true); Reputation.SetActive(true); Language.SetActive(false); GraphicsQuality.SetActive(false); TextureQuality.SetActive(false); FoV.SetActive(false); GQ_LeftArrow.SetActive(false); GQ_RightArrow.SetActive(false); LDD.SetActive(false); FoVSliderValue.SetActive(false); break; case 1: PlayedTime.SetActive(true); Reputation.SetActive(true); Language.SetActive(false); GraphicsQuality.SetActive(false); TextureQuality.SetActive(false); FoV.SetActive(false); GQ_LeftArrow.SetActive(false); GQ_RightArrow.SetActive(false); LDD.SetActive(false); FoVSliderValue.SetActive(false); break; case 2: PlayedTime.SetActive(false); Reputation.SetActive(false); Language.SetActive(true); GraphicsQuality.SetActive(true); TextureQuality.SetActive(true); FoV.SetActive(true); GQ_LeftArrow.SetActive(true); GQ_RightArrow.SetActive(true); LDD.SetActive(true); FoVSliderValue.SetActive(true); break; case 3: PlayedTime.SetActive(false); Reputation.SetActive(false); Language.SetActive(false); GraphicsQuality.SetActive(false); TextureQuality.SetActive(false); FoV.SetActive(false); GQ_LeftArrow.SetActive(false); GQ_RightArrow.SetActive(false); LDD.SetActive(false); FoVSliderValue.SetActive(false); break; case 4: PlayedTime.SetActive(false); Reputation.SetActive(false); Language.SetActive(false); GraphicsQuality.SetActive(false); TextureQuality.SetActive(false); FoV.SetActive(false); GQ_LeftArrow.SetActive(false); GQ_RightArrow.SetActive(false); LDD.SetActive(false); FoVSliderValue.SetActive(false); break; case 5: PlayedTime.SetActive(false); Reputation.SetActive(false); Language.SetActive(false); GraphicsQuality.SetActive(false); TextureQuality.SetActive(false); FoV.SetActive(false); GQ_LeftArrow.SetActive(false); GQ_RightArrow.SetActive(false); LDD.SetActive(false); break; case 44: PlayedTime.SetActive(false); Reputation.SetActive(false); Language.SetActive(false); GraphicsQuality.SetActive(false); TextureQuality.SetActive(false); FoV.SetActive(false); GQ_LeftArrow.SetActive(false); GQ_RightArrow.SetActive(false); LDD.SetActive(false); FoVSliderValue.SetActive(false); break; } }