| 1 | package sh.okx.rankup.messages; | |
| 2 | ||
| 3 | import lombok.Getter; | |
| 4 | ||
| 5 | public enum Message { | |
| 6 | NOT_IN_LADDER("not-in-ladder"), | |
| 7 | NOT_HIGH_ENOUGH("not-high-enough"), | |
| 8 | REQUIREMENTS_NOT_MET("rankup.requirements-not-met"), | |
| 9 | NO_RANKUP("rankup.no-rankup"), | |
| 10 | SUCCESS_PUBLIC("rankup.success-public"), | |
| 11 | SUCCESS_PRIVATE("rankup.success-private"), | |
| 12 | CONFIRMATION("rankup.confirmation"), | |
| 13 | TITLE("rankup.gui.title"), | |
| 14 | RANKS_HEADER("rankup.list.header"), | |
| 15 | RANKS_FOOTER("rankup.list.footer"), | |
| 16 | RANKS_COMPLETE("rankup.list.complete"), | |
| 17 | RANKS_CURRENT("rankup.list.current"), | |
| 18 | RANKS_INCOMPLETE("rankup.list.incomplete"), | |
| 19 | PRESTIGE_REQUIREMENTS_NOT_MET("prestige.requirements-not-met"), | |
| 20 | PRESTIGE_NO_PRESTIGE("prestige.no-prestige"), | |
| 21 | PRESTIGES_HEADER("prestige.list.header"), | |
| 22 | PRESTIGES_FOOTER("prestige.list.footer"), | |
| 23 | PRESTIGES_COMPLETE("prestige.list.complete"), | |
| 24 | PRESTIGES_CURRENT("prestige.list.current"), | |
| 25 | PRESTIGES_INCOMPLETE("prestige.list.incomplete"), | |
| 26 | PRESTIGE_TITLE("prestige.gui.title"), | |
| 27 | COOLDOWN_SINGULAR("rankup.cooldown.singular"), | |
| 28 | COOLDOWN_PLURAL("rankup.cooldown.plural"), | |
| 29 | MUST_PRESTIGE("rankup.must-prestige"), | |
| 30 | PRESTIGE_SUCCESS_PUBLIC("prestige.success-public"), | |
| 31 | PRESTIGE_SUCCESS_PRIVATE("prestige.success-private"), | |
| 32 | PRESTIGE_CONFIRMATION("prestige.confirmation"), | |
| 33 | ; | |
| 34 | ||
| 35 |
1
1. getName : replaced return value with "" for sh/okx/rankup/messages/Message::getName → KILLED |
@Getter |
| 36 | private final String name; | |
| 37 | ||
| 38 | Message(String name) { | |
| 39 | this.name = name; | |
| 40 | } | |
| 41 | } | |
Mutations | ||
| 35 |
1.1 |