public AlarmSetting GetAlarmSettings() { AlarmSetting settings = new AlarmSetting(); settings.Name = AlarmName; settings.FilterString = FilterText; settings.ExUserChat = IsExUserChat; settings.FC = IsFC; settings.Say = IsSay; settings.Shout = IsShout; settings.Party = IsParty; settings.Yell = IsYell; settings.Emote = IsEmote; settings.LS1 = IsLS1; settings.LS2 = IsLS2; settings.LS3 = IsLS3; settings.LS4 = IsLS4; settings.LS5 = IsLS5; settings.LS6 = IsLS6; settings.LS7 = IsLS7; settings.LS8 = IsLS8; return settings; }
public void LoadAlarmSettings(AlarmSetting settings) { AlarmName = settings.Name; FilterText = settings.FilterString; IsExUserChat = settings.ExUserChat; IsFC = settings.FC; IsSay = settings.Say; IsShout = settings.Shout; IsParty = settings.Party; IsYell = settings.Yell; IsEmote = settings.Emote; IsLS1 = settings.LS1; IsLS2 = settings.LS2; IsLS3 = settings.LS3; IsLS4 = settings.LS4; IsLS5 = settings.LS5; IsLS6 = settings.LS6; IsLS7 = settings.LS7; IsLS8 = settings.LS8; }