mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-07-04 14:25:32 +02:00
25 lines
569 B
Java
25 lines
569 B
Java
![]() |
package com.eu.habbo.habbohotel.items;
|
||
|
|
||
|
public enum RedeemableSubscriptionType {
|
||
|
HABBO_CLUB("hc"),
|
||
|
BUILDERS_CLUB("bc");
|
||
|
|
||
|
public final String subscriptionType;
|
||
|
|
||
|
RedeemableSubscriptionType(String subscriptionType)
|
||
|
{
|
||
|
this.subscriptionType = subscriptionType;
|
||
|
}
|
||
|
|
||
|
public static RedeemableSubscriptionType fromString(String subscriptionType) {
|
||
|
switch (subscriptionType) {
|
||
|
case "hc":
|
||
|
return HABBO_CLUB;
|
||
|
case "bc":
|
||
|
return BUILDERS_CLUB;
|
||
|
}
|
||
|
|
||
|
return null;
|
||
|
}
|
||
|
}
|