mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-03-04 09:22:36 +01:00
32 lines
603 B
Java
32 lines
603 B
Java
package com.eu.habbo.habbohotel.rooms;
|
|
|
|
public enum RoomUserAction {
|
|
NONE(0),
|
|
WAVE(1),
|
|
BLOW_KISS(2),
|
|
LAUGH(3),
|
|
UNKNOWN(4),
|
|
IDLE(5),
|
|
JUMP(6),
|
|
THUMB_UP(7);
|
|
|
|
private final int action;
|
|
|
|
RoomUserAction(int action) {
|
|
this.action = action;
|
|
}
|
|
|
|
public static RoomUserAction fromValue(int value) {
|
|
for (RoomUserAction action : RoomUserAction.values()) {
|
|
if (action.getAction() == value) {
|
|
return action;
|
|
}
|
|
}
|
|
|
|
return NONE;
|
|
}
|
|
|
|
public int getAction() {
|
|
return this.action;
|
|
}
|
|
} |