TPG.Maps.GetVoteInfo(mapName)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Display name and budgets for any map, for the map-vote screen. Works on maps other than the running one and does not disturb the loaded config. The objective count reported is the CP-mode one, as a stand-in for how big the map plays. displayName falls back to the map name tidied up.
Parameters
| Name | Type | Description |
|---|---|---|
mapName | string |
Returns
| Type | Description |
|---|---|
table | `{ map, displayName, points, weight, props, objectives }`. |
Examples
No examples available.
Used In
No usages found in the codebase.