Refactor Subdata function
This commit is contained in:
parent
0abfc8515a
commit
cf7a9f6674
13
DataTypes.cs
13
DataTypes.cs
|
@ -35,6 +35,15 @@ namespace RPG_Maker_LDB_Printer
|
|||
ContinueIndent();
|
||||
GetInt();
|
||||
OpenIndent();
|
||||
ReadSubdata(PartID, data);
|
||||
CloseIndent();
|
||||
}
|
||||
CloseIndent();
|
||||
}
|
||||
}
|
||||
|
||||
public static void ReadSubdata(byte PartID, int data)
|
||||
{
|
||||
bool Data_end = false;
|
||||
while (Data_end == false)
|
||||
{
|
||||
|
@ -47,10 +56,6 @@ namespace RPG_Maker_LDB_Printer
|
|||
else
|
||||
GetBytes();
|
||||
}
|
||||
CloseIndent();
|
||||
}
|
||||
CloseIndent();
|
||||
}
|
||||
}
|
||||
|
||||
public static int GetInt()
|
||||
|
|
Loading…
Reference in New Issue