gamestate.cfg file and ressource
This commit is contained in:
parent
f3dabc0e3f
commit
f3fd128173
88
OpenCS2hock/Resources.Designer.cs
generated
Normal file
88
OpenCS2hock/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,88 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace OpenCS2hock {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OpenCS2Hock.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to "OpenCS2hock"
|
||||
///{
|
||||
///"uri" "http://127.0.0.1:3000"
|
||||
///"timeout" "5.0"
|
||||
///"buffer" "0.1"
|
||||
///"throttle" "0.5"
|
||||
///"heartbeat" "60.0"
|
||||
///"output"
|
||||
/// {
|
||||
/// "precision_time" "3"
|
||||
/// "precision_position" "1"
|
||||
/// "precision_vector" "3"
|
||||
/// }
|
||||
///"data"
|
||||
/// {
|
||||
/// "provider" "1" // general info about client being listened to: game name, appid, client steamid, etc.
|
||||
/// "map" "1" // map, gamemode, and current match phase ('warmup', 'intermission', 'gameover', 'live') and current score
|
||||
/// [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string GSI_CFG_Content {
|
||||
get {
|
||||
return ResourceManager.GetString("GSI_CFG_Content", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
24
OpenCS2hock/Resources.resx
Normal file
24
OpenCS2hock/Resources.resx
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<root>
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>1.3</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="GSI_CFG_Content" type="System.Resources.ResXFileRef">
|
||||
<value>gamestate_integration_opencs2hock.cfg;System.String, mscorlib, Version=4.0.0.0, Culture=neutral</value>
|
||||
</data>
|
||||
</root>
|
23
OpenCS2hock/gamestate_integration_opencs2hock.cfg
Normal file
23
OpenCS2hock/gamestate_integration_opencs2hock.cfg
Normal file
@ -0,0 +1,23 @@
|
||||
"OpenCS2hock"
|
||||
{
|
||||
"uri" "http://127.0.0.1:3000"
|
||||
"timeout" "5.0"
|
||||
"buffer" "0.1"
|
||||
"throttle" "0.5"
|
||||
"heartbeat" "60.0"
|
||||
"output"
|
||||
{
|
||||
"precision_time" "3"
|
||||
"precision_position" "1"
|
||||
"precision_vector" "3"
|
||||
}
|
||||
"data"
|
||||
{
|
||||
"provider" "1" // general info about client being listened to: game name, appid, client steamid, etc.
|
||||
"map" "1" // map, gamemode, and current match phase ('warmup', 'intermission', 'gameover', 'live') and current score
|
||||
"round" "1" // round phase ('freezetime', 'over', 'live'), bomb state ('planted', 'exploded', 'defused'), and round winner (if any)
|
||||
"player_id" "1" // player name, clan tag, observer slot (ie key to press to observe this player) and team
|
||||
"player_state" "1" // player state for this current round such as health, armor, kills this round, etc.
|
||||
"player_match_stats" "1" // player stats this match such as kill, assists, score, deaths and MVPs
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user