public void CreatingAGame() { LootLockerSDKAdminManager.CreatingAGame(gameName, gameSteamAppID, sandboxMode, organisationID, false, (response) => { if (response.success) { Debug.LogError("Successful created a game: " + response.text); } else { Debug.LogError("failed to get all games: " + response.Error); } }); }
public void CreateGame(LootLockerCreatingAGameRequest gameToCreate) { LootLockerSDKAdminManager.CreatingAGame(gameToCreate.name, gameToCreate.steam_app_id, gameToCreate.sandbox_mode, gameToCreate.organisation_id, gameToCreate.demo, (response) => { if (response.success) { Debug.Log("Successful created game: " + response.text); PopulateGames(); } else { Debug.LogError("failed to create game: " + response.Error); currentView = LootLockerView.CreateGame; } }); }