__variant(float table, string name, optional __variant deflt, optional float requiretype, optional float index) hash_get
void MapLibrary_Init(void)
Initialize the map library, MapLibrary_GetMapCount() will return the amount of maps available.
Definition: maplibrary.qc:95
int MapLibrary_GetMapCount(void)
Returns the total amount of maps available.
Definition: maplibrary.qc:177
__variant MapLibrary_GetInfo(int, mapType_t)
Retrieve information about a given mapID.
Definition: maplibrary.qc:183
mapType_t
Definition: maplibrary.h:33
@ MAPINFO_NAME
(string) Name of the map.
Definition: maplibrary.h:34
@ MAPINFO_TITLE
(string) Title of the map.
Definition: maplibrary.h:35
@ MAPINFO_TYPE
(string) Type of map.
Definition: maplibrary.h:37
@ MAPINFO_AUTHOR
(string) Author of the map.
Definition: maplibrary.h:36
@ MAPINFO_PREVIEW
(string) URL to a preview of the map.
Definition: maplibrary.h:38