diff --git a/Dota2GSI/Dota2GSI/GameState.cs b/Dota2GSI/Dota2GSI/GameState.cs index 83e0911..9db911f 100644 --- a/Dota2GSI/Dota2GSI/GameState.cs +++ b/Dota2GSI/Dota2GSI/GameState.cs @@ -171,6 +171,10 @@ private String GetNode(string name) return ""; } + /// + /// Returns the json string that generated this GameState instance + /// + /// Json string public override string ToString() { return json; diff --git a/Dota2GSI/Dota2GSI/Nodes/Abilities.cs b/Dota2GSI/Dota2GSI/Nodes/Abilities.cs index 0dbd615..fd855a2 100644 --- a/Dota2GSI/Dota2GSI/Nodes/Abilities.cs +++ b/Dota2GSI/Dota2GSI/Nodes/Abilities.cs @@ -53,6 +53,9 @@ public Ability this[int index] } } + /// + /// Gets the IEnumerable of Abilities + /// public IEnumerator GetEnumerator() { return abilities.GetEnumerator(); @@ -63,11 +66,13 @@ IEnumerator IEnumerable.GetEnumerator() return abilities.GetEnumerator(); } + /// + /// Returns the json string that generated this Abilities instance + /// + /// Json string public override string ToString() { return json; } - - } } diff --git a/Dota2GSI/Dota2GSI/Nodes/Auth.cs b/Dota2GSI/Dota2GSI/Nodes/Auth.cs index 6fbd592..b69a8b3 100644 --- a/Dota2GSI/Dota2GSI/Nodes/Auth.cs +++ b/Dota2GSI/Dota2GSI/Nodes/Auth.cs @@ -1,5 +1,8 @@ namespace Dota2GSI.Nodes { + /// + /// A class representing the authentication information for GSI + /// public class Auth : Node { /// diff --git a/Dota2GSI/Dota2GSI/Nodes/Map.cs b/Dota2GSI/Dota2GSI/Nodes/Map.cs index 9114aec..aa13cfc 100644 --- a/Dota2GSI/Dota2GSI/Nodes/Map.cs +++ b/Dota2GSI/Dota2GSI/Nodes/Map.cs @@ -87,6 +87,9 @@ public enum PlayerTeam Radiant } + /// + /// Class representing information about the map + /// public class Map : Node { ///