Arcturus-Community/src/main/java/com/eu/habbo/habbohotel/modtool/ModToolChatRecordDataContext.java
2019-07-21 20:16:27 +03:00

25 lines
620 B
Java

package com.eu.habbo.habbohotel.modtool;
import com.eu.habbo.messages.ServerMessage;
public enum ModToolChatRecordDataContext {
ROOM_NAME("roomName", 2),
ROOM_ID("roomId", 1),
GROUP_ID("groupId", 1),
THREAD_ID("threadId", 1),
MESSAGE_ID("messageId", 1),
PHOTO_ID("extraDataId", 2);
public final String key;
public final int type;
ModToolChatRecordDataContext(String key, int type) {
this.key = key;
this.type = type;
}
public void append(final ServerMessage message) {
message.appendString(this.key);
message.appendByte(this.type);
}
}