Clean up all code using CodeMaid

This commit is contained in:
2023-08-02 17:43:01 +08:00
parent e9a3f4014e
commit eef4687ed6
23 changed files with 176 additions and 43 deletions

View File

@@ -62,4 +62,4 @@ namespace GrasscutterTools.Game.Activity
[JsonProperty("endTime")]
public DateTime EndTime { get; set; }
}
}
}

View File

@@ -29,4 +29,4 @@ namespace GrasscutterTools.Game.Activity
[JsonProperty("nameTextMapHash")]
public string NameTextMapHash { get; set; }
}
}
}

View File

@@ -29,4 +29,4 @@ namespace GrasscutterTools.Game.CutScene
[JsonProperty("path")]
public string Path { get; set; }
}
}
}

View File

@@ -29,4 +29,4 @@ namespace GrasscutterTools.Game.Dungeon
[JsonProperty("nameTextMapHash")]
public string NameTextMapHash { get; set; }
}
}
}

View File

@@ -71,7 +71,8 @@ namespace GrasscutterTools.Game
{
get
{
foreach (var map in Values) {
foreach (var map in Values)
{
var n = map[id];
if (n != ItemMap.EmptyName)
return n;