Class GachaHandler

java.lang.Object
emu.grasscutter.server.http.handlers.GachaHandler
All Implemented Interfaces:
Router

public final class GachaHandler extends Object implements Router
Handles all gacha-related HTTP requests.
  • Constructor Details

    • GachaHandler

      public GachaHandler()
  • Method Details

    • applyRoutes

      public void applyRoutes(express.Express express, io.javalin.Javalin handle)
      Description copied from interface: Router
      Called when the router is initialized by Express.
      Specified by:
      applyRoutes in interface Router
      Parameters:
      express - An Express instance.