public ProfileIO( Profile p ) { ProfileVersion = m_CurrentVersion; m_Profile = p; Name = p.Name; Commands = p.Commands; CustomDeco = p.Deco.ShowCustomDeco; CommandPrefix = p.General.CommandPrefix; Modifiers = p.General.Modifiers; ModifierWarnings = p.General.ModifiersWarnings; SpeechPresets = p.General.SpeechPresets; WebPresets = p.General.WebPresets; EnabledMaps = p.Travel.EnabledMaps; MapNames = p.Travel.MapNames; CustomMaps = p.Travel.CustomMaps; UseServer = p.Server.Enabled; Server = p.Server.Address; Port = p.Server.Port; }
public ProfileIO(Profile p) { ProfileVersion = m_CurrentVersion; m_Profile = p; Name = p.Name; Commands = p.Commands; CustomDeco = p.Deco.ShowCustomDeco; CommandPrefix = p.General.CommandPrefix; Modifiers = p.General.Modifiers; ModifierWarnings = p.General.ModifiersWarnings; SpeechPresets = p.General.SpeechPresets; WebPresets = p.General.WebPresets; EnabledMaps = p.Travel.EnabledMaps; MapNames = p.Travel.MapNames; CustomMaps = p.Travel.CustomMaps; UseServer = p.Server.Enabled; Server = p.Server.Address; Port = p.Server.Port; }