API Functions/Game

Function
Game.AcceptPvPMatch(accept)
Game.AcceptResourceScan(scanId, accepted) = success
Game.AddRecipeToCart( recipe_id )
Game.BuildGlobalCharacterList() = list
Game.CanItemGoInSlot
Game.CanTrackRecipe(recipe_id) = bool
Game.CanItemGoInSlot
Game.ChunkCoordToWorld(chunkX,chunkY,x,y[,z]) = {x,y,z}
Game.ClaimTokenVendorRewards(token_id)
Game.ClearTrail(Trail_ID)
Game.ClearWayPoint()
Game.ConfirmDuel(username, accepted)
Game.EnableWorldMapGlobeView(enable)
Game.FindServiceProvider(service_name)
Game.GetAccessoryInfo
Game.GetArcJobs(board_id)
Game.GetArmyInfo(armyId) = {name, colors, iconId}
Game.GetAvailableTargets() = targetIds
Game.GetCameraPos() = {x,y,z}
Game.GetCertificationInfo(certification_id) = {name, web_icon, yields, xp, description}
Game.GetCharacterColorsById
Game.GetCharacterTypeInfo(charTypeId) = charInfo
Game.GetDecalInfo
Game.GetConnectedRegion() = region
Game.GetDecalInfo
Game.GetEncounterUiFields(enc_id) = fields
Game.GetFoundMatch() = id
Game.GetFrameConstraintsMultipliers(battleframe_type_id) = {power={[stage]={base_power, damage_pct_rate, max_variance}}, mass={[i]={mass_pct, speed_mult}} }
Game.GetFreeTrailHandle() = Trail_ID
Game.GetGameVariable(varName) = nil/float
Game.GetGlobeViewLocations() = {}
Game.GetHeadInfo
Game.GetItemCraftingUnitsCost
Game.GetItemInfoByType(itemTypeId[, attributes_modifiers]) = info
Game.GetItemRepairCost
Game.GetItemTypesOfResourceType(resourceTypeId) = {[i]=itemTypeId}
Game.GetKnownResourceLocations() = { x, y, z, composition }
Game.GetLFGCategories
Game.GetLoadingProgress() = pct, completed, total
Game.GetLoadoutInfoByType(battleframe_type_id) = {certificate_id, defaults_slots[name]={...}}
Game.GetMapCoordinates() = {x,y,z}
Game.GetMapMarkerInfo([id], onlyGlobal <optional boolean>) = {ToolTip, x, y, z, type, broadcastPriority, showWaypoint, introRadioID, showNavigation, stage2RadioId, stage3RadioId, stage4RadioId, stage5RadioId}
Game.GetMapMarkerList() = {ToolTip, x, y, z, type, id}
Game.GetMatchLoadState
Game.GetModuleSlotsForItem
Game.GetNetworkState
Game.GetOrnamentInfo
Game.GetPerkInfo(certificationId) = {name, description, web_icon, cost}
Game.GetPerkModuleInfo()
Game.GetPickingPosition() = {x, y, z}
Game.GetPreviewItemInfo( item_info, attribute_table )
Game.GetProgressionUnlocks() = unlocks
Game.GetPvPMatchId() = id
Game.GetPvPQueue() = { queues={[i]={id, name, type, playersNeeded}}, name, type }
Game.GetRecipe(recipe_id) = recipe_info
Game.GetRecipeIds() = {}
Game.GetRecipeInfo(recipe_id) = recipe_info
Game.GetRecipeList() = {recipe_id=recpie_info}
Game.GetResourceNodeCompleteResults() = {resourceNodeId, composition, destroyed, completion}
Game.GetResourcePoolSize
Game.GetResourceScanIds() = {}
Game.GetResourceScanInfo(scanId) = {x,y,z, ownerId, composition[i]={itemTypeId, percent}}
Game.GetResourceTypeInfo(resourceTypeId) = {name, parentResourceTypeId}
Game.GetResourceTypesList() = {parent_id, name, id}
Game.GetRootItemInfo(item_id) = info
Game.GetSinCardFields(obj_id) = fields
Game.GetSkinOverrideInfo
Game.GetSpecializationCertificates
Game.GetStatusEffectInfo(effect_id) = buff_info
Game.GetSubzoneNameAt(x, y) = name
Game.GetTabMapBounds() = {top, height, left, width}
Game.GetTargetBoneInfo(entityId, boneName) = {pos}
Game.GetTargetBounds(entityId) = {x, y, z, length, width, height}
Game.GetTargetCharacterInfo(entityId) = charInfo
Game.GetTargetHardpoints(entityId) = hp_names
Game.GetTargetIdByName(name) = entityId
Game.GetTargetInfo(entityId) = {name, group, type, faction, hostile, bounds, ownerId, damageable, type}
Game.GetTargetRespawnTime(entityId) = {RemainingSeconds}
Game.GetTargetStatus(entityId) = {inSin, visible, active, interact, voice, text, mission, target_lockable, target_locked}
Game.GetTargetVitals(entityId) = {Health, MaxHealth, health_pct}
Game.GetTeamInfo(teamId) = {armyId, hostile}
Game.GetTeams() = {teamIds}
Game.GetTokenVendorInfo(vendor_id)
Game.GetTutorialChainInfo
Game.GetVoiceListInfo
Game.GetWarpaintInfo(warpaint_id) = warpaintInfo
Game.GetWarpaintPatternInfo
Game.GetWayPoint() = {x,y,z}
Game.GetWorldMapGlobeEntityId() = entityId
Game.GetWorldObjectInfo(objId) = {name, position, radius, zoneId}
Game.GetWorldObjectList() = {ids}
Game.GetWorldObjectStatus(objId) = status
Game.GetZoneId() = zoneId
Game.GetZoneInfo(zoneId) = {main_title, location, sub_title, minor_title, name}
Game.HighlightEntity(entityId[, shader_color_idx])
Game.IsInPvP() = bool
Game.IsItemOfType
Game.IsTargetAvailable(entityId) = available
Game.IsTrackingRecipe(recipe_id) = bool
Game.IsWorldMapVisible() = bool
Game.ListRoutes(true/false) = routes
Game.QueueForLFG
Game.QueueForPvP(matchIds[, queue])
Game.RemoveRecipeFromCart( recipe_id )
Game.RequestCancelArc(username)
Game.RequestDuel(username)
Game.RequestGlobalCount
Game.RequestGlobalMilestoneInfo
Game.RequestKnownResourceLocations
Game.RequestStartArc
Game.RequestTransfer
Game.RequiredLevelForSlot
Game.RespondToServerQuery(query_id, option_name, retval)
Game.ReturnToPvE
Game.RotateWorldMapGlobeToZone
Game.SendDialogResponse(dialogId, responseIdx)
Game.SendMissionUiMessage(message_str)
Game.SendUIMessageToEncounter
Game.SetMapCoordinates(x, y, z)
Game.SetMapCruiseControl(x, y, z)
Game.SetMapFlightRoutes(routes)
Game.SetMapInputMode(roam/cursor/ignore)
Game.SetRadarRange(meters)
Game.SetTrailAlpha(Trail_ID, alpha)
Game.SetTrailColor(Trail_ID, r, g, b)
Game.SetTrailRefreshRate(Trail_ID, refresh_rate)
Game.SetTrailTitle(Trail_ID, title)
Game.SetWayPoint(x, y, z)
Game.ShowTrailTo(Trail_ID, x, y, z)
Game.ShowWorldMap(show)
Game.SlashCommand(command) = success
Game.SpectateBomb
Game.SpectatePlayer( guid )
Game.SpendTokenAtVendor(token_id)
Game.StartItemSearch
Game.TryActivateMenu() = bool
Game.Unstuck
Game.VotekickRespond(character_id, should_kick)
Game.VotekickStart
Game.WorldToChunkCoord(x,y[,z]) = {chunkX,chunkY,x,y,z}
Game.ZoomWorldMap(percent)
Category:Addon_API