Add version field and make CheckForErrors less accessible from outside.

lua-bytecode
Icedream 2014-10-22 19:42:25 +02:00
parent ff9f1bd17f
commit 2d92a99e35
1 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,10 @@ namespace GarrysMod.AddonCreator
[JsonProperty("ignore")]
public List<string> Ignores { get; set; }
public void CheckForErrors()
[JsonProperty("version")]
public int Version { get; set; }
internal void CheckForErrors()
{
if (string.IsNullOrEmpty(Title))
{