nwnintf
Class SavedBlueSlot
java.lang.Object
|
+--nwnintf.SavedBlueSlot
- All Implemented Interfaces:
- SavedSlot
- public class SavedBlueSlot
- extends java.lang.Object
- implements SavedSlot
Encapsulate a BlueSlotRef and the ItpEntry its information is stored in.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORIGELT
public static java.lang.String ORIGELT
GENELT
public static java.lang.String GENELT
RESREFELT
public static java.lang.String RESREFELT
RESTYPEELT
public static java.lang.String RESTYPEELT
SLOTELT
public static java.lang.String SLOTELT
SavedBlueSlot
public SavedBlueSlot(ItpEntry ent)
throws java.lang.Exception
getSlotref
public ScriptSlotRef getSlotref()
- Specified by:
getSlotref
in interface SavedSlot
getEntry
public ItpEntry getEntry()
saveNew
public static SavedBlueSlot saveNew(BlueSlotRef blueslot,
ModFile mod,
SezFile sez,
ResRef script)
throws java.lang.Exception
java.lang.Exception
update
public void update(ModFile mod,
SezFile sez,
ScriptCode scriptcode)
throws java.lang.Exception
- An existing saved slot has new text for the script.
- Specified by:
update
in interface SavedSlot
java.lang.Exception
delete
public ResRef delete(ModFile mod,
SezFile sez)
throws java.lang.Exception
- Restore the slot of the blueprint this is saved into.
- Specified by:
delete
in interface SavedSlot
- Returns:
- Resref (typeless) of the script that was originally
in this slot.
java.lang.Exception