public static class NPC_.SoundPair extends Record
Constructor and Description |
---|
NPC_.SoundPair(FormID sound,
int chance) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getChance() |
FormID |
getSound() |
int |
hashCode() |
java.lang.String |
print()
Returns the contents of the record, or exports them to a log, depending
on the record type.
|
void |
setChance(int chance) |
void |
setSound(FormID sound) |
java.lang.String |
toString()
Returns a short summary/title of the record.
|
getRecordLength, getType
public NPC_.SoundPair(FormID sound, int chance)
sound
- chance
- public final void setChance(int chance)
chance
- public int getChance()
public final void setSound(FormID sound)
sound
- public FormID getSound()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
public java.lang.String print()
Record