nwnintf
Class SlotValue
java.lang.Object
|
+--nwnintf.SlotValue
- public class SlotValue
- extends java.lang.Object
Represent the value given to a script slot, For use with
SavedScripts and "updating all instances"
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SlotValue
public SlotValue(ScriptSlotRef slotref,
ResRef value)
- Parameters:
slotref
- The slot the value of which was changed.value
- May be null, indicating that the slot was cleared.
getSlotRef
public ScriptSlotRef getSlotRef()
getValue
public ResRef getValue()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object