Skip to content

Commit

Permalink
Annotate divisions/subdivisions
Browse files Browse the repository at this point in the history
  • Loading branch information
lL1l1 committed Dec 12, 2024
1 parent 6dea6ef commit 8eba8d2
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions lua/ui/lobby/autolobby/AutolobbyController.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,33 @@ local AutolobbyEngineStrings = {
['LaunchRejected'] = "<LOC lob_0009>Some players are using an incompatible client version.",
}

-- associated textures are in `/textures/divisions/<division> <subdivision>.png`
-- Make note of the space, which isn't there for "grandmaster" and "unlisted" divisions

---@alias Division
---| "bronze"
---| "silver"
---| "gold"
---| "diamond"
---| "master"
---| "grandmaster"
---| "unlisted"

---@alias Subdivision
---| "I"
---| "II"
---| "III"
---| "IV"
---| "V"
---| "" # when Division is grandmaster or unlisted

---@class UIAutolobbyPlayer: UILobbyLaunchPlayerConfiguration
---@field StartSpot number
---@field DEV number # Related to rating/divisions
---@field MEAN number # Related to rating/divisions
---@field NG number # Related to rating/divisions
---@field DIV string # Related to rating/divisions
---@field SUBDIV string # Related to rating/divisions
---@field DIV Division # Related to rating/divisions
---@field SUBDIV Subdivision # Related to rating/divisions
---@field PL number # Related to rating/divisions
---@field PlayerClan string

Expand Down

0 comments on commit 8eba8d2

Please sign in to comment.