mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-09-11 19:24:16 +02:00
37 lines
634 B
Java
37 lines
634 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 int getAction()
|
||
|
{
|
||
|
return this.action;
|
||
|
}
|
||
|
|
||
|
public static RoomUserAction fromValue(int value)
|
||
|
{
|
||
|
for (RoomUserAction action : RoomUserAction.values())
|
||
|
{
|
||
|
if (action.getAction() == value)
|
||
|
{
|
||
|
return action;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return NONE;
|
||
|
}
|
||
|
}
|