mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-27 16:10:36 +07:00
Added trace logging to SoundsTable record init
This commit is contained in:
parent
4ac194b335
commit
e511c3d87e
@ -3,6 +3,8 @@ package com.riiablo.table.table;
|
|||||||
|
|
||||||
import javax.annotation.Generated;
|
import javax.annotation.Generated;
|
||||||
|
|
||||||
|
import com.riiablo.logger.LogManager;
|
||||||
|
import com.riiablo.logger.Logger;
|
||||||
import com.riiablo.table.Parser;
|
import com.riiablo.table.Parser;
|
||||||
import com.riiablo.table.ParserInput;
|
import com.riiablo.table.ParserInput;
|
||||||
import com.riiablo.table.Serializer;
|
import com.riiablo.table.Serializer;
|
||||||
@ -17,6 +19,8 @@ import com.riiablo.table.serializer.SoundsSerializer;
|
|||||||
comments = "com.riiablo.table.schema.Sounds"
|
comments = "com.riiablo.table.schema.Sounds"
|
||||||
)
|
)
|
||||||
public final class SoundsTable extends Table<Sounds> {
|
public final class SoundsTable extends Table<Sounds> {
|
||||||
|
private static final Logger log = LogManager.getLogger(SoundsTable.class);
|
||||||
|
|
||||||
public SoundsTable() {
|
public SoundsTable() {
|
||||||
super(Sounds.class, 53, 0.8f);
|
super(Sounds.class, 53, 0.8f);
|
||||||
}
|
}
|
||||||
@ -58,6 +62,7 @@ public final class SoundsTable extends Table<Sounds> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void put(int id, Sounds record) {
|
protected void put(int id, Sounds record) {
|
||||||
|
log.trace("{}: {} -> {}", record.FileName, id, record.Index);
|
||||||
super.put(record.Index, record);
|
super.put(record.Index, record);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user