GameServer.Tournaments.Bracket (game_server_sdk v1.0.1040)

Copy Markdown View Source

Tournament bracket struct from GameServer.

This is a stub module for SDK type definitions. The actual struct is provided by GameServer at runtime.

A tournament with more entries than bracket_size is split into several parallel brackets, each crowning its own champion.

Fields

  • id - Bracket ID (UUIDv7 string)
  • tournament_id - Owning tournament (UUIDv7 string)
  • index - 0-based bracket number within the tournament
  • size - Slots in this bracket (power of two)
  • inserted_at - Creation timestamp

Summary

Types

t()

@type t() :: %GameServer.Tournaments.Bracket{
  id: String.t(),
  index: integer(),
  inserted_at: DateTime.t(),
  size: integer(),
  tournament_id: String.t()
}