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"


Constructor Summary
SlotValue(ScriptSlotRef slotref, ResRef value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ScriptSlotRef getSlotRef()
           
 ResRef getValue()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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