Advertisement
Guest User

Untitled

a guest
Jun 13th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.31 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6.  
  7. namespace SebBot_4
  8. {
  9.     public class ConfigData
  10.     {
  11.         // *******************************************************************************************************************************
  12.         // constructor
  13.         public ConfigData()
  14.         {
  15.  
  16.         }
  17.  
  18.         // *******************************************************************************************************************************
  19.         // public
  20.         #region " Servers, bot client and CService user "
  21.         [CategoryAttribute("Servers"),DescriptionAttribute("Alls Servers")]
  22.         public string[] Servers
  23.         {
  24.             get { return m_Servers; }
  25.             set { m_Servers = value; }
  26.         }
  27.         [CategoryAttribute("Servers"), DescriptionAttribute("Auto connection on startup programme")]
  28.         public bool AutoConnection
  29.         {
  30.             get { return m_AutoConnection; }
  31.             set { m_AutoConnection = value; }
  32.         }
  33.         [CategoryAttribute("Bot"), DescriptionAttribute("Nick name use")]
  34.         public string Nick
  35.         {
  36.             get { return m_Nick; }
  37.             set { m_Nick = value; }
  38.         }
  39.         [CategoryAttribute("Bot"), DescriptionAttribute("Ident")]
  40.         public string Ident
  41.         {
  42.             get { return m_Ident; }
  43.             set { m_Ident = value; }
  44.         }
  45.         [CategoryAttribute("Bot"), DescriptionAttribute("The bot real name")]
  46.         public string RealName
  47.         {
  48.             get { return m_RealName; }
  49.             set { m_RealName = value; }
  50.         }
  51.         [CategoryAttribute("Bot"), DescriptionAttribute("CService User Name")]
  52.         public string CServiceUser
  53.         {
  54.             get { return m_CServiceUser; }
  55.             set { m_CServiceUser = value; }
  56.         }
  57.         [CategoryAttribute("Bot"), DescriptionAttribute("CService User pass")]
  58.         [PasswordPropertyText(true)]
  59.         public string CServicePass
  60.         {
  61.             get { return m_CServicePass; }
  62.             set { m_CServicePass = value; }
  63.         }
  64.         [CategoryAttribute("Server Property"), DescriptionAttribute("Server Silence Mask")]
  65.         public string SeverSilenceMask
  66.         {
  67.             get { return m_SeverSilenceMask; }
  68.             set { m_SeverSilenceMask = value; }
  69.         }
  70.         [CategoryAttribute("Channel"), DescriptionAttribute("Channel name")]
  71.         public string Chan
  72.         {
  73.             get { return m_Chan; }
  74.             set { m_Chan = value; }
  75.         }
  76.         #endregion
  77.  
  78.         #region " Settings"
  79.  
  80.  
  81.         #endregion
  82.         // *******************************************************************************************************************************
  83.         // private
  84.         private string[] m_Servers = { "mediabot.teuk.org" };
  85.         private bool m_AutoConnection = true;
  86.         private string m_Nick = "CSBot";
  87.         private string m_Ident = "csbot";
  88.         private string m_RealName = "CS Bot 4";
  89.         private string m_CServiceUser = "null";
  90.         private string m_CServicePass = "null";
  91.         private string m_SeverSilenceMask = "*!*@*,+~*!*@*ndernet.org,+~X!*@*,+~*!*@*.ca,+~*!*@*.fr,+~*!*@*.ma,+~*!*@24.122.*";
  92.         private string m_Chan = "#quebec";
  93.  
  94.     }
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement