Fix dev tools for preview changes

This commit is contained in:
NGnius (Graham) 2020-07-16 20:38:51 -04:00
parent aa0aefd41b
commit e0aa052305
3 changed files with 592 additions and 554 deletions

View file

@ -32,7 +32,7 @@ if __name__ == "__main__":
args = parser.parse_args() args = parser.parse_args()
print("Building Assembly references") print("Building Assembly references")
asmXml = buildReferencesXml("../ref/Gamecraft_Data/Managed") asmXml = buildReferencesXml("../ref/GamecraftPreview_Data/Managed")
# print(asmXml) # print(asmXml)
with open("../GamecraftModdingAPI/GamecraftModdingAPI.csproj", "r") as xmlFile: with open("../GamecraftModdingAPI/GamecraftModdingAPI.csproj", "r") as xmlFile:

File diff suppressed because it is too large Load diff

View file

@ -130,7 +130,7 @@ namespace GamecraftModdingAPI.Tests
private static IEnumerator<TaskContract> GoToGameTests() private static IEnumerator<TaskContract> GoToGameTests()
{ {
Client app = new Client(); /*Client app = new Client();
int oldLength = 0; int oldLength = 0;
while (app.MyGames.Length == 0 || oldLength != app.MyGames.Length) while (app.MyGames.Length == 0 || oldLength != app.MyGames.Length)
{ {
@ -138,11 +138,10 @@ namespace GamecraftModdingAPI.Tests
yield return new WaitForSecondsEnumerator(1).Continue(); yield return new WaitForSecondsEnumerator(1).Continue();
} }
yield return Yield.It; yield return Yield.It;
app.MyGames[0].EnterGame(); app.MyGames[0].EnterGame();*/
// returning from a new game without saving will hard lock GC (it's an invalid state) Game newGame = Game.NewGame();
//Game newGame = Game.NewGame(); yield return new WaitForSecondsEnumerator(5).Continue(); // wait for sync
//yield return new WaitForSecondsEnumerator(5).Continue(); // wait for sync newGame.EnterGame();
//newGame.EnterGame();
} }
private static IEnumerator<TaskContract> GameTests() private static IEnumerator<TaskContract> GameTests()