├── .github └── workflows │ └── build.yml ├── .gitignore ├── .luacheckrc ├── .pkgmeta ├── Locales ├── Locales.xml ├── deDE.lua ├── enUS.lua ├── frFR.lua ├── koKR.lua ├── ptBR.lua ├── zhCN.lua └── zhTW.lua ├── Media └── Textures │ └── icon.blp ├── OmniBar.lua ├── OmniBar.toc ├── OmniBar.xml ├── OmniBar_Cata.lua ├── OmniBar_Cata.toc ├── OmniBar_Mainline.lua ├── OmniBar_TBC.lua ├── OmniBar_TBC.toc ├── OmniBar_Vanilla.lua ├── OmniBar_Vanilla.toc ├── OmniBar_Wrath.lua ├── OmniBar_Wrath.toc ├── Options.lua └── README.md /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build 2 | 3 | on: 4 | push: 5 | tags: 6 | - '*' 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - name: Checkout 13 | uses: actions/checkout@v4 14 | with: 15 | fetch-depth: 0 16 | 17 | - name: Run Luacheck 18 | uses: nebularg/actions-luacheck@v1 19 | with: 20 | args: '--no-color -q' 21 | annotate: warning 22 | 23 | - name: Package and Release 24 | uses: BigWigsMods/packager@master 25 | env: 26 | CF_API_KEY: ${{ secrets.CF_API_KEY }} 27 | GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} 28 | WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} 29 | WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} 30 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | Libs 2 | .release 3 | -------------------------------------------------------------------------------- /.luacheckrc: -------------------------------------------------------------------------------- 1 | std = "lua51" 2 | max_line_length = false 3 | exclude_files = { 4 | ".luacheckrc", 5 | "Libs/", 6 | } 7 | ignore = { 8 | "11./SLASH_.*", 9 | "211", 10 | "212", 11 | "213", 12 | "311", 13 | "423", 14 | "431", 15 | "432", 16 | "433", 17 | } 18 | read_globals = { 19 | "ARENA", 20 | "CLASS_ICON_TCOORDS", 21 | "CLASS_SORT_ORDER", 22 | "COMBATLOG_FILTER_STRING_UNKNOWN_UNITS", 23 | "COMBATLOG_OBJECT_AFFILIATION_MINE", 24 | "COMBATLOG_OBJECT_REACTION_HOSTILE", 25 | "COMBATLOG_OBJECT_TYPE_PLAYER", 26 | "C_AddOns", 27 | "C_PvP", 28 | "C_Spell", 29 | "C_Timer", 30 | "CanInspect", 31 | "ClearInspectPlayer", 32 | "CombatLogGetCurrentEventInfo", 33 | "CreateFrame", 34 | "DEFAULT_CHAT_FRAME", 35 | "DELETE", 36 | "FOCUS", 37 | "GENERAL", 38 | "GetAddOnMetadata", 39 | "GetArenaOpponentSpec", 40 | "GetBattlefieldScore", 41 | "GetClassInfo", 42 | "GetInspectSpecialization", 43 | "GetNumBattlefieldScores", 44 | "GetNumGroupMembers", 45 | "GetNumSpecializationsForClassID", 46 | "GetPlayerInfoByGUID", 47 | "GetRaidRosterInfo", 48 | "GetServerTime", 49 | "GetSpecialization", 50 | "GetSpecializationInfo", 51 | "GetSpecializationInfoByID", 52 | "GetSpecializationInfoForClassID", 53 | "GetSpellDescription", 54 | "GetSpellInfo", 55 | "GetSpellTexture", 56 | "GetTime", 57 | "GetUnitName", 58 | "GetZonePVPInfo", 59 | "InCombatLockdown", 60 | "InterfaceOptionsFrame_OpenToCategory", 61 | "IsInGroup", 62 | "IsInGuild", 63 | "IsInInstance", 64 | "IsInRaid", 65 | "LE_PARTY_CATEGORY_INSTANCE", 66 | "LOCALIZED_CLASS_NAMES_MALE", 67 | "LibStub", 68 | "MAX_CLASSES", 69 | "NO", 70 | "NotifyInspect", 71 | "OmniBarPetTooltipTextLeft2", 72 | "PARTY", 73 | "PLAYER", 74 | "SecondsToTime", 75 | "Settings", 76 | "Spell", 77 | "StaticPopup_Show", 78 | "TARGET", 79 | "UIParent", 80 | "UNITNAME_SUMMON_TITLE1", 81 | "UNITNAME_SUMMON_TITLE2", 82 | "UNITNAME_SUMMON_TITLE3", 83 | "UnitClass", 84 | "UnitExists", 85 | "UnitGUID", 86 | "UnitInParty", 87 | "UnitInRaid", 88 | "UnitIsPlayer", 89 | "UnitIsPossessed", 90 | "UnitIsUnit", 91 | "UnitReaction", 92 | "WOW_PROJECT_BURNING_CRUSADE_CLASSIC", 93 | "WOW_PROJECT_CLASSIC", 94 | "WOW_PROJECT_ID", 95 | "WOW_PROJECT_MAINLINE", 96 | "YES", 97 | "bit", 98 | "date", 99 | "format", 100 | "nop", 101 | "tinsert", 102 | "wipe", 103 | "tContains", 104 | } 105 | globals = { 106 | "OmniBar", 107 | "OmniBar_AddIcon", 108 | "OmniBar_AddIconsByClass", 109 | "OmniBar_Center", 110 | "OmniBar_CooldownFinish", 111 | "OmniBar_CreateIcon", 112 | "OmniBar_IsSpellEnabled", 113 | "OmniBar_IsUnitEnabled", 114 | "OmniBar_LoadPosition", 115 | "OmniBar_LoadSettings", 116 | "OmniBar_OnEvent", 117 | "OmniBar_Position", 118 | "OmniBar_Refresh", 119 | "OmniBar_ReplaySpellCasts", 120 | "OmniBar_ResetIcons", 121 | "OmniBar_ResetPosition", 122 | "OmniBar_SavePosition", 123 | "OmniBar_SetZone", 124 | "OmniBar_ShowAnchor", 125 | "OmniBar_SpecUpdated", 126 | "OmniBar_SpellCast", 127 | "OmniBar_StartCooldown", 128 | "OmniBar_Test", 129 | "OmniBar_UpdateAllBorders", 130 | "OmniBar_UpdateArenaSpecs", 131 | "OmniBar_UpdateBorder", 132 | "OmniBar_UpdateBorders", 133 | "OmniBar_UpdateIcons", 134 | "SlashCmdList", 135 | "StaticPopupDialogs", 136 | } 137 | -------------------------------------------------------------------------------- /.pkgmeta: -------------------------------------------------------------------------------- 1 | package-as: OmniBar 2 | 3 | externals: 4 | Libs/LibStub: https://repos.curseforge.com/wow/libstub/trunk 5 | Libs/CallbackHandler-1.0: https://repos.curseforge.com/wow/callbackhandler/trunk/CallbackHandler-1.0 6 | Libs/AceAddon-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceAddon-3.0 7 | Libs/AceComm-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceComm-3.0 8 | Libs/AceDB-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceDB-3.0 9 | Libs/AceDBOptions-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceDBOptions-3.0 10 | Libs/AceEvent-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceEvent-3.0 11 | Libs/AceGUI-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceGUI-3.0 12 | Libs/AceConfig-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceConfig-3.0 13 | Libs/AceLocale-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceLocale-3.0 14 | Libs/AceSerializer-3.0: https://repos.curseforge.com/wow/ace3/trunk/AceSerializer-3.0 15 | Libs/LibDualSpec-1.0: https://repos.curseforge.com/wow/libdualspec-1-0 16 | Libs/LibDeflate: https://github.com/SafeteeWoW/LibDeflate 17 | -------------------------------------------------------------------------------- /Locales/Locales.xml: -------------------------------------------------------------------------------- 1 | 3 |