//============================================================================
// Frame API
//
native GetOriginFrame takes originframetype whichType, integer index returns framehandle
// native EnableUIAutoPosition takes boolean flag returns nothing // not active for now
native HideOriginFrames takes boolean flag returns nothing
native EditBlackBorders takes real upperHeight, real bottomHeight returns nothing
native LoadTOCFile takes string TOCFile returns boolean
native CreateFrame takes string templateName, framehandle whichParent, integer priority, integer createContext returns framehandle
native CreateSimpleFrame takes string templateName, framehandle whichParent, integer createContext returns framehandle
native CreateFrameByType takes string frameType, string name, framehandle whichParent, string templateName, integer createContext returns framehandle
native IsFrameRegion takes framehandle whichFrame returns boolean
native IsFrameSimple takes framehandle whichFrame returns boolean
native IsFrameComplex takes framehandle whichFrame returns boolean
native DestroyFrame takes framehandle whichFrame returns nothing
native SetFrameRelativePoint takes framehandle whichFrame, framepointtype point, framehandle relativeFrame, framepointtype relativePoint, real x, real y returns nothing
native SetFrameAbsolutePoint takes framehandle whichFrame, framepointtype point, real x, real y returns nothing
native ClearFrameAllPoints takes framehandle whichFrame returns nothing
native SetFrameAllPoints takes framehandle whichFrame, framehandle relativeFrame returns boolean
native ShowFrame takes framehandle whichFrame, boolean isShow returns nothing
native IsFrameVisible takes framehandle whichFrame returns boolean
native GetFrameByName takes string frameName, integer createContext returns framehandle // searches for any frame, priority is as follows: CFrame > CSimpleFrame > CSimpleFontString > CSimpleTexture
native GetCFrameByName takes string frameName, integer createContext returns framehandle
native GetCSimpleFontStringByName takes string frameName, integer createContext returns framehandle
native GetCSimpleTextureByName takes string frameName, integer createContext returns framehandle
native GetCSimpleFrameByName takes string frameName, integer createContext returns framehandle
native GetFrameUnderMouse takes nothing returns framehandle
native GetFrameName takes framehandle whichFrame returns string
native ClickFrameEx takes framehandle whichFrame, boolean isRightClick returns nothing
native ClickFrame takes framehandle whichFrame returns nothing
native SetFrameText takes framehandle whichFrame, string text returns nothing
native GetFrameText takes framehandle whichFrame returns string
native AddFrameText takes framehandle whichFrame, string text returns nothing
native SetFrameTextSizeLimit takes framehandle whichFrame, integer textSize returns nothing
native GetFrameTextSizeLimit takes framehandle whichFrame returns integer
native SetFrameTextColour takes framehandle whichFrame, integer colour returns nothing
native SetFrameFocus takes framehandle whichFrame, boolean isFocus returns boolean
native SetFrameModel takes framehandle whichFrame, string model, integer cameraIndex returns nothing
native SetFrameEnabled takes framehandle whichFrame, boolean enabled returns nothing
native IsFrameEnabled takes framehandle whichFrame returns boolean
native SetFrameAlpha takes framehandle whichFrame, integer alpha returns nothing
native GetFrameAlpha takes framehandle whichFrame returns integer
native SetFrameTexture takes framehandle whichFrame, string textureFile, integer flag, boolean blend returns nothing
native SetFrameScale takes framehandle whichFrame, real scale returns nothing
native SetFrameTooltip takes framehandle whichFrame, framehandle tooltipFrame returns nothing
native SetFrameMouseCaged takes framehandle whichFrame, boolean enable returns nothing
native SetFrameValue takes framehandle whichFrame, real value returns nothing
native GetFrameValue takes framehandle whichFrame returns real
native SetFrameMinMaxValues takes framehandle whichFrame, real minVal, real maxVal returns nothing
native SetFrameStepSize takes framehandle whichFrame, real stepSize returns nothing
native SetFrameSize takes framehandle whichFrame, real width, real height returns nothing
native SetFrameVertexColourEx takes framehandle whichFrame, integer alpha, integer red, integer blue, integer green returns nothing
native SetFrameVertexColour takes framehandle whichFrame, integer colour returns nothing
native GetFramePriority takes framehandle whichFrame returns integer
native SetFramePriority takes framehandle whichFrame, integer priority returns nothing
native SetFrameParent takes framehandle whichFrame, framehandle whichParent returns nothing
native GetFrameParent takes framehandle whichFrame returns framehandle
native GetFrameHeight takes framehandle whichFrame returns real
native GetFrameWidth takes framehandle whichFrame returns real
native SetFrameFont takes framehandle whichFrame, string fontName, real size, integer flags returns nothing
native SetFrameTextAlignment takes framehandle whichFrame, textaligntype verticalAlign, textaligntype horizontalAlign returns nothing
native GetFrameChildrenCount takes framehandle whichFrame returns integer
native GetFrameChild takes framehandle whichFrame, integer index returns framehandle
//
native SetMiniMapTexture takes string texturePath returns boolean
// Trigger Frame API
native GetTriggerFrame takes nothing returns framehandle
native GetTriggerFrameEvent takes nothing returns frameeventtype
native GetTriggerFrameVariableType takes nothing returns variabletype
native GetTriggerFrameInteger takes nothing returns integer
native GetTriggerFrameReal takes nothing returns real // aka GetTriggerFrameValue
native GetTriggerFrameBoolean takes nothing returns boolean
native GetTriggerFrameString takes nothing returns string // aka GetTriggerFrameText
native TriggerRegisterFrameEvent takes trigger whichTrigger, framehandle whichFrame, frameeventtype frameEvent returns event
//
// Frame Sprite API
// Copies the logic of Effect API / Trackable API | works only on CSpriteFrame | CStatusBar | CCursorFrame | CTimeOfDayIndicator
native GetFrameSpriteScale takes framehandle whichFrame returns real
native SetFrameSpriteScale takes framehandle whichFrame, real scale returns nothing
native GetFrameSpriteTimeScale takes framehandle whichFrame returns real
native SetFrameSpriteTimeScale takes framehandle whichFrame, real timescale returns nothing
native GetFrameSpriteColour takes framehandle whichFrame returns integer
native SetFrameSpriteColour takes framehandle whichFrame, integer colour returns boolean
native SetFrameSpriteAlpha takes framehandle whichFrame, integer alpha returns boolean
native SetFrameSpriteVertexColour takes framehandle whichFrame, integer red, integer green, integer blue, integer alpha returns boolean
native SetFrameSpriteOrientationEx takes framehandle whichFrame, real yaw, real pitch, real roll, integer eulerOrder returns boolean
native GetFrameSpriteYaw takes framehandle whichFrame returns real
native SetFrameSpriteYaw takes framehandle whichFrame, real yaw returns boolean
native GetFrameSpriteFacing takes framehandle whichFrame returns real
native SetFrameSpriteFacing takes framehandle whichFrame, real facing returns boolean
native GetFrameSpritePitch takes framehandle whichFrame returns real
native SetFrameSpritePitch takes framehandle whichFrame, real pitch returns boolean
native GetFrameSpriteRoll takes framehandle whichFrame returns real
native SetFrameSpriteRoll takes framehandle whichFrame, real roll returns boolean
native SetFrameSpriteOrientation takes framehandle whichFrame, real yaw, real pitch, real roll returns nothing
native SetFrameSpriteModel takes framehandle whichFrame, string modelName returns nothing
native SetFrameSpriteModelEx takes framehandle whichFrame, string modelName, integer playerColour returns nothing
native SetFrameSpriteAnimationWithRarityByIndex takes framehandle whichFrame, integer animIndex, raritycontrol rarity returns nothing
native SetFrameSpriteAnimationByIndex takes framehandle whichFrame, integer animIndex returns nothing
native QueueFrameSpriteAnimationByIndex takes framehandle whichFrame, integer animIndex returns nothing
native SetFrameSpriteAnimationWithRarity takes framehandle whichFrame, string animationName, raritycontrol rarity returns nothing
native SetFrameSpriteAnimation takes framehandle whichFrame, string animationName returns nothing
native QueueFrameSpriteAnimation takes framehandle whichFrame, string animationName returns nothing
native SetFrameSpriteAnimationOffsetPercent takes framehandle whichFrame, real percent returns boolean
//
Added by Unryze,
published
`
LOADING AD...
There are no comments yet.
To leave a comment please sign in to the site.