- getImageUrl<T>(region, kind): `https://raw.githubusercontent.com/ddnet/ddnet-web/master/www/countryflags/${string}.png`
Returns `https://raw.githubusercontent.com/ddnet/ddnet-web/master/www/countryflags/${string}.png`
- getImageUrl<T>(country, kind): `https://raw.githubusercontent.com/ddnet/ddnet/master/data/countryflags/${string}.png`
Returns `https://raw.githubusercontent.com/ddnet/ddnet/master/data/countryflags/${string}.png`
- getImageUrl<T>(tile, kind): `https://raw.githubusercontent.com/ddnet/ddnet-web/master/www/tiles/${string}.png`
Returns `https://raw.githubusercontent.com/ddnet/ddnet-web/master/www/tiles/${string}.png`
Param: kind
The kind of image wanted, this is used at run-time to determine which url gets returned for overlapping members.
Type Param: T
Used in combination with the kind param to also determine the kind of image wanted at compile-time.