Package zombie.core.znet
Class SteamWorkshopItem
java.lang.Object
zombie.core.znet.SteamWorkshopItem
public class SteamWorkshopItem
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SteamWorkshopItem.ItemState
-
Constructor Summary
Constructors Constructor Description SteamWorkshopItem(java.lang.String workshopFolder)
-
Method Summary
Modifier and Type Method Description boolean
create()
static java.util.ArrayList
getAllowedTags()
java.lang.String
getChangeNote()
java.lang.String
getContentFolder()
java.lang.String
getDescription()
java.lang.String
getExtendedErrorInfo(java.lang.String error)
java.lang.String
getFolderName()
java.lang.String
getID()
java.lang.String
getPreviewImage()
java.lang.String
getSubmitDescription()
java.lang.String[]
getSubmitTags()
java.util.ArrayList
getTags()
java.lang.String
getTitle()
boolean
getUpdateProgress(KahluaTable table)
int
getUpdateProgressTotal()
java.lang.String
getVisibility()
int
getVisibilityInteger()
boolean
readWorkshopTxt()
void
setChangeNote(java.lang.String changeNote)
void
setDescription(java.lang.String description)
void
setID(java.lang.String ID)
void
setTags(java.util.ArrayList tags)
void
setTitle(java.lang.String title)
void
setVisibility(java.lang.String visibility)
void
setVisibilityInteger(int v)
boolean
submitUpdate()
java.lang.String
validateContents()
java.lang.String
validatePreviewImage(java.nio.file.Path path)
boolean
writeWorkshopTxt()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SteamWorkshopItem
public SteamWorkshopItem(java.lang.String workshopFolder)
-
-
Method Details
-
getContentFolder
public java.lang.String getContentFolder() -
getFolderName
public java.lang.String getFolderName() -
setID
public void setID(java.lang.String ID) -
getID
public java.lang.String getID() -
setTitle
public void setTitle(java.lang.String title) -
getTitle
public java.lang.String getTitle() -
setDescription
public void setDescription(java.lang.String description) -
getDescription
public java.lang.String getDescription() -
setVisibility
public void setVisibility(java.lang.String visibility) -
getVisibility
public java.lang.String getVisibility() -
setVisibilityInteger
public void setVisibilityInteger(int v) -
getVisibilityInteger
public int getVisibilityInteger() -
setTags
public void setTags(java.util.ArrayList tags) -
getAllowedTags
public static java.util.ArrayList getAllowedTags() -
getTags
public java.util.ArrayList getTags() -
getSubmitDescription
public java.lang.String getSubmitDescription() -
getSubmitTags
public java.lang.String[] getSubmitTags() -
getPreviewImage
public java.lang.String getPreviewImage() -
setChangeNote
public void setChangeNote(java.lang.String changeNote) -
getChangeNote
public java.lang.String getChangeNote() -
create
public boolean create() -
submitUpdate
public boolean submitUpdate() -
getUpdateProgress
-
getUpdateProgressTotal
public int getUpdateProgressTotal() -
validatePreviewImage
public java.lang.String validatePreviewImage(java.nio.file.Path path) throws java.io.IOException- Throws:
java.io.IOException
-
validateContents
public java.lang.String validateContents() -
getExtendedErrorInfo
public java.lang.String getExtendedErrorInfo(java.lang.String error) -
readWorkshopTxt
public boolean readWorkshopTxt() -
writeWorkshopTxt
public boolean writeWorkshopTxt()
-