public EntityDataStorageEditor(FileInfo file) { InitializeComponent(); Localise(); edsFile = file; LoadAndBuildData(); Show(); ToolkitSettings.UpdateRichPresence("Using the EDS editor."); }
private void DiscordEnabledCheckBox_CheckedChanged(object sender, EventArgs e) { ToolkitSettings.DiscordEnabled = DiscordEnabledCheckBox.Checked; ToolkitSettings.WriteKey("Enabled", "Discord", DiscordEnabledCheckBox.Checked.ToString()); DiscordDetailsCheckBox.Enabled = DiscordEnabledCheckBox.Checked ? true : false; DiscordStateCheckBox.Enabled = DiscordEnabledCheckBox.Checked ? true : false; DiscordElapsedCheckBox.Enabled = DiscordEnabledCheckBox.Checked ? true : false; ToolkitSettings.UpdateRichPresence(); }
public FxActorEditor(FileInfo InOriginFile) { InitializeComponent(); FxActorFile = InOriginFile; ActorContainer = null; Localise(); BuildData(); Show(); ToolkitSettings.UpdateRichPresence("Using the FxActor editor."); }
private void DiscordStateCheckBox_CheckedChanged(object sender, EventArgs e) { ToolkitSettings.DiscordStateEnabled = DiscordStateCheckBox.Checked; ToolkitSettings.WriteKey("StateEmabled", "Discord", DiscordStateCheckBox.Checked.ToString()); ToolkitSettings.UpdateRichPresence(); }