lua_type
function · lua · boundary
- Address
0x6f3400· 16 bytes, up to0x6f340f- Meaning
- Returns the type tag of a stack index, or -1 for an absent one
- Confidence
- verified, proof two
- Finding
- ui/luastate#reading-numeric-arguments
Finding: Reading numeric arguments in ui: the Lua state, its library and C functions
lua_tonumber answers the number, or a string's value when it parses fully; for anything else,
an absent argument included, it answers 0.0 and never raises. lua_isnumber accepts exactly what
converts; lua_isstring accepts numbers and strings. Integers come from __ftol, truncating
toward zero. What a function does with a missing number is its own: some raise (SetAlpha), some
use a default (a colour's alpha of 1), and some return having done nothing (SetScrollFromBottom).
An argument count is checked by few functions, and exactly: SetMaxLetters raises unless it has two
values (self included) and stores 0 only when the second is not a number.
The derivation is in the doc.
Callers 524
- Script::PINEntered glue
- Script::GetAddOnEnableState glue
- Script::EnableAddOn glue
- Script::DisableAddOn glue
- Script::SetCursor ui
- Script::SetupFullscreenScale ui
- Script::SetPortraitToTexture ui
- Script::CreateWorldMapArrowFrame ui
- Script::CreateMiniWorldMapArrowFrame ui
- LootButton::SetSlot ui
- Script::SetLootPortrait ui
- Script::SetInventoryPortaitTexture ui
- Script::SetPetStablePaperdoll ui
- Script::SetTaxiMap ui
- Minimap::SetMaskTexture ui
- Minimap::SetIconTexture ui
- Minimap::SetBlipTexture ui
- Minimap::SetArrowModel ui
- Minimap::SetPlayerModel ui
- Script::PingLocation ui
- Script::SetBagPortaitTexture ui
- TabardModel::InitializeTabardColors ui
- TabardModel::Save ui
- TabardModel::CycleVariation ui
- TabardModel::GetUpperBackgroundFileName ui
- TabardModel::GetLowerBackgroundFileName ui
- TabardModel::GetUpperEmblemFileName ui
- TabardModel::GetLowerEmblemFileName ui
- TabardModel::GetUpperEmblemTexture ui
- TabardModel::GetLowerEmblemTexture ui
- DressUpModel::Undress ui
- DressUpModel::Dress ui
- DressUpModel::TryOn ui
- PlayerModel::SetUnit ui
- PlayerModel::RefreshUnit ui
- PlayerModel::SetRotation ui
- Script::UnitName ui
- Script::SetPortraitTexture ui
- GameTooltip::AddFontStrings ui
- GameTooltip::SetMinimumWidth ui
- GameTooltip::SetPadding ui
- GameTooltip::IsOwned ui
- GameTooltip::SetOwner ui
- GameTooltip::GetAnchorType ui
- GameTooltip::ClearLines ui
- GameTooltip::AddLine ui
- GameTooltip::AddDoubleLine ui
- GameTooltip::SetText ui
- GameTooltip::AppendText ui
- GameTooltip::FadeOut ui
- GameTooltip::SetHyperlink ui
- GameTooltip::SetAction ui
- GameTooltip::SetPetAction ui
- GameTooltip::SetShapeshift ui
- GameTooltip::SetPlayerBuff ui
- GameTooltip::SetTrackingSpell ui
- GameTooltip::SetSpell ui
- GameTooltip::SetInventoryItem ui
- GameTooltip::SetLootItem ui
- GameTooltip::SetQuestItem ui
- GameTooltip::SetQuestLogItem ui
- GameTooltip::SetTrainerService ui
- GameTooltip::SetTradeSkillItem ui
- GameTooltip::SetCraftItem ui
- GameTooltip::SetCraftSpell ui
- GameTooltip::SetMerchantItem ui
- GameTooltip::SetTradePlayerItem ui
- GameTooltip::SetTradeTargetItem ui
- GameTooltip::SetBagItem ui
- GameTooltip::SetUnit ui
- GameTooltip::SetUnitBuff ui
- GameTooltip::SetUnitDebuff ui
- GameTooltip::SetTalent ui
- GameTooltip::SetSendMailItem ui
- GameTooltip::SetInboxItem ui
- GameTooltip::SetAuctionSellItem ui
- GameTooltip::SetAuctionItem ui
- GameTooltip::NumLines ui
- GameTooltip::SetQuestRewardSpell ui
- GameTooltip::SetQuestLogRewardSpell ui
- GameTooltip::SetAuctionCompareItem ui
- GameTooltip::SetMerchantCompareItem ui
- GameTooltip::SetBuybackItem ui
- GameTooltip::SetLootRollItem ui
- GetScriptFlagArg ui
- lua_isstring lua
- luaL_typerror lua
- luaL_newmetatable lua
- luaL_checktype lua
- luaL_checkany lua
- luaL_optlstring lua
- luaL_optnumber lua
- luaL_getmetafield lua
- luaL_openlib lua
- getsizes lua
- luaL_getn lua
- luaL_ref lua
- callalert lua
- LockScriptObject ui
- FrameScriptObjectIndex ui
- ScriptSetErrorHandler ui
- ScriptSetMetatable ui
- ScriptPushFunction ui
- ScriptPushFenvOverride ui
- ScriptIpairs ui
- ScriptType ui
- ScriptToString ui
- ScriptTime ui
- FrameScriptSerializeValue ui
- Script::EnumerateFrames ui
- Script::CreateFrame ui
- FindFrameOfType ui
- Model::SetModel ui
- Model::GetModel ui
- Model::ClearModel ui
- Model::SetPosition ui
- Model::SetFacing ui
- Model::SetModelScale ui
- Model::SetSequence ui
- Model::SetSequenceTime ui
- Model::SetCamera ui
- Model::SetLight ui
- Model::GetLight ui
- Model::GetPosition ui
- Model::GetFacing ui
- Model::GetModelScale ui
- Model::AdvanceTime ui
- Model::ReplaceIconTexture ui
- Model::SetFogColor ui
- Model::GetFogColor ui
- Model::SetFogNear ui
- Model::GetFogNear ui
- Model::SetFogFar ui
- Model::GetFogFar ui
- Model::ClearFog ui
- Frame::GetFrameType ui
- Frame::IsFrameType ui
- Frame::GetTitleRegion ui
- Frame::CreateTitleRegion ui
- Frame::CreateTexture ui
- Frame::CreateFontString ui
- Frame::GetNumRegions ui
- Frame::GetRegions ui
- Frame::GetNumChildren ui
- Frame::GetChildren ui
- Frame::GetFrameStrata ui
- Frame::SetFrameStrata ui
- Frame::GetFrameLevel ui
- Frame::SetFrameLevel ui
- Frame::HasScript ui
- Frame::GetScript ui
- Frame::SetScript ui
- Frame::RegisterEvent ui
- Frame::UnregisterEvent ui
- Frame::RegisterAllEvents ui
- Frame::UnregisterAllEvents ui
- Frame::GetAlpha ui
- Frame::SetAlpha ui
- Frame::GetEffectiveScale ui
- Frame::GetScale ui
- Frame::SetScale ui
- Frame::GetID ui
- Frame::SetID ui
- Frame::SetToplevel ui
- Frame::IsToplevel ui
- Frame::EnableDrawLayer ui
- Frame::DisableDrawLayer ui
- Frame::Show ui
- Frame::Hide ui
- Frame::IsVisible ui
- Frame::IsShown ui
- Frame::Raise ui
- Frame::Lower ui
- Frame::GetHitRectInsets ui
- Frame::SetHitRectInsets ui
- Frame::GetMinResize ui
- Frame::SetMinResize ui
- Frame::GetMaxResize ui
- Frame::SetMaxResize ui
- Frame::SetMovable ui
- Frame::IsMovable ui
- Frame::SetResizable ui
- Frame::IsResizable ui
- Frame::StartMoving ui
- Frame::StartSizing ui
- Frame::StopMovingOrSizing ui
- Frame::SetUserPlaced ui
- Frame::IsUserPlaced ui
- Frame::SetClampedToScreen ui
- Frame::IsClampedToScreen ui
- Frame::RegisterForDrag ui
- Frame::EnableKeyboard ui
- Frame::IsKeyboardEnabled ui
- Frame::EnableMouse ui
- Frame::IsMouseEnabled ui
- Frame::EnableMouseWheel ui
- Frame::IsMouseWheelEnabled ui
- Frame::GetBackdrop ui
- Frame::SetBackdrop ui
- Frame::GetBackdropColor ui
- Frame::SetBackdropColor ui
- Frame::GetBackdropBorderColor ui
- Frame::SetBackdropBorderColor ui
- Button::Enable ui
- Button::Disable ui
- Button::IsEnabled ui
- Button::GetButtonState ui
- Button::SetButtonState ui
- Button::SetTextFontObject ui
- Button::GetTextFontObject ui
- Button::SetDisabledFontObject ui
- Button::GetDisabledFontObject ui
- Button::SetHighlightFontObject ui
- Button::GetHighlightFontObject ui
- Button::SetFont ui
- Button::GetFont ui
- Button::SetFontString ui
- Button::GetFontString ui
- Button::SetText ui
- Button::GetText ui
- Button::SetTextColor ui
- Button::GetTextColor ui
- Button::SetDisabledTextColor ui
- Button::GetDisabledTextColor ui
- Button::SetHighlightTextColor ui
- Button::GetHighlightTextColor ui
- SetButtonStateTexture ui
- ButtonGetStateTextureTable ui
- Button::SetHighlightTexture ui
- Button::GetHighlightTexture ui
- Button::SetPushedTextOffset ui
- Button::GetPushedTextOffset ui
- Button::GetTextWidth ui
- Button::GetTextHeight ui
- Button::RegisterForClicks ui
- Button::Click ui
- Button::LockHighlight ui
- Button::UnlockHighlight ui
- MovieFrame::StartMovie ui
- MovieFrame::StopMovie ui
- MovieFrame::EnableSubtitles ui
- ColorSelect::GetColorWheelTexture ui
- ColorSelect::SetColorWheelTexture ui
- ColorSelect::GetColorWheelThumbTexture ui
- ColorSelect::SetColorWheelThumbTexture ui
- ColorSelect::GetColorValueTexture ui
- ColorSelect::SetColorValueTexture ui
- ColorSelect::GetColorValueThumbTexture ui
- ColorSelect::SetColorValueThumbTexture ui
- ColorSelect::SetColorHSV ui
- ColorSelect::GetColorHSV ui
- ColorSelect::SetColorRGB ui
- ColorSelect::GetColorRGB ui
- StatusBar::GetOrientation ui
- StatusBar::SetOrientation ui
- StatusBar::GetMinMaxValues ui
- StatusBar::SetMinMaxValues ui
- StatusBar::GetValue ui
- StatusBar::SetValue ui
- StatusBar::GetStatusBarTexture ui
- StatusBar::SetStatusBarTexture ui
- StatusBar::GetStatusBarColor ui
- StatusBar::SetStatusBarColor ui
- Slider::GetThumbTexture ui
- Slider::SetThumbTexture ui
- Slider::GetOrientation ui
- Slider::SetOrientation ui
- Slider::GetMinMaxValues ui
- Slider::SetMinMaxValues ui
- Slider::GetValue ui
- Slider::SetValue ui
- Slider::GetValueStep ui
- Slider::SetValueStep ui
- ScrollFrame::SetScrollChild ui
- ScrollFrame::GetScrollChild ui
- ScrollFrame::SetHorizontalScroll ui
- ScrollFrame::SetVerticalScroll ui
- ScrollFrame::GetHorizontalScroll ui
- ScrollFrame::GetVerticalScroll ui
- ScrollFrame::GetHorizontalScrollRange ui
- ScrollFrame::GetVerticalScrollRange ui
- ScrollFrame::UpdateScrollChildRect ui
- ScrollingMessageFrame::SetFontObject ui
- ScrollingMessageFrame::GetFontObject ui
- ScrollingMessageFrame::SetFont ui
- ScrollingMessageFrame::GetFont ui
- ScrollingMessageFrame::SetTextColor ui
- ScrollingMessageFrame::GetTextColor ui
- ScrollingMessageFrame::SetShadowColor ui
- ScrollingMessageFrame::GetShadowColor ui
- ScrollingMessageFrame::SetShadowOffset ui
- ScrollingMessageFrame::GetShadowOffset ui
- ScrollingMessageFrame::SetSpacing ui
- ScrollingMessageFrame::GetSpacing ui
- ScrollingMessageFrame::SetJustifyH ui
- ScrollingMessageFrame::GetJustifyH ui
- ScrollingMessageFrame::SetJustifyV ui
- ScrollingMessageFrame::GetJustifyV ui
- ScrollingMessageFrame::AddMessage ui
- ScrollingMessageFrame::ScrollUp ui
- ScrollingMessageFrame::ScrollDown ui
- ScrollingMessageFrame::PageUp ui
- ScrollingMessageFrame::PageDown ui
- ScrollingMessageFrame::ScrollToTop ui
- ScrollingMessageFrame::ScrollToBottom ui
- ScrollingMessageFrame::SetScrollFromBottom ui
- ScrollingMessageFrame::AtTop ui
- ScrollingMessageFrame::AtBottom ui
- ScrollingMessageFrame::UpdateColorByID ui
- ScrollingMessageFrame::GetNumMessages ui
- ScrollingMessageFrame::GetNumLinesDisplayed ui
- ScrollingMessageFrame::GetCurrentScroll ui
- ScrollingMessageFrame::GetCurrentLine ui
- ScrollingMessageFrame::GetMaxLines ui
- ScrollingMessageFrame::SetMaxLines ui
- ScrollingMessageFrame::SetFading ui
- ScrollingMessageFrame::GetFading ui
- ScrollingMessageFrame::SetTimeVisible ui
- ScrollingMessageFrame::GetTimeVisible ui
- ScrollingMessageFrame::SetFadeDuration ui
- ScrollingMessageFrame::GetFadeDuration ui
- ScrollingMessageFrame::Clear ui
- MessageFrame::SetFontObject ui
- MessageFrame::GetFontObject ui
- MessageFrame::SetFont ui
- MessageFrame::GetFont ui
- MessageFrame::SetTextColor ui
- MessageFrame::GetTextColor ui
- MessageFrame::SetShadowColor ui
- MessageFrame::GetShadowColor ui
- MessageFrame::SetShadowOffset ui
- MessageFrame::GetShadowOffset ui
- MessageFrame::SetSpacing ui
- MessageFrame::GetSpacing ui
- MessageFrame::SetJustifyH ui
- MessageFrame::GetJustifyH ui
- MessageFrame::SetJustifyV ui
- MessageFrame::GetJustifyV ui
- MessageFrame::SetInsertMode ui
- MessageFrame::GetInsertMode ui
- MessageFrame::SetFading ui
- MessageFrame::GetFading ui
- MessageFrame::SetTimeVisible ui
- MessageFrame::GetTimeVisible ui
- MessageFrame::SetFadeDuration ui
- MessageFrame::GetFadeDuration ui
- MessageFrame::AddMessage ui
- MessageFrame::Clear ui
- SimpleHTML::SetFontObject ui
- ParseHtmlElementArg ui
- SimpleHTML::GetFontObject ui
- SimpleHTML::SetFont ui
- SimpleHTML::GetFont ui
- SimpleHTML::SetTextColor ui
- SimpleHTML::GetTextColor ui
- SimpleHTML::SetShadowColor ui
- SimpleHTML::GetShadowColor ui
- SimpleHTML::SetShadowOffset ui
- SimpleHTML::GetShadowOffset ui
- SimpleHTML::SetSpacing ui
- SimpleHTML::GetSpacing ui
- SimpleHTML::SetJustifyH ui
- SimpleHTML::GetJustifyH ui
- SimpleHTML::SetJustifyV ui
- SimpleHTML::GetJustifyV ui
- SimpleHTML::SetText ui
- SimpleHTML::SetHyperlinkFormat ui
- SimpleHTML::GetHyperlinkFormat ui
- EditBox::SetFontObject ui
- EditBox::GetFontObject ui
- EditBox::SetFont ui
- EditBox::GetFont ui
- EditBox::SetTextColor ui
- EditBox::GetTextColor ui
- EditBox::SetShadowColor ui
- EditBox::GetShadowColor ui
- EditBox::SetShadowOffset ui
- EditBox::GetShadowOffset ui
- EditBox::SetSpacing ui
- EditBox::GetSpacing ui
- EditBox::SetJustifyH ui
- EditBox::GetJustifyH ui
- EditBox::SetJustifyV ui
- EditBox::GetJustifyV ui
- EditBox::SetAutoFocus ui
- EditBox::IsAutoFocus ui
- EditBox::SetMultiLine ui
- EditBox::IsMultiLine ui
- EditBox::SetNumeric ui
- EditBox::IsNumeric ui
- EditBox::SetPassword ui
- EditBox::IsPassword ui
- EditBox::SetBlinkSpeed ui
- EditBox::GetBlinkSpeed ui
- EditBox::Insert ui
- EditBox::SetText ui
- EditBox::GetText ui
- EditBox::SetNumber ui
- EditBox::GetNumber ui
- EditBox::HighlightText ui
- EditBox::AddHistoryLine ui
- EditBox::SetTextInsets ui
- EditBox::GetTextInsets ui
- EditBox::SetFocus ui
- EditBox::ClearFocus ui
- EditBox::SetMaxBytes ui
- EditBox::GetMaxBytes ui
- EditBox::SetMaxLetters ui
- EditBox::GetMaxLetters ui
- EditBox::GetNumLetters ui
- EditBox::GetHistoryLines ui
- EditBox::SetHistoryLines ui
- EditBox::GetInputLanguage ui
- EditBox::ToggleInputLanguage ui
- EditBox::SetAltArrowKeyMode ui
- EditBox::GetAltArrowKeyMode ui
- CheckButton::SetChecked ui
- CheckButton::GetChecked ui
- CheckButton::GetCheckedTexture ui
- CheckButton::SetCheckedTexture ui
- CheckButton::GetDisabledCheckedTexture ui
- CheckButton::SetDisabledCheckedTexture ui
- Texture::GetDrawLayer ui
- Texture::SetDrawLayer ui
- Texture::GetBlendMode ui
- Texture::SetBlendMode ui
- Texture::GetVertexColor ui
- Texture::SetVertexColor ui
- Texture::SetGradient ui
- Texture::SetGradientAlpha ui
- Texture::SetAlpha ui
- Texture::GetAlpha ui
- Texture::Show ui
- Texture::Hide ui
- Texture::IsVisible ui
- Texture::IsShown ui
- Texture::GetTexture ui
- Texture::SetTexture ui
- Texture::GetTexCoord ui
- Texture::SetTexCoord ui
- Texture::SetTexCoordModifiesRect ui
- Texture::GetTexCoordModifiesRect ui
- Texture::SetDesaturated ui
- Texture::IsDesaturated ui
- FontString::GetDrawLayer ui
- FontString::SetDrawLayer ui
- FontString::SetVertexColor ui
- FontString::GetAlpha ui
- FontString::SetAlpha ui
- FontString::SetAlphaGradient ui
- FontString::Show ui
- FontString::Hide ui
- FontString::IsVisible ui
- FontString::IsShown ui
- FontString::GetFontObject ui
- FontString::SetFontObject ui
- FontString::GetFont ui
- FontString::SetFont ui
- FontString::GetText ui
- FontString::SetText ui
- FontString::GetTextColor ui
- FontString::SetTextColor ui
- FontString::GetShadowColor ui
- FontString::SetShadowColor ui
- FontString::GetShadowOffset ui
- FontString::SetShadowOffset ui
- FontString::GetSpacing ui
- FontString::SetSpacing ui
- FontString::SetTextHeight ui
- FontString::GetStringWidth ui
- FontString::GetJustifyH ui
- FontString::SetJustifyH ui
- FontString::GetJustifyV ui
- FontString::SetJustifyV ui
- FontString::SetNonSpaceWrap ui
- FontString::CanNonSpaceWrap ui
- LinkFontHolderToFont ui
- CopyFontObjectFromArg ui
- FontInstance::GetObjectType ui
- FontInstance::IsObjectType ui
- FontInstance::GetName ui
- FontInstance::SetFontObject ui
- FontInstance::GetFontObject ui
- FontInstance::CopyFontObject ui
- FontInstance::SetFont ui
- FontInstance::GetFont ui
- FontInstance::SetAlpha ui
- FontInstance::GetAlpha ui
- FontInstance::SetTextColor ui
- FontInstance::GetTextColor ui
- FontInstance::SetShadowColor ui
- FontInstance::GetShadowColor ui
- FontInstance::SetShadowOffset ui
- FontInstance::GetShadowOffset ui
- FontInstance::SetSpacing ui
- FontInstance::GetSpacing ui
- FontInstance::SetJustifyH ui
- FontInstance::GetJustifyH ui
- FontInstance::SetJustifyV ui
- FontInstance::GetJustifyV ui
- Region::GetObjectType ui
- Region::IsObjectType ui
- Region::GetName ui
- Region::GetParent ui
- Region::SetParent ui
- Region::GetCenter ui
- Region::GetLeft ui
- Region::GetRight ui
- Region::GetTop ui
- Region::GetBottom ui
- Region::GetWidth ui
- Region::SetWidth ui
- Region::GetHeight ui
- Region::SetHeight ui
- Region::GetNumPoints ui
- Region::GetPoint ui
- Region::SetPoint ui
- Region::SetAllPoints ui
- Region::ClearAllPoints ui
- luaB_foreachi lua
- luaB_foreach lua
- luaB_sort lua
- sort_comp lua
- str_gsub lua
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.