31 lines
945 B
Java
Raw Normal View History

2018-07-06 13:30:00 +00:00
package com.eu.habbo.habbohotel.modtool;
2019-05-26 21:14:53 +03:00
public class ModToolChatLog implements Comparable<ModToolChatLog> {
2018-07-06 13:30:00 +00:00
public final int timestamp;
public final int habboId;
public final String username;
public final String message;
2019-05-30 21:05:25 +03:00
public final boolean highlighted;
2018-07-06 13:30:00 +00:00
2019-05-26 21:14:53 +03:00
public ModToolChatLog(int timestamp, int habboId, String username, String message) {
2018-07-06 13:30:00 +00:00
this.timestamp = timestamp;
this.habboId = habboId;
this.username = username;
this.message = message;
2019-05-30 21:05:25 +03:00
this.highlighted = false;
}
public ModToolChatLog(int timestamp, int habboId, String username, String message, boolean highlighted) {
this.timestamp = timestamp;
this.habboId = habboId;
this.username = username;
this.message = message;
this.highlighted = highlighted;
2018-07-06 13:30:00 +00:00
}
@Override
2019-05-26 21:14:53 +03:00
public int compareTo(ModToolChatLog o) {
2018-07-06 13:30:00 +00:00
return o.timestamp - this.timestamp;
}
}