Class GachaHandler
java.lang.Object
emu.grasscutter.server.http.handlers.GachaHandler
- All Implemented Interfaces:
Router
Handles all gacha-related HTTP requests.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyRoutes(io.javalin.Javalin javalin) Called when the router is initialized by Express.static Path
-
Field Details
-
gachaMappings
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
GachaHandler
public GachaHandler()
-
-
Method Details
-
applyRoutes
public void applyRoutes(io.javalin.Javalin javalin) Description copied from interface:RouterCalled when the router is initialized by Express.- Specified by:
applyRoutesin interfaceRouter- Parameters:
javalin- A Javalin instance.
-
getGachaMappingsPath
-