mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-07-04 14:25:32 +02:00
25 lines
375 B
Java
25 lines
375 B
Java
package com.eu.habbo.habbohotel.permissions;
|
|
|
|
public enum PermissionSetting {
|
|
|
|
DISALLOWED,
|
|
|
|
|
|
ALLOWED,
|
|
|
|
|
|
ROOM_OWNER;
|
|
|
|
public static PermissionSetting fromString(String value) {
|
|
switch (value) {
|
|
case "1":
|
|
return ALLOWED;
|
|
case "2":
|
|
return ROOM_OWNER;
|
|
|
|
}
|
|
|
|
return DISALLOWED;
|
|
}
|
|
}
|