public class StatisticsUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STATISTICS_LIST_FORM_ID |
static int |
STATISTICS_MENU_FORM_ID |
| Constructor and Description |
|---|
StatisticsUtils() |
| Modifier and Type | Method and Description |
|---|---|
static SimpleFormWindow |
buildMenuForm(GeyserSession session)
Build a form for the given session with all statistic categories
|
static boolean |
handleListForm(GeyserSession session,
String response)
Handle the list form response
|
static boolean |
handleMenuForm(GeyserSession session,
String response)
Handle the menu form response
|
public static final int STATISTICS_MENU_FORM_ID
public static final int STATISTICS_LIST_FORM_ID
public static SimpleFormWindow buildMenuForm(GeyserSession session)
session - The session to build the form forpublic static boolean handleMenuForm(GeyserSession session, String response)
session - The session that sent the responseresponse - The response string to parsepublic static boolean handleListForm(GeyserSession session, String response)
session - The session that sent the responseresponse - The response string to parseCopyright © 2021 GeyserMC. All rights reserved.