Пример #1
0
 public static UInt32 GetDifficulty(ClientlessBot.GameDifficulty difficulty)
 {
     switch(difficulty)
     {
         default:
         case ClientlessBot.GameDifficulty.NORMAL:
             return 0x0000;
         case ClientlessBot.GameDifficulty.NIGHTMARE:
             return 0x1000;
         case ClientlessBot.GameDifficulty.HELL:
             return 0x2000;
     }
 }
Пример #2
0
 public GameServer(ClientlessBot cb)
     : base(cb)
 {
     m_pingThread = new Thread(PingThreadFunction);
 }
Пример #3
0
 public Bncs(ClientlessBot cb) : base(cb)
 {
 }
Пример #4
0
 public RealmServer(ClientlessBot cb)
     : base(cb)
 {
 }
Пример #5
0
 public Bncs(ClientlessBot cb)
     : base(cb)
 {
 }
Пример #6
0
 public GameServer(ClientlessBot cb) : base(cb)
 {
     m_pingThread = new Thread(PingThreadFunction);
 }
Пример #7
0
 public GenericServer(ClientlessBot cb)
 {
     m_owner = cb;
     m_socket = new TcpClient();
 }
Пример #8
0
 public GenericServer(ClientlessBot cb)
 {
     m_owner  = cb;
     m_socket = new TcpClient();
 }
Пример #9
0
 public RealmServer(ClientlessBot cb) : base(cb)
 {
 }