nwnintf
Interface SavedSlot

All Known Implementing Classes:
SavedBlueSlot

public interface SavedSlot

Encapsulate a ScriptSlotRef and information about where it is stored.


Method Summary
 ResRef delete(ModFile mod, SezFile sez)
          Have the SavedSlot undo its effects on whatever it is attached to, remove any auxiliary resources it put into the module, and remove its record in the SEZ ItpFile.
 ScriptSlotRef getSlotref()
           
 void update(ModFile mod, SezFile sez, ScriptCode scriptcode)
           
 

Method Detail

getSlotref

public ScriptSlotRef getSlotref()

update

public void update(ModFile mod,
                   SezFile sez,
                   ScriptCode scriptcode)
            throws java.lang.Exception
java.lang.Exception

delete

public ResRef delete(ModFile mod,
                     SezFile sez)
              throws java.lang.Exception
Have the SavedSlot undo its effects on whatever it is attached to, remove any auxiliary resources it put into the module, and remove its record in the SEZ ItpFile.

Returns:
The ResRef that this slot is set to after the delete operation completes. return val.type will be null. (-1 in integer form)
java.lang.Exception