mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-25 20:59:46 +08:00
Clean up all files
This commit is contained in:
@@ -19,7 +19,7 @@ namespace GrasscutterTools.Game
|
||||
var si = line.IndexOf(':');
|
||||
if (si > 0 && int.TryParse(line.Substring(0, si).Trim(), out int id))
|
||||
{
|
||||
var name = line.Substring(si+1).Trim();
|
||||
var name = line.Substring(si + 1).Trim();
|
||||
if (!string.IsNullOrEmpty(name))
|
||||
{
|
||||
//IdMap[id] = name;
|
||||
@@ -41,17 +41,16 @@ namespace GrasscutterTools.Game
|
||||
//List<int> IdList;
|
||||
//List<string> NameList;
|
||||
|
||||
|
||||
public int Count => Ids.Length;
|
||||
|
||||
//public string this[int id] => IdMap[id];
|
||||
|
||||
|
||||
//public int this[string name] => NameMap[name];
|
||||
|
||||
|
||||
public int[] Ids { get; }
|
||||
|
||||
public string[] Names { get; }
|
||||
|
||||
public string[] Lines { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user