mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-03-06 10:12:36 +01:00
31 lines
945 B
Java
31 lines
945 B
Java
package com.eu.habbo.habbohotel.modtool;
|
|
|
|
public class ModToolChatLog implements Comparable<ModToolChatLog> {
|
|
public final int timestamp;
|
|
public final int habboId;
|
|
public final String username;
|
|
public final String message;
|
|
public final boolean highlighted;
|
|
|
|
public ModToolChatLog(int timestamp, int habboId, String username, String message) {
|
|
this.timestamp = timestamp;
|
|
this.habboId = habboId;
|
|
this.username = username;
|
|
this.message = message;
|
|
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;
|
|
}
|
|
|
|
@Override
|
|
public int compareTo(ModToolChatLog o) {
|
|
return o.timestamp - this.timestamp;
|
|
}
|
|
}
|