using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QueryMaster
{
///
/// Specifies the type of engine used by server
///
public enum EngineType
{
///
/// Source Engine
///
Source,
///
/// Gold Source Engine
///
GoldSource
}
///
/// Specifies the game
///
public enum Game
{
//Gold Source Games
///
/// Counter-Strike
///
CounterStrike = 10,
///
/// Team Fortress Classic
///
Team_Fortress_Classic = 20,
///
/// Day Of Defeat
///
Day_Of_Defeat = 30,
///
/// Deathmatch Classic
///
Deathmatch_Classic = 40,
///
/// Opposing Force
///
Opposing_Force = 50,
///
/// Ricochet
///
Ricochet = 60,
///
/// Half-Life
///
Half_Life = 70,
///
/// Condition Zero
///
Condition_Zero = 80,
///
/// CounterStrike 1.6 dedicated server
///
CounterStrike_1_6_dedicated_server = 90,
///
/// Condition Zero Deleted Scenes
///
Condition_Zero_Deleted_Scenes = 100,
///
/// Half-Life:Blue Shift
///
Half_Life_Blue_Shift = 130,
//Source Games
///
/// Half-Life 2
///
Half_Life_2 = 220,
///
/// Counter-Strike: Source
///
CounterStrike_Source = 240,
///
/// Half-Life: Source
///
Half_Life_Source = 280,
///
/// Day of Defeat: Source
///
Day_Of_Defeat_Source = 300,
///
/// Half-Life 2: Deathmatch
///
Half_Life_2_Deathmatch = 320,
///
/// Half-Life 2: Lost Coast
///
Half_Life_2_Lost_Coast = 340,
///
/// Half-Life Deathmatch: Source
///
Half_Life_Deathmatch_Source = 360,
///
/// Half-Life 2: Episode One
///
Half_Life_2_Episode_One = 380,
///
/// Portal
///
Portal = 400,
///
/// Half-Life 2: Episode Two
///
Half_Life_2_Episode_Two = 420,
///
/// Team Fortress 2
///
Team_Fortress_2 = 440,
///
/// Left 4 Dead
///
Left_4_Dead = 500,
///
/// Left 4 Dead 2
///
Left_4_Dead_2 = 550,
///
/// Dota 2
///
Dota_2 = 570,
///
/// Portal 2
///
Portal_2 = 620,
///
/// Alien Swarm
///
Alien_Swarm = 630,
///
/// Counter-Strike: Global Offensive
///
CounterStrike_Global_Offensive = 1800,
///
/// SiN Episodes: Emergence
///
SiN_Episodes_Emergence = 1300,
///
/// Dark Messiah of Might and Magic
///
Dark_Messiah_Of_Might_And_Magic = 2100,
///
/// Dark Messiah Might and Magic Multi-Player
///
Dark_Messiah_Might_And_Magic_MultiPlayer = 2130,
///
/// The Ship
///
The_Ship = 2400,
///
/// Bloody Good Time
///
Bloody_Good_Time = 2450,
///
/// Vampire The Masquerade - Bloodlines
///
Vampire_The_Masquerade_Bloodlines = 2600,
///
/// Garry's Mod
///
Garrys_Mod = 4000,
///
/// Zombie Panic! Source
///
Zombie_Panic_Source = 17500,
///
/// Age of Chivalry
///
Age_of_Chivalry = 17510,
///
/// Synergy
///
Synergy = 17520,
///
/// D.I.P.R.I.P.
///
D_I_P_R_I_P = 17530,
///
/// Eternal Silence
///
Eternal_Silence = 17550,
///
/// Pirates, Vikings, and Knights II
///
Pirates_Vikings_And_Knights_II = 17570,
///
/// Dystopia
///
Dystopia = 17580,
///
/// Insurgency
///
Insurgency = 17700,
///
/// Nuclear Dawn
///
Nuclear_Dawn = 17710,
///
/// Smashball
///
Smashball = 17730,
}
///
/// Specifies the Region
///
public enum Region : byte
{
///
/// US East coast
///
US_East_coast,
///
/// US West coast
///
US_West_coast,
///
/// South America
///
South_America,
///
/// Europe
///
Europe,
///
/// Asia
///
Asia,
///
/// Australia
///
Australia,
///
/// Middle East
///
Middle_East,
///
/// Africa
///
Africa,
///
/// Rest of the world
///
Rest_of_the_world = 0xFF
}
enum SocketType
{
Udp,
Tcp
}
enum ResponseMsgHeader : byte
{
A2S_INFO = 0x49,
A2S_INFO_Obsolete = 0x6D,
A2S_PLAYER = 0x44,
A2S_RULES = 0x45,
A2S_SERVERQUERY_GETCHALLENGE = 0x41,
}
//Used in Source Rcon
enum PacketId
{
Empty = 10,
ExecCmd = 11
}
enum PacketType
{
Auth = 3,
AuthResponse = 2,
Exec = 2,
ExecResponse = 0
}
}