|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--nwnintf.NwnModule
a python itpfile.py::ModuleFile and itpfile.py::DialogTlkFile instances for use from java.
Constructor Summary | |
NwnModule(java.io.File modfilename)
|
|
NwnModule(java.io.File modfilename,
java.io.File nwnroot)
|
Method Summary | |
void |
addScriptResource(ResRef resref,
java.lang.String scriptstring,
byte[] bytecode)
Install a script resource in the module. |
void |
attachScript(ResRef blueprint,
java.lang.String slotname,
ResRef scriptres)
Responsible for actually writing the changes to the module file. |
ModuleBlueprint[] |
blueprintsInModule()
Return a list of all blueprints in this module. takes the list from the palettes, rather than iterating over all blueprints, because we need information from the palettes anyway. |
TlkFile |
getDialogTlkFile()
|
ModFile |
getModfile()
|
MultiPaletteTree |
getMultiPaletteTree()
Return a cached representation (palettepicker.py::MultiPaletteTree) of the custom palettes so that blueprint picker dialogs can come up faster. |
SavedScripts |
getSavedScripts()
|
SezFile |
getSezFile()
|
TlkFile |
getTlkfile()
|
static void |
main(java.lang.String[] args)
|
void |
saveSezFile()
Save itp_, which represents the .sez file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NwnModule(java.io.File modfilename) throws java.lang.Exception
public NwnModule(java.io.File modfilename, java.io.File nwnroot) throws java.lang.Exception
Method Detail |
public void addScriptResource(ResRef resref, java.lang.String scriptstring, byte[] bytecode) throws java.io.IOException
resref
- The ResRef, not including the extension.scriptstring
- The source code portion of the resource.
java.io.IOException
public void attachScript(ResRef blueprint, java.lang.String slotname, ResRef scriptres) throws java.lang.Exception
java.lang.Exception
ScriptInstaller#attachScript(ResRef,String,ResRef)
public ModuleBlueprint[] blueprintsInModule()
public ModFile getModfile()
public TlkFile getDialogTlkFile()
getTlkfile
public TlkFile getTlkfile()
public MultiPaletteTree getMultiPaletteTree()
public SavedScripts getSavedScripts()
public SezFile getSezFile()
public void saveSezFile() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |