private static void onClickedCreateButton(SleekButton button)
 {
     if (MenuWorkshopSubmitUI.checkEntered() && MenuWorkshopSubmitUI.checkValid())
     {
         Provider.provider.workshopService.prepareUGC(MenuWorkshopSubmitUI.nameField.text, MenuWorkshopSubmitUI.descriptionField.text, MenuWorkshopSubmitUI.pathField.text, MenuWorkshopSubmitUI.previewField.text, MenuWorkshopSubmitUI.changeField.text, (ESteamUGCType)MenuWorkshopSubmitUI.typeState.state, MenuWorkshopSubmitUI.tag, (ESteamUGCVisibility)MenuWorkshopSubmitUI.visibilityState.state);
         Provider.provider.workshopService.createUGC(MenuWorkshopSubmitUI.forState.state == 1);
         MenuWorkshopSubmitUI.resetFields();
     }
 }
        private static void onClickedPublished(SleekButton button)
        {
            int index = button.positionOffset_Y / 40;

            if (MenuWorkshopSubmitUI.checkValid())
            {
                Provider.provider.workshopService.prepareUGC(MenuWorkshopSubmitUI.nameField.text, MenuWorkshopSubmitUI.descriptionField.text, MenuWorkshopSubmitUI.pathField.text, MenuWorkshopSubmitUI.previewField.text, MenuWorkshopSubmitUI.changeField.text, (ESteamUGCType)MenuWorkshopSubmitUI.typeState.state, MenuWorkshopSubmitUI.tag, (ESteamUGCVisibility)MenuWorkshopSubmitUI.visibilityState.state);
                Provider.provider.workshopService.prepareUGC(Provider.provider.workshopService.published[index].id);
                Provider.provider.workshopService.updateUGC();
                MenuWorkshopSubmitUI.resetFields();
            }
        }