mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-06-28 11:45:33 +02:00
34 lines
696 B
Java
34 lines
696 B
Java
package com.eu.habbo.habbohotel.modtool;
|
|
|
|
public enum CfhActionType {
|
|
MODS(0),
|
|
AUTO_REPLY(1),
|
|
AUTO_IGNORE(2),
|
|
GUARDIANS(3);
|
|
|
|
public final int type;
|
|
|
|
CfhActionType(int type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public static CfhActionType get(String name) {
|
|
switch (name) {
|
|
case "auto_reply":
|
|
return CfhActionType.AUTO_REPLY;
|
|
|
|
case "auto_ignore":
|
|
return CfhActionType.AUTO_IGNORE;
|
|
|
|
case "guardians":
|
|
return CfhActionType.GUARDIANS;
|
|
}
|
|
|
|
return CfhActionType.MODS;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return this.name().toLowerCase();
|
|
}
|
|
} |