public interface SUM
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() |
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. |
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() |
boolean |
needsPatching()
Custom code to determine if a patch is needed (in addition to the normal SUM patch needed rules).
|
void |
onExit(boolean patchWasGenerated)
Code to run before program closes.
|
void |
onStart()
Code to run before GUI displays.
|
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. |
java.lang.String getName()
GRUP_TYPE[] dangerousRecordReport()
GRUP_TYPE[] importRequests()
boolean importAtStart()
boolean hasStandardMenu()
SPMainMenuPanel getStandardMenu()
SPMainMenuPanel
boolean hasCustomMenu()
javax.swing.JFrame openCustomMenu()
boolean hasLogo()
java.net.URL getLogo()
boolean hasSave()
LSaveFile
lev.gui.LSaveFile getSave()
java.lang.String getVersion()
ModListing getListing()
Mod getExportPatch()
java.awt.Color getHeaderColor()
boolean needsPatching()
java.lang.String description()
java.util.ArrayList<ModListing> requiredMods()
void onStart() throws java.lang.Exception
java.lang.Exception
void onExit(boolean patchWasGenerated) throws java.lang.Exception
patchWasGenerated
- True if a patch was generated before calling this function.java.lang.Exception
void runChangesToPatch() throws java.lang.Exception
java.lang.Exception