Constructor and Description |
---|
SUMprogram() |
Modifier and Type | Method and Description |
---|---|
GRUP_TYPE[] |
dangerousRecordReport()
One of the major "danger zones" of SkyProc is the potential for compounding record duplications.
Please export an array of any record types that you duplicate and create an unbounded large number of. |
java.lang.String |
description() |
Mod |
getExportPatch()
Create a new mod that will be your export patch and return it.
|
java.awt.Color |
getHeaderColor() |
ModListing |
getListing()
Returns the modlisting used for the exported patch.
|
java.net.URL |
getLogo()
Returns a URL to the patcher's logo image.
|
java.lang.String |
getName() |
lev.gui.LSaveFile |
getSave() |
SPMainMenuPanel |
getStandardMenu()
Return a SPMainMenuPanel that has been customized with your patcher's contents.
Customizing constitutes first creating your own SPSettingPanels extending classes in your project. In this function, you then SPMainMenuPanel.addMenu() on each of your SPSettingPanels you created. |
static java.lang.String |
getSUMPatchList() |
java.lang.String |
getVersion() |
boolean |
hasCustomMenu()
True if you have a custom made GUI.
NOTE: The SPDefaultGUI counts as a custom GUI. |
boolean |
hasLogo() |
boolean |
hasSave()
True if you have a savefile.
You can create your own savefile and specify the settings in it by extending the LSaveFile class. |
boolean |
hasStandardMenu() |
boolean |
importAtStart() |
GRUP_TYPE[] |
importRequests() |
static void |
main(java.lang.String[] args)
Main function that starts the program and GUI.
|
boolean |
needsPatching()
Custom code to determine if a patch is needed (in addition to the normal SUM patch needed rules).
|
void |
onExit(boolean patchWasGenerated)
Runs all hooks onExit() function
|
void |
onStart()
Runs all hooks onStart() function
|
javax.swing.JFrame |
openCustomMenu()
Opens and displays the custom menu of your patcher and returns it.
If you do not have a custom menu, simply put this line (after making sure hasCustomMenu() returns false): throw new UnsupportedOperationException("Not supported yet."); |
java.util.ArrayList<ModListing> |
requiredMods() |
void |
runChangesToPatch()
This function should start the processing code of your patcher.
Assume: 1. |
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- "-test" Opens up the SkyProc tester program instead of SUMjava.lang.Exception
public ModListing getListing()
getListing
in interface SUM
public boolean needsPatching()
SUM
needsPatching
in interface SUM
public java.util.ArrayList<ModListing> requiredMods()
requiredMods
in interface SUM
public java.lang.String description()
description
in interface SUM
public GRUP_TYPE[] dangerousRecordReport()
SUM
dangerousRecordReport
in interface SUM
public GRUP_TYPE[] importRequests()
importRequests
in interface SUM
public boolean importAtStart()
importAtStart
in interface SUM
public boolean hasStandardMenu()
hasStandardMenu
in interface SUM
public SPMainMenuPanel getStandardMenu()
SUM
getStandardMenu
in interface SUM
SPMainMenuPanel
public boolean hasCustomMenu()
SUM
hasCustomMenu
in interface SUM
public javax.swing.JFrame openCustomMenu()
SUM
openCustomMenu
in interface SUM
public java.net.URL getLogo()
SUM
public boolean hasSave()
SUM
public java.lang.String getVersion()
getVersion
in interface SUM
public Mod getExportPatch()
SUM
getExportPatch
in interface SUM
public java.awt.Color getHeaderColor()
getHeaderColor
in interface SUM
public void onExit(boolean patchWasGenerated)
public void onStart()
public void runChangesToPatch() throws java.lang.Exception
SUM
runChangesToPatch
in interface SUM
java.lang.Exception
public static java.lang.String getSUMPatchList() throws java.io.IOException
java.io.IOException