mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-03-04 09:22:36 +01:00
27 lines
512 B
Java
27 lines
512 B
Java
package com.eu.habbo.habbohotel.modtool;
|
|
|
|
public enum ModToolTicketState {
|
|
CLOSED(0),
|
|
OPEN(1),
|
|
PICKED(2);
|
|
|
|
private final int state;
|
|
|
|
ModToolTicketState(int state) {
|
|
this.state = state;
|
|
}
|
|
|
|
public static ModToolTicketState getState(int number) {
|
|
for (ModToolTicketState s : ModToolTicketState.values()) {
|
|
if (s.state == number)
|
|
return s;
|
|
}
|
|
|
|
return CLOSED;
|
|
}
|
|
|
|
public int getState() {
|
|
return this.state;
|
|
}
|
|
}
|