GetCVar

From ESOUI Wiki

Jump to: navigation, search

This function returns the string value of an internal configuration variable.

Contents

Arguments

CVarName
A string: the name of the variable to check.

Syntax

function CanGemifyItem(bagId, slotIndex)
   if IsItemFromCrownCrate(bagId, slotIndex) and not IsItemPlayerLocked(bagId, slotIndex) then
      local itemsRequired, gemsAwarded = GetNumCrownGemsFromItemManualGemification(bagId, slotIndex)
      return gemsAwarded > 0 and itemsRequired > 0
   end
   return false
end

List of CVars

This list is incomplete; you can help by expanding it.
Language.2
The current language, as a two-character code (e.g. "en" for English).
LastPlatform
Appears to refer to the server one is playing on, e.g. "Live".
LastRealm
Appears to refer to the server one is playing on, e.g. "NA Megaserver".
GAMMA_ADJUSTMENT
Unknown.
HasPlayedPregameVideo
Unknown. Returns "0" or "1".
IsServerSelected
Unknown. Returns "0" or "1".
IsTrustedMachine
Unknown. Returns "0" or "1".
QuickLaunch
Unknown. Returns "0" or "1".
SelectedServer
Unknown.
SkipPregameVideos
Unknown. Returns "0" or "1".
UIErrorShowMoreInfo
Unknown. Returns "0" or "1".
WindowedWidth
The width of the game window. This value is not affected by UI scaling and screen normalization; it is the true window/screen size.

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox