/// <summary> /// Creates a new App /// </summary> public void CreateApp() { App newApp = new App { name = AppInfo.name, image = AppInfo.image, description = AppInfo.description }; if (newApp.image == "" || newApp.image == null) { newApp.image = "None"; } else { newApp.image = AppInfo.image; } if (newApp.description == "" || newApp.description == null) { newApp.description = "None"; } else { newApp.description = AppInfo.description; } Enjin.CreateApp(newApp); //EnjinEditor.ExecuteMethod(EnjinEditor.CallMethod.REFRESHAPPLIST); EnjinEditor.ExecuteMethod(EnjinEditor.CallMethod.LOGOUT); IsLoginSuccessful(); ProcessStartUp(); //Enjin.StartPlatform(Enjin.APIURL, LoginInfo.username, LoginInfo.password); //Enjin.Login(LoginInfo.username, LoginInfo.password); AppInfo = new AppData(); State = PlatformState.VIEW; }