public class LeveledEntry extends Record
Constructor and Description |
---|
LeveledEntry(FormID id,
int level,
int count) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getCount() |
FormID |
getForm() |
int |
getLevel() |
int |
hashCode() |
java.lang.String |
print()
Returns the contents of the record, or exports them to a log, depending
on the record type.
|
void |
setCount(int in) |
void |
setForm(FormID id) |
void |
setLevel(int in) |
java.lang.String |
toString()
Returns a short summary/title of the record.
|
getRecordLength, getType
public LeveledEntry(FormID id, int level, int count)
id
- level
- count
- public int getLevel()
public final void setLevel(int in)
in
- The level to mark the entry as on the LVLN.public final void setCount(int in)
in
- The number to set the spawn count to.public int getCount()
public final void setForm(FormID id)
id
- public FormID getForm()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
public java.lang.String print()
Record