-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
NaNgets
authored and
NaNgets
committed
Mar 2, 2016
0 parents
commit 6a521fb
Showing
51 changed files
with
10,333 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Set the default behavior, in case people don't have core.autocrlf set. | ||
* text=auto | ||
|
||
# Explicitly declare text files you want to always be normalized and converted | ||
# to native line endings on checkout. | ||
*.cs text | ||
|
||
# Declare files that will always have CRLF line endings on checkout. | ||
*.sln text eol=crlf | ||
*.csproj text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
## User-specific files | ||
|
||
.vs/ | ||
*.suo | ||
*.user | ||
*.sln.docstates | ||
|
||
## Build results | ||
|
||
[Dd]ebug/ | ||
[Rr]elease/ | ||
x64/ | ||
build/ | ||
[Oo]bj/ | ||
[Bb]in/ | ||
|
||
## MSTest test Results | ||
|
||
[Tt]est[Rr]esult*/ | ||
[Bb]uild[Ll]og.* | ||
[Ll]ogs/ | ||
*.obj | ||
*.log | ||
*.vspscc | ||
*.vssscc | ||
.builds | ||
|
||
## Visual Studio profiler | ||
|
||
*.psess | ||
*.vsp | ||
*.vspx | ||
|
||
## Installshield output folder | ||
[Ee]xpress/ | ||
|
||
## DocProject Ignores | ||
|
||
DocProject/buildhelp/ | ||
DocProject/Help/*.HxT | ||
DocProject/Help/*.HxC | ||
DocProject/Help/*.hhc | ||
DocProject/Help/*.hhk | ||
DocProject/Help/*.hhp | ||
DocProject/Help/Html2 | ||
DocProject/Help/html | ||
|
||
## Click-Once Ignores | ||
|
||
publish/ | ||
|
||
## Backup & Report Files when converting a solution | ||
## Not required, we have mercurial! | ||
|
||
_UpgradeReport_Files/ | ||
Backup*/ | ||
UpgradeLog*.XML | ||
UpgradeLog*.htm | ||
|
||
## NuGet | ||
packages/ | ||
|
||
## Miscellaneous Ignores | ||
|
||
~$* | ||
*~ | ||
*.dbmdl | ||
*.[Pp]ublish.xml | ||
*.pfx | ||
*.publishsettings | ||
|
||
## Windows Ignores | ||
|
||
$RECYCLE.BIN/ | ||
Thumbs.db | ||
ehthumbs.db | ||
Desktop.ini |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 11.00 | ||
# Visual Studio 2010 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AServerQuery", "AServerQuery\AServerQuery.csproj", "{391E857F-88FE-4720-8B00-6724328A3345}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestForms", "TestForms\TestForms.csproj", "{D94F18F0-1B1A-4ECF-BC24-05731280AA26}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestConsole", "TestConsole\TestConsole.csproj", "{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|Mixed Platforms = Debug|Mixed Platforms | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|Mixed Platforms = Release|Mixed Platforms | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{391E857F-88FE-4720-8B00-6724328A3345}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{391E857F-88FE-4720-8B00-6724328A3345}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{391E857F-88FE-4720-8B00-6724328A3345}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU | ||
{391E857F-88FE-4720-8B00-6724328A3345}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU | ||
{391E857F-88FE-4720-8B00-6724328A3345}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{391E857F-88FE-4720-8B00-6724328A3345}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{391E857F-88FE-4720-8B00-6724328A3345}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{391E857F-88FE-4720-8B00-6724328A3345}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU | ||
{391E857F-88FE-4720-8B00-6724328A3345}.Release|Mixed Platforms.Build.0 = Release|Any CPU | ||
{391E857F-88FE-4720-8B00-6724328A3345}.Release|x86.ActiveCfg = Release|Any CPU | ||
{D94F18F0-1B1A-4ECF-BC24-05731280AA26}.Debug|Any CPU.ActiveCfg = Debug|x86 | ||
{D94F18F0-1B1A-4ECF-BC24-05731280AA26}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 | ||
{D94F18F0-1B1A-4ECF-BC24-05731280AA26}.Debug|Mixed Platforms.Build.0 = Debug|x86 | ||
{D94F18F0-1B1A-4ECF-BC24-05731280AA26}.Debug|x86.ActiveCfg = Debug|x86 | ||
{D94F18F0-1B1A-4ECF-BC24-05731280AA26}.Debug|x86.Build.0 = Debug|x86 | ||
{D94F18F0-1B1A-4ECF-BC24-05731280AA26}.Release|Any CPU.ActiveCfg = Release|x86 | ||
{D94F18F0-1B1A-4ECF-BC24-05731280AA26}.Release|Mixed Platforms.ActiveCfg = Release|x86 | ||
{D94F18F0-1B1A-4ECF-BC24-05731280AA26}.Release|Mixed Platforms.Build.0 = Release|x86 | ||
{D94F18F0-1B1A-4ECF-BC24-05731280AA26}.Release|x86.ActiveCfg = Release|x86 | ||
{D94F18F0-1B1A-4ECF-BC24-05731280AA26}.Release|x86.Build.0 = Release|x86 | ||
{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}.Debug|Any CPU.ActiveCfg = Debug|x86 | ||
{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 | ||
{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}.Debug|Mixed Platforms.Build.0 = Debug|x86 | ||
{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}.Debug|x86.ActiveCfg = Debug|x86 | ||
{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}.Debug|x86.Build.0 = Debug|x86 | ||
{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}.Release|Any CPU.ActiveCfg = Release|x86 | ||
{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}.Release|Mixed Platforms.ActiveCfg = Release|x86 | ||
{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}.Release|Mixed Platforms.Build.0 = Release|x86 | ||
{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}.Release|x86.ActiveCfg = Release|x86 | ||
{5F6088C9-A765-4EB4-A0E3-753EC1E1F3D6}.Release|x86.Build.0 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>9.0.30729</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{391E857F-88FE-4720-8B00-6724328A3345}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>AServerQuery</RootNamespace> | ||
<AssemblyName>AServerQuery</AssemblyName> | ||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<FileUpgradeFlags> | ||
</FileUpgradeFlags> | ||
<UpgradeBackupLocation> | ||
</UpgradeBackupLocation> | ||
<OldToolsVersion>3.5</OldToolsVersion> | ||
<TargetFrameworkProfile /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<DocumentationFile>bin\Release\AServerQuery.XML</DocumentationFile> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="IRconable.cs" /> | ||
<Compile Include="ValveServer.cs" /> | ||
<Compile Include="SourceServer.cs" /> | ||
<Compile Include="HltvInfo.cs" /> | ||
<Compile Include="LogListener.cs" /> | ||
<Compile Include="UserInfo.cs" /> | ||
<Compile Include="StatusInfo.cs" /> | ||
<Compile Include="EventArgs\TeamEventArgs.cs" /> | ||
<Compile Include="EventArgs\PlayerScoreEventArgs.cs" /> | ||
<Compile Include="EventArgs\TeamScoreEventArgs.cs" /> | ||
<Compile Include="EventArgs\CvarEventArgs.cs" /> | ||
<Compile Include="EventArgs\InfoEventArgs.cs" /> | ||
<Compile Include="EventArgs\ServerEventArgs.cs" /> | ||
<Compile Include="EventArgs\RconEventArgs.cs" /> | ||
<Compile Include="EventArgs\PlayerEventArgs.cs" /> | ||
<Compile Include="EventArgs\PlayerActionEventArgs.cs" /> | ||
<Compile Include="EventArgs\PlayerOnPlayerEventArgs.cs" /> | ||
<Compile Include="EventArgs\ExceptionEventArgs.cs" /> | ||
<Compile Include="EventArgs\DataReceivedEventArgs.cs" /> | ||
<Compile Include="EventArgs\GoldSrcEventArgs.cs" /> | ||
<Compile Include="Exceptions.cs" /> | ||
<Compile Include="GoldSrcServer.cs" /> | ||
<Compile Include="HLEvent.cs" /> | ||
<Compile Include="ServerInfo.cs" /> | ||
<Compile Include="ModInfo.cs" /> | ||
<Compile Include="Player.cs" /> | ||
<Compile Include="PlayerInfo.cs" /> | ||
<Compile Include="Util.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="Events.txt" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
// CvarEventArgs.cs is part of AServerQuery. | ||
// | ||
// AServerQuery is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License version 3 as | ||
// published by the Free Software Foundation. | ||
// | ||
// AServerQuery is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public version 3 License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with AServerQuery. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace AServerQuery | ||
{ | ||
/// <summary> | ||
/// Provides data for event 001b. | ||
/// </summary> | ||
/// <seealso href="http://developer.valvesoftware.com/wiki/HL_Log_Standard" /> | ||
public class CvarEventArgs : GoldSrcEventArgs | ||
{ | ||
#region Properties | ||
|
||
/// <summary> | ||
/// Gets the Cvar which is being changed. | ||
/// </summary> | ||
public String Cvar | ||
{ | ||
get; | ||
private set; | ||
} | ||
|
||
/// <summary> | ||
/// Gets the new value of the cvar. | ||
/// </summary> | ||
public String Value | ||
{ | ||
get; | ||
private set; | ||
} | ||
|
||
#endregion | ||
|
||
#region Constructors | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="AServerQuery.CvarEventArgs" /> class using | ||
/// the specified arguments. | ||
/// </summary> | ||
/// <param name="LogLine">A <see cref="System.String" /> containing the log line which was received.</param> | ||
/// <param name="Event">A <see cref="AServerQuery.HLEvent" /> representing the event.</param> | ||
/// <param name="EventName">A <see cref="System.String" /> representing the event.</param> | ||
/// <param name="Cvar">The Cvar which is being changed.</param> | ||
/// <param name="Value">The new value of the cvar.</param> | ||
/// <param name="Properties"> | ||
/// A case-insensative <see cref="System.Collections.Generic.Dictionary{TKey, TValue}" /> of the properties. | ||
/// </param> | ||
public CvarEventArgs( | ||
String LogLine, | ||
HLEvent Event, | ||
String EventName, | ||
String Cvar, | ||
String Value, | ||
Dictionary<String, String> Properties) | ||
: base(LogLine, Event, EventName, Properties) | ||
{ | ||
this.Cvar = Cvar; | ||
this.Value = Value; | ||
} | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// DataReceivedEventArgs.cs is part of AServerQuery. | ||
// | ||
// AServerQuery is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License version 3 as | ||
// published by the Free Software Foundation. | ||
// | ||
// AServerQuery is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public version 3 License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with AServerQuery. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
using System; | ||
|
||
namespace AServerQuery | ||
{ | ||
/// <summary> | ||
/// Provides data for the <see cref="AServerQuery.ValveServer.DataReceived" /> event. | ||
/// </summary> | ||
public class DataReceivedEventArgs : EventArgs | ||
{ | ||
#region Properties | ||
|
||
/// <summary> | ||
/// Gets the received data. | ||
/// </summary> | ||
public String Data | ||
{ | ||
get; | ||
private set; | ||
} | ||
|
||
#endregion | ||
|
||
#region Constructors | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="AServerQuery.DataReceivedEventArgs" /> class using | ||
/// the specified <see cref="System.String" />. | ||
/// </summary> | ||
/// <param name="Data">The received data.</param> | ||
public DataReceivedEventArgs(String Data) | ||
{ | ||
this.Data = Data; | ||
} | ||
|
||
#endregion | ||
} | ||
} |
Oops, something went wrong.