Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- namespace SebBot_4
- {
- public class ConfigData
- {
- // *******************************************************************************************************************************
- // constructor
- public ConfigData()
- {
- }
- // *******************************************************************************************************************************
- // public
- #region " Servers, bot client and CService user "
- [CategoryAttribute("Servers"),DescriptionAttribute("Alls Servers")]
- public string[] Servers
- {
- get { return m_Servers; }
- set { m_Servers = value; }
- }
- [CategoryAttribute("Servers"), DescriptionAttribute("Auto connection on startup programme")]
- public bool AutoConnection
- {
- get { return m_AutoConnection; }
- set { m_AutoConnection = value; }
- }
- [CategoryAttribute("Bot"), DescriptionAttribute("Nick name use")]
- public string Nick
- {
- get { return m_Nick; }
- set { m_Nick = value; }
- }
- [CategoryAttribute("Bot"), DescriptionAttribute("Ident")]
- public string Ident
- {
- get { return m_Ident; }
- set { m_Ident = value; }
- }
- [CategoryAttribute("Bot"), DescriptionAttribute("The bot real name")]
- public string RealName
- {
- get { return m_RealName; }
- set { m_RealName = value; }
- }
- [CategoryAttribute("Bot"), DescriptionAttribute("CService User Name")]
- public string CServiceUser
- {
- get { return m_CServiceUser; }
- set { m_CServiceUser = value; }
- }
- [CategoryAttribute("Bot"), DescriptionAttribute("CService User pass")]
- [PasswordPropertyText(true)]
- public string CServicePass
- {
- get { return m_CServicePass; }
- set { m_CServicePass = value; }
- }
- [CategoryAttribute("Server Property"), DescriptionAttribute("Server Silence Mask")]
- public string SeverSilenceMask
- {
- get { return m_SeverSilenceMask; }
- set { m_SeverSilenceMask = value; }
- }
- [CategoryAttribute("Channel"), DescriptionAttribute("Channel name")]
- public string Chan
- {
- get { return m_Chan; }
- set { m_Chan = value; }
- }
- #endregion
- #region " Settings"
- #endregion
- // *******************************************************************************************************************************
- // private
- private string[] m_Servers = { "mediabot.teuk.org" };
- private bool m_AutoConnection = true;
- private string m_Nick = "CSBot";
- private string m_Ident = "csbot";
- private string m_RealName = "CS Bot 4";
- private string m_CServiceUser = "null";
- private string m_CServicePass = "null";
- private string m_SeverSilenceMask = "*!*@*,+~*!*@*ndernet.org,+~X!*@*,+~*!*@*.ca,+~*!*@*.fr,+~*!*@*.ma,+~*!*@24.122.*";
- private string m_Chan = "#quebec";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement