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.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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.
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