gw2.static#
local static = require 'gw2.static'
Attributes#
Database Tables#
Functions#
- gw2.static.updateachievements()#
Update the following tables from the GW2 API.
achievements
achievement_flags
achievement_tiers
achievement_prerequisites
achievement_rewards
achievement_bits
Version History
Version
Notes
0.0.1
Added
- gw2.static.updatespecializations()#
Update the following tables from the GW2 API.
specializations
specialization_traits
Version History
Version
Notes
0.0.1
Added
- gw2.static.updatecontinents()#
Update the following tables from the GW2 API. If an error occurs, no changes will be made.
continents
regions
maps
pois (waypoints, vistas, pois, etc.)
tasks (renown hearts)
taskbounds
skillchallenges (hero points)
sectors
sectorbounds
adventures
masterypoints
Version History
Version
Notes
0.0.1
Added
- gw2.static.specialization(specid)#
Return the specializtion given by
specid
.The returned value is a Lua table with the following fields.
Field
Description
id
Specialization ID
name
Specialization Name
profession
Profession Name
elite
Indicates if this is an elite specialization
icon
Icon URL
background
Background URL
minor_traits
A sequence of minor trait IDs
major_traits
A sequence of major trait IDs
Version History
Version
Notes
0.0.1
Added
- gw2.static.waypointsinmap(mapid)#
Return a table of waypoints for the given map ID.
- Parameters:
mapid (
integer
) – The Map ID- Returns:
A table of waypoints. See
gw2static.pois
.- Return type:
Version History
Version
Notes
0.0.1
Added