Core: SOme code cleanup, more to follow.

This commit is contained in:
hondacrx
2021-03-20 22:48:48 -04:00
parent 62f554f2e0
commit 62ec699ec6
318 changed files with 5080 additions and 5125 deletions
+4 -4
View File
@@ -32,11 +32,11 @@ namespace Game
public class DisableData
{
public byte flags;
public List<uint> param0 = new List<uint>();
public List<uint> param1 = new List<uint>();
public List<uint> param0 = new();
public List<uint> param1 = new();
}
Dictionary<DisableType, Dictionary<uint, DisableData>> m_DisableMap = new Dictionary<DisableType, Dictionary<uint, DisableData>>();
Dictionary<DisableType, Dictionary<uint, DisableData>> m_DisableMap = new();
public void LoadDisables()
{
@@ -67,7 +67,7 @@ namespace Game
string params_0 = result.Read<string>(3);
string params_1 = result.Read<string>(4);
DisableData data = new DisableData();
DisableData data = new();
data.flags = flags;
switch (type)