nwnintf
Class BlueSlotRef

java.lang.Object
  |
  +--nwnintf.BlueSlotRef
All Implemented Interfaces:
ScriptSlotRef

public class BlueSlotRef
extends java.lang.Object
implements ScriptSlotRef

Refer to a script slot of a blueprint.


Constructor Summary
BlueSlotRef(ResRef blueprint, java.lang.String slot)
           
BlueSlotRef(ResRef blueprint, java.lang.String slot, boolean translate)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 ResRef getResref()
           
 java.lang.String getSlot()
           
 int hashCode()
           
 SavedSlot save(ModFile mod, SezFile sez, ResRef script)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlueSlotRef

public BlueSlotRef(ResRef blueprint,
                   java.lang.String slot)
            throws java.lang.Exception

BlueSlotRef

public BlueSlotRef(ResRef blueprint,
                   java.lang.String slot,
                   boolean translate)
            throws java.lang.Exception
Parameters:
translate - If true, translate name of script slot to internal .mod file format. otherwise do not.
Method Detail

getResref

public ResRef getResref()

getSlot

public java.lang.String getSlot()

save

public SavedSlot save(ModFile mod,
                      SezFile sez,
                      ResRef script)
               throws java.lang.Exception
Specified by:
save in interface ScriptSlotRef
java.lang.Exception

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object