Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOperatorMap ¶
GetOperatorMap queries an official Ubisoft resource, mapping operator names to operator metadata
Types ¶
type UbiOperatorJSON ¶
type UbiOperatorJSON struct { Slug string `json:"slug"` // operatorName // operatorIcon.url // operatorThumbnail.url IsAttacker bool `json:"side"` // Ubisoft again with their funny naming }
could also map more things if needed, i.e. operator icon URL
Click to show internal directories.
Click to hide internal directories.