Arcturus-Community/src/main/java/com/eu/habbo/habbohotel/modtool/ModToolChatLog.java

24 lines
590 B
Java
Raw Normal View History

2018-07-06 15:30:00 +02:00
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 ModToolChatLog(int timestamp, int habboId, String username, String message)
{
this.timestamp = timestamp;
this.habboId = habboId;
this.username = username;
this.message = message;
}
@Override
public int compareTo(ModToolChatLog o)
{
return o.timestamp - this.timestamp;
}
}