Skip to content

Commit

Permalink
Release 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
NaNgets authored and NaNgets committed Mar 2, 2016
0 parents commit 6a521fb
Show file tree
Hide file tree
Showing 51 changed files with 10,333 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
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
77 changes: 77 additions & 0 deletions .gitignore
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 added AServerQuery.chm
Binary file not shown.
54 changes: 54 additions & 0 deletions AServerQuery.sln
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
87 changes: 87 additions & 0 deletions AServerQuery/AServerQuery.csproj
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>
77 changes: 77 additions & 0 deletions AServerQuery/EventArgs/CvarEventArgs.cs
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
}
}
51 changes: 51 additions & 0 deletions AServerQuery/EventArgs/DataReceivedEventArgs.cs
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
}
}
Loading

0 comments on commit 6a521fb

Please sign in to comment.