Local LDBIcon = LDB and LibStub ( "LibDBIcon-1.ElvUI is a full user interface replacement for World of Warcraft, which means it completely replaces the Blizzard default UI.ĮlvUI is not a collection of multiple addons, like some people may believe. Local LDB = LibStub ( "LibDataBroker-1.1 ", true) Local LibTranslit = LibStub: GetLibrary ( "LibTranslit-1.0 "). Local LibRangeCheck = LibStub: GetLibrary ( "LibRangeCheck-2.0 "). Local LCG = LibStub: GetLibrary( "LibCustomGlow-1.0 "). Local LibSharedMedia = LibStub: GetLibrary ( "LibSharedMedia-3.0 "). Local PixelUtil = PixelUtil or DFPixelUtil Local IS_WOW_PROJECT_CLASSIC_WRATH = IS_WOW_PROJECT_NOT_MAINLINE and ClassicExpansionAtLeast and LE_EXPANSION_WRATH_OF_THE_LICH_KING and ClassicExpansionAtLeast(LE_EXPANSION_WRATH_OF_THE_LICH_KING) Local IS_WOW_PROJECT_CLASSIC_ERA = WOW_PROJECT_ID = WOW_PROJECT_CLASSIC Local IS_WOW_PROJECT_NOT_MAINLINE = WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE Local IS_WOW_PROJECT_MAINLINE = WOW_PROJECT_ID = WOW_PROJECT_MAINLINE Local UnitDetailedThreatSituation = UnitDetailedThreatSituation Local UnitClassification = UnitClassification Local InCombatLockdown = InCombatLockdown Local AlphaBlending = ALPHA_BLEND_AMOUNT + 0.0654785 Plater: Msg ( "something enabled the mouse on UIErrorsFrame, Plater disabled. safe disable the mouse on error frame avoiding mouse interactions and warn the user UIErrorsFrame: HookScript ( "OnEnter ", function() > some WA or addon are enabling the mouse on the error frame making nameplates unclickable run UIErrorsFrame:HookScript ("OnEnter", function() UIErrorsFrame:EnableMouse (false) Plater:Msg("UIErrorsFrame had MouseEnabled, its disabled now.") end) Print ( "|cFFFFAA00Plater: framework not found, if you just installed or updated the addon, please restart your client.|r ") navigate within the code using search tags: ~color ~border, etc. local unitFrame = namePlate.unitFrame -unitFrame is the main frame where all things is attached, it has SetAllPoints() on the namePlate frame. local namePlate = C_NamePlate.GetNamePlateForUnit (unitID) Weakauras Scripters: if you need to attach something to Plater nameplates: check the list of available functions and members to override at 'Plater.CanOverride_Functions' and 'Plater.CanOverride_Members' with that, you can make your own version of Plater by modifying and overriding functions entirelly using a hooking script, them you can export the script and upload to wago.io (have fun :) whenever a variable or function has a -private comment attached to it, means scripts cannot access it (read, write, override), anything else can be overriden with scripts Calls with : are functions imported from the framework
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |