Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "Station/routes/api/dimensions/match/index"

Index

Variables

Functions

Variables

Const router

router: Router = express.Router()

Functions

Const getMatch

  • getMatch(req: Request, res: Response, next: NextFunction): Promise<void>
  • Get match by matchID. Requires a tournament or dimension to be stored.

    For tournaments, it will get a match only if it's active. Otherwise a database plugin is needed in order to retrieve the match. NOTE that the database plugin will not recover all of the same match data as usually returned from active matches

    For dimension run match (via Dimension.runMatch), it is retrievable as long as it has not been destroyed

    Parameters

    • req: Request
    • res: Response
    • next: NextFunction

    Returns Promise<void>

Const pickMatch

  • pickMatch(match: Match): { agents: undefined[] }

Generated using TypeDoc