diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65f48d5..1a1e333 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,13 +39,12 @@ jobs: run: sudo apt-get update && sudo apt-get install -y luajit python3 zip unzip jq - name: Set up pinned libraries run: bash scripts/setup-test-libs.sh - - name: Check out the matching Blizzard source - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 - with: - repository: Gethe/wow-ui-source - ref: 9dc84f0d3bbae1768ac3405b3716000bd93eda06 # Forever 1.60.1.70862 - path: examples/wow-ui-source-forever - persist-credentials: false + - name: Fetch the pinned wow-ui-testing library + env: + GITHUB_TOKEN: ${{ github.token }} + run: bash scripts/fetch-wut.sh + - name: Sync the library's pinned Blizzard UI source + run: bash .wut/scripts/update-client-source.sh --sync - name: Verify the generated spell catalogue against pinned exports run: python3 -B scripts/spell_catalog.py --fetch --check - name: Save spell classification audit diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6eb60af..114c392 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,25 +26,27 @@ jobs: run: sudo apt-get update && sudo apt-get install -y luajit python3 zip unzip jq librsvg2-bin imagemagick fonts-dejavu-core - name: Set up pinned test libraries run: bash scripts/setup-test-libs.sh - - name: Check out the matching Blizzard source - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + - name: Cache the wow-ui-testing library + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: - repository: Gethe/wow-ui-source - ref: 9dc84f0d3bbae1768ac3405b3716000bd93eda06 # Forever 1.60.1.70862 - path: examples/wow-ui-source-forever - persist-credentials: false + path: .wut + key: wut-${{ hashFiles('.wut-version', 'tests/wut.config.lua') }} + - name: Fetch the pinned wow-ui-testing library + env: + GITHUB_TOKEN: ${{ github.token }} + run: bash scripts/fetch-wut.sh + - name: Sync the library's pinned Blizzard UI source + run: bash .wut/scripts/update-client-source.sh --sync - name: Verify the generated spell catalogue against pinned exports run: python3 -B scripts/spell_catalog.py --fetch --check - - name: Verify the generated proof atlas table against pinned exports - run: python3 -B scripts/atlas_catalog.py --fetch --check - name: Run all tests and addon syntax checks run: bash scripts/run-tests.sh --times -j - name: Cache Blizzard interface art for UI proof uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: .proof-art - key: proof-art-d23deaf8f44a7d280dc974a5c9d5321c013db59b-${{ hashFiles('tests/proof/*.lua') }} - restore-keys: proof-art-d23deaf8f44a7d280dc974a5c9d5321c013db59b- + key: proof-art-${{ hashFiles('.wut-version') }}-${{ hashFiles('tests/proof/*.lua') }} + restore-keys: proof-art-${{ hashFiles('.wut-version') }}- - name: Render UI proof env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index 1cc421f..ff01de3 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -1,14 +1,12 @@ name: Upstream -# Weekly drift check against Blizzard's Forever UI source and the pinned -# libraries. A newer Forever source becomes a pull request (re-pinned -# workflows and a regenerated API snapshot; the test suite reviews it). -# Library drift is tracked in one issue: library updates also need -# scripts/fetch-libs.sh and a manual review. +# Weekly drift check against the pinned libraries, tracked in one issue: +# library updates also need scripts/fetch-libs.sh and a manual review. The +# Blizzard Forever UI source is pinned and tracked by the wow-ui-testing +# library; a new client build arrives here as a .wut-version bump. # # Requires the UPSTREAM_TOKEN secret: a fine-grained token for this -# repository with Contents, Pull requests, Issues and Workflows read/write. -# Pull requests opened with it trigger the test suite, unlike GITHUB_TOKEN. +# repository with Contents read and Issues read/write. on: schedule: - cron: '0 6 * * 1' @@ -45,29 +43,6 @@ jobs: - name: Compare pins with upstream id: check run: bash scripts/check-upstream.sh - - name: Propose the newest Forever source - if: steps.check.outputs.source_behind == 'true' - env: - LATEST: ${{ steps.check.outputs.source_latest }} - run: | - bash scripts/update-blizzard-source.sh "$LATEST" - version="$(tr -d '[:space:]' < examples/wow-ui-source-forever/version.txt)" - branch=upstream/wow-ui-source - git config user.name 'github-actions[bot]' - git config user.email '41898282+github-actions[bot]@users.noreply.github.com' - git switch -c "$branch" - git add .github/workflows/tests.yml .github/workflows/release.yml tests/fixtures/api_snapshot.lua tests/fixtures/dot_source.json data/forever-spells/manifest.json UnitFrames/Tracking/DotCatalog.lua - git commit -q -m "Pin Blizzard source to Forever $version" \ - -m "Generated by the Upstream workflow from Gethe/wow-ui-source $LATEST." - git push -q --force origin "$branch" - if [ -z "$(gh pr list --head "$branch" --state open --json number --jq '.[].number')" ]; then - gh pr create --base main --head "$branch" --title "Pin Blizzard source to Forever $version" --body "## Summary - - Pins tests and releases to Gethe/wow-ui-source \`$LATEST\` (Forever $version). - - Regenerates \`tests/fixtures/api_snapshot.lua\` from it. - - Refreshes the spell snapshots and regenerates the DoT catalogue and exclusion audit for the same build. - - Review the snapshot diff for changed or removed APIs the addons use. Install and check the client before merging when the build changes behaviour." - fi - name: Track library drift env: BEHIND: ${{ steps.check.outputs.libs_behind }} diff --git a/.gitignore b/.gitignore index 03226df..3e6e71b 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ UnitFrames_Media/Libs/ /.proof/ /.proof-art/ /scripts/portrait-capture/node_modules/ +/.wut/ diff --git a/.wut-version b/.wut-version new file mode 100644 index 0000000..6dcec0e --- /dev/null +++ b/.wut-version @@ -0,0 +1 @@ +0997193aeb6d659112724c5f7306f4d7f7f8fae4 # v0.1.0 diff --git a/AGENTS.md b/AGENTS.md index 5f43cc0..c5904dc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -5,15 +5,15 @@ - This is **UnitFrames for WoW Forever**, currently targeting TOC Interface `16001`. Use Lua 5.1-compatible code. Forever uses modern Retail/Midnight UI APIs and secret-value restrictions; do not assume Classic-era APIs work because the client was a classic beta. - Read the relevant implementation and tests before changing it. `README.md` describes current features. `docs/01-investigation-api-and-libraries.md`, `docs/02-architecture-plan.md`, and `docs/03-reference-nurfed-forever.md` explain the design and API findings, but contain dated research and unimplemented plans. Current code wins when they disagree. - `docs/WoW unit frames addon libraries.md` is the long conversation history, not a specification to implement wholesale. Search specific topics rather than loading the entire file. -- Verify unfamiliar or changing APIs against the actual client or Blizzard UI/API documentation, preferably the `forever` branch of `Gethe/wow-ui-source` cloned into `examples/wow-ui-source-forever` for local access. Never invent API signatures or texture paths. +- Verify unfamiliar or changing APIs against the actual client or Blizzard UI/API documentation, preferably the Gethe/wow-ui-source commit the wow-ui-testing library pins, checked out into `.wut/.client-source/forever` by `bash .wut/scripts/update-client-source.sh --sync`. Never invent API signatures or texture paths. - Preserve existing worktree changes. Do not commit, push, update dependencies, or install into the game merely because you were asked to explain or review something. ## Code map and conventions - `UnitFrames/Core/`: namespace/bootstrap, schema, AceDB configuration, theme, media, colours and text formats. Core Lua files receive `local _, ns = ...`; the public `UnitFrames` handle exposes that namespace to companion addons. - `UnitFrames/Tracking/`: data-only DoT damage estimates (tracking ported from DoesItDie, MIT). `DotSpells` reads generated numeric metadata, never descriptions. `ns.DotTracker` runs only while `Acquire`d on the exact catalogue client build, checks player-known spell IDs, keys active DoTs by generated family and learns ticks per rank. It matches `UNIT_COMBAT` on target/focus, fires `DotsChanged(key)` and fills reused lists through `Breakdown`. In combat `UNIT_COMBAT` amounts are secret: those hits match on school and rhythm alone (never drop them, or every DoT looks resisted) and are tallied per spell; on `PLAYER_REGEN_ENABLED` the `C_DamageMeter` per-spell totals, minus the generated `directPoints` upfront hit, become weighted average ticks. Fights with unseen ticks, several combo-point sizes or a dominant upfront hit are not learned. Learned tick sizes and weights live in AceDB `global`. -- `tests/proof/atlases.lua` is generated by `python3 -B scripts/atlas_catalog.py` from Wago atlas exports for the same pinned Forever build (manifest in `data/forever-atlases/`). Regenerate it after adding a `SetAtlas` call, so UI proof draws the atlas. -- `Tracking/DotCatalog.lua` is generated by `python3 -B scripts/spell_catalog.py` from checksum-verified Wago exports cached under ignored `examples/forever-spells//`. Only the manifest (`data/forever-spells/manifest.json`), generated Lua and small native-record fixtures are tracked. It must match the exact Forever UI-source build/commit in both workflows and the TOC interface. `scripts/update-blizzard-source.sh` refreshes both sources; `--fetch --check` populates a fresh cache and validates regeneration in CI. Ordinary tests use `--check-pin` and the small fixtures offline. The ignored `catalog.json` audits periodic candidates and exclusions; CI uploads it as an artifact. Channels are excluded. Runtime only accepts player-known spells. Combo builders, finishers, rank families and projectile flags are generated. Agony's uneven shape remains an explicit family-ID exception in `DotSpells`; baseline damage is unmodified client data until ticks are learned. +- `tests/proof/atlases.lua` is generated by the library's `.wut/scripts/atlas_catalog.py --scan ... --output tests/proof/atlases.lua` (command in DEVELOPMENT.md) from Wago atlas exports for its pinned Forever build. Regenerate it after adding a `SetAtlas` call, so UI proof draws the atlas. +- `Tracking/DotCatalog.lua` is generated by `python3 -B scripts/spell_catalog.py` from checksum-verified Wago exports cached under ignored `examples/forever-spells//`. Only the manifest (`data/forever-spells/manifest.json`), generated Lua and small native-record fixtures are tracked. It must match the exact Forever UI-source build/commit the wow-ui-testing library pins (`.wut/clientdata/forever.json`) and the TOC interface; `--update` after a `.wut-version` bump that changes the build. `--fetch --check` populates a fresh cache and validates regeneration in CI. Ordinary tests use `--check-pin` and the small fixtures offline. The ignored `catalog.json` audits periodic candidates and exclusions; CI uploads it as an artifact. Channels are excluded. Runtime only accepts player-known spells. Combo builders, finishers, rank families and projectile flags are generated. Agony's uneven shape remains an explicit family-ID exception in `DotSpells`; baseline damage is unmodified client data until ticks are learned. - Pending DoT damage: `Components/PendingDamage.lua` is owned by Bar (`spec.pendingDamage`, health rows) like Overheal; the `pendingDamage` frame driver binds `UF_PendingDamage` (Elements.lua), and the health `PostUpdate` (`ufHealthHooks`) gives it the secret scale and current health. - `UnitFrames/Components/`: reusable visual building blocks. Keep them independent of oUF bindings; their configuration and data APIs also serve previews. `UnitFrame` exposes rows and optional parts through `GetRow(key)`/`GetPart(key)` and the `Rows()`/`Parts()` iterators; add a part to `UnitFrame.PARTS` rather than adding per-part getters. Ready-check state lives in the `ReadyCheck` presenter (`GetReadyCheck()`), which also owns its settings schema. - Classes (`Core/Class.lua`): configurable visuals extend `Component`, settings controls extend `Widget`, other stateful helpers extend `Object` (`Class:New(...)` calls `Init(...)`). Stateless calculations stay plain module tables of functions. @@ -27,7 +27,7 @@ - `UnitFrames_ClickGrid/`: optional healing panel companion (`/ufcg`): party/raid groups, member targets, native aura slots, status indicators and click-spell bindings, built from the same `UnitFrame` component through the public `UnitFrames` handle. - Match nearby code: tabs, local helpers, existing component methods. New runtime files must be added to the appropriate `.toc` in dependency order; the tests load those TOCs too. - Embedded libraries under either addon's `Libs/` are pinned dependencies, not normal edit targets. The folders are gitignored: `scripts/fetch-libs.sh` replaces local copies and records `UnitFrames/Libs/VERSIONS.md`, and `scripts/setup-test-libs.sh` holds the commits tests and releases build from. Run them only for an intentional dependency update and keep both pins in step. -- `scripts/check-upstream.sh` reports whether the pinned Blizzard source and libraries match upstream; `scripts/update-blizzard-source.sh [commit]` re-pins both workflows to a Forever commit, syncs `examples/wow-ui-source-forever` as a git checkout and regenerates the API snapshot. The weekly Upstream workflow opens a pull request for a newer Forever source and keeps one issue for library drift. +- `scripts/check-upstream.sh` reports whether the embedded libraries match upstream; the weekly Upstream workflow keeps one issue for library drift. The Blizzard source, API snapshot and atlas exports are pinned and bumped in wow-ui-testing; a new client build reaches this repo as a `.wut-version` bump. ## Configuration and lifecycle @@ -90,9 +90,10 @@ luajit tests/run.lua workbench -t "preview" ``` - Specs live in `tests/spec//` (`core`, `contract`, `components`, `auras`, `units`, `workbench`, `editmode`, `clickgrid`, `tracking`, `onboarding`). Put new specs in the area of the code they exercise; a feature spec keeps its live and Workbench preview tests together. When behaviour also has tests in other areas, tag them in the `describe`/`it` name (`#shields`) and keep existing tags. +- The runner (`wowtest`) and the proof renderer (`wowproof`) come from the shared wow-ui-testing library, pinned by commit in `.wut-version` and fetched into the ignored `.wut/` by `scripts/fetch-wut.sh` (`tests/run.lua` and `scripts/proof.sh` fetch it when missing). `tests/wut.config.lua` configures the runner. Don't edit `.wut/`; library changes go to the wow-ui-testing repository, tried here with `WUT_DIR=`, then a `.wut-version` bump. - Path filters match **spec paths** (`units/` is exactly that folder, `name_spec.lua` exactly that file); `-t` matches test names and `--tag` matches tags. `-j [N]` runs spec files in parallel; `--times` (runner or `scripts/run-tests.sh`) reports per-spec durations; `luajit -jp=F tests/run.lua ...` profiles. The runner includes addon Lua syntax checks. No external busted installation is needed. -- `tests/helpers.lua` loads TOCs into a fresh mocked client; `tests/mock/wow.lua` includes fake secrets and `tests/mock/ouf.lua` supplies the usual oUF stand-in. Some specs exercise embedded oUF paths explicitly. -- The mock is held to the client API through `tests/fixtures/api_snapshot.lua`, generated from Blizzard's API documentation and Lua source by `luajit scripts/api-snapshot.lua` (regenerate after adding API usage or updating the source checkout, and review the diff). The checkout must match the commit pinned in the workflows, or CI regenerates a different snapshot. `tests/mock/api.lua` enforces it on every mock call: undocumented widget methods, rejected arguments, secrets passed where addon (tainted) code may not pass them, and protected calls in combat raise errors. `tests/spec/contract/api_contract_spec.lua` checks the mock's functions, methods, enums, restricted secret returns and our event names, and that the snapshot is current when the source checkout exists. +- `tests/helpers.lua` loads TOCs into a fresh mocked client through the library's `wowmock.loader`; `tests/mock/wow.lua` extends the library's `wowmock` (fake secrets, the client UI) with the UnitFrames globals to reset, and `tests/mock/ouf.lua` supplies the usual oUF stand-in. Generic mock behaviour belongs in wow-ui-testing, not here. Some specs exercise embedded oUF paths explicitly. +- The mock is held to the library's full API snapshot of the pinned client build (`.wut/wowmock/snapshots/`): undocumented widget methods, rejected arguments, secrets passed where addon (tainted) code may not pass them, and protected calls in combat raise errors. The library regenerates and checks the snapshot; `tests/spec/contract/api_contract_spec.lua` checks our event names and that addon code doesn't use mock-only helpers. Missing client API goes into wowmock from the snapshot (wow-ui-testing, tried here with `WUT_DIR`), not from memory. - Specs simulating Blizzard secure code or engine state use `Mock.SecureDelegate`/`Mock.RunUntainted` (secure delegates such as `UnitFrameUtil.UpdateUnitPvPIndicator`) and `Mock.SetEngineSize` (engine-given, possibly secret dimensions) instead of calling addon-facing APIs with values addon code could not pass. - Add regression tests for fixes. Keep mocks faithful to native assertions/restrictions; do not weaken a mock simply to make a broken implementation pass. Add new mock API from the snapshot, not from memory. - Offline mocks cannot prove rendering, taint safety or combat behaviour. For visual/lifecycle changes, report what still needs in-game verification: Workbench entry switching/release, repeated toggles, sample/live sources, real combat, unit disappearance/replacement, full-health shields, and Edit Mode as relevant. diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 4587b9a..6d64eba 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -50,34 +50,32 @@ See the script for `ACE3_REF`, `OUF_REF`, `LEM_REF`, `LDB_REF` and library versions are recorded in `UnitFrames/Libs/VERSIONS.md`. Verify unfamiliar APIs against the actual client or Blizzard's UI/API -documentation. The optional local source checkout is -`examples/wow-ui-source-forever`, using Gethe/wow-ui-source's `forever` branch. +documentation. The client build, its Gethe/wow-ui-source commit and the art +refs are pinned by the wow-ui-testing library (`.wut/clientdata/forever.json`, +see [The wow-ui-testing library](#the-wow-ui-testing-library)). Check that +commit out locally with `bash .wut/scripts/update-client-source.sh --sync`; it lands in the ignored +`.wut/.client-source/forever`, where a few specs run Blizzard's own Lua against +our frames (they skip without it; CI syncs it). ## Forever spell catalogue `scripts/spell_catalog.py` compiles `UnitFrames/Tracking/DotCatalog.lua` from Blizzard client tables exported by [Wago](https://wago.tools/db2). It uses the -exact Forever build and UI-source commit pinned in both test and release -workflows, and verifies the addon's TOC interface against that build. Interface -`16001` alone is insufficient to select spell data. - -Refresh the UI source, API snapshot and spell catalogue together with: - -```sh -bash scripts/update-blizzard-source.sh -``` - -To refresh just the spell snapshot for the already-pinned source: +exact Forever build and UI-source commit the wow-ui-testing library pins +(`.wut/clientdata/forever.json`), and verifies the addon's TOC interface +against that build. Interface `16001` alone is insufficient to select spell +data. A new client build arrives as a `.wut-version` bump; then refresh the +spell snapshot for it: ```sh python3 -B scripts/spell_catalog.py --update ``` -The downloader requires a matching local UI-source checkout and requests an +`--update` requires the library's UI-source checkout (`bash .wut/scripts/update-client-source.sh --sync`) and requests an explicit build for every table. It rejects responses whose download filename does not confirm that build. There is no fallback to the latest build. A missing build, changed schema or changed classification evidence stops the update for -review. The weekly Upstream workflow includes spell data in its source-update PR. +review. `data/forever-spells/manifest.json` records the build, UI commit, interface, URLs, confirmed filenames, row counts and SHA-256 hashes of the uncompressed @@ -186,9 +184,9 @@ in source is needed before tagging. | `UnitFrames_ClickGrid/` | Party/raid panel, member targets, indicators, auras and click-spell bindings | | `UnitFrames_Onboarding/` | Load-on-demand Getting started guide: preset looks, tweaks, extras and Workbench hand-off | | `UnitFrames_Media/` | Additional fonts and their licences | -| `tests/` | Mocked client, API snapshot and regression specs | -| `wowproof/` | Standalone UI-proof renderer (no UnitFrames code; see its README) | -| `scripts/` | Library fetching, installation and API snapshot generation | +| `tests/` | Regression specs, UnitFrames' mock extensions and UI-proof scenarios | +| `scripts/` | Library fetching, installation, release and the spell catalogue | +| `.wut/` | The fetched [wow-ui-testing](https://github.com/voshond/wow-ui-testing) library (ignored by Git) | New runtime files belong in the relevant TOC in dependency order; tests load those TOCs too. Preserve existing worktree changes and avoid editing @@ -228,7 +226,28 @@ a name ending in `.lua` exactly one file. `-t` and `--tag` narrow further. A run that selects no tests fails. The runner always checks addon Lua syntax. No external busted installation is needed. To see where a spec spends its time, use LuaJIT's profiler: `luajit -jp=F tests/run.lua clickgrid_spec.lua`. -The specs of the `wowproof/` package run with the suite as `wowproof/`. + +### The wow-ui-testing library + +The spec runner (`wowtest`), the mocked client and its API snapshot +(`wowmock`), the UI-proof renderer (`wowproof`) and the Blizzard client-data +pins (`clientdata/`: build, wow-ui-source commit, art refs, atlas exports) +come from the shared [wow-ui-testing](https://github.com/voshond/wow-ui-testing) +library, which our other addons use too. `.wut-version` pins one library +commit (full SHA, the version tag after `#`). `scripts/fetch-wut.sh` (a copy +of the library's) downloads that commit into the ignored `.wut/` folder and +does nothing when it is already there; `tests/run.lua`, `scripts/proof.sh` +and CI run it for you, so a fresh checkout needs network once. +`tests/wut.config.lua` tells the runner where specs live and which addon +folders to syntax-check; `tests/run.lua` is a thin shim over the library's +`wowtest/cli.lua`. The library's own specs (including wowproof's) run in its +repository. + +To work on the library and this addon together, point `WUT_DIR` at a local +checkout instead of the pin: `WUT_DIR=../wow-ui-testing luajit tests/run.lua -j`. +To move to a new library version, put its commit SHA in `.wut-version` (and +refresh `scripts/fetch-wut.sh` from it when that changed); the next run +fetches it. ### UI proof @@ -244,9 +263,9 @@ It writes `.proof/.svg`, `.png` and a contact sheet `.proof/index.html (librsvg); our own `.tga` textures need ImageMagick. Scenarios live in `tests/proof/units.lua` and `tests/proof/workbench.lua`: each is a name and a `build` that loads the addon, feeds sample values and returns the region to -render. `tests/proof/setup.lua` is the only coupling to the renderer: it hands -`wowproof` an adapter for the mock and maps our fonts and textures. A spec can -also call `Helpers.Snapshot(name, region)`, which renders only with +render. `tests/proof/setup.lua` is the only coupling to the renderer: it loads +`wowproof` from the library (see above), hands it an adapter for the mock and +maps our fonts and textures. A spec can also call `Helpers.Snapshot(name, region)`, which renders only with `UF_PROOF=1`. CI uploads the images as the `ui-proof` artifact. For a pull request body, `bash scripts/proof-publish.sh ` renders the @@ -258,15 +277,15 @@ The images show real anchoring, sizes, colours, bar fill, text, clipping, texture coordinates and paint order. Blizzard textures and icons (`Interface\...`) are downloaded on demand from the public [Gethe/wow-ui-textures](https://github.com/Gethe/wow-ui-textures) mirror, -pinned in `tests/proof/setup.lua`, into the ignored `.proof-art/` folder. Only +pinned by the library's `clientdata/forever.json`, into the ignored `.proof-art/` folder. Only the files a render uses are fetched, and the cache is reused offline. Never commit that art. `UF_PROOF_ART` picks another cache folder, and `UF_PROOF_ART_FETCH=0` stays offline. Set `GH_TOKEN` or `GITHUB_TOKEN` if GitHub's API rate limit bites. -Atlases (`SetAtlas`) come from `tests/proof/atlases.lua`, which +Atlases (`SetAtlas`) come from `tests/proof/atlases.lua`, which the library's `scripts/atlas_catalog.py` generates from Wago's `UiTextureAtlas`, -`UiTextureAtlasMember` and `UiTextureAtlasElement` exports for the pinned +`UiTextureAtlasMember` and `UiTextureAtlasElement` exports for its pinned Forever build. It keeps only the atlases the addon and oUF elements name: dashed string literals in files that mention atlases, plus `"prefix-" .. value` concatenations. Where an atlas has several members, it takes the 1x one and @@ -275,11 +294,13 @@ Wago for the same build into `.proof-art/casc-/`. Don't edit the generated table: ```sh -python3 -B scripts/atlas_catalog.py --update # fetch exports for the pinned build and regenerate -python3 -B scripts/atlas_catalog.py # regenerate from the cached exports -python3 -B scripts/atlas_catalog.py --fetch --check # what CI runs +python3 -B .wut/scripts/atlas_catalog.py --fetch --output tests/proof/atlases.lua \ + --scan 'UnitFrames*/*.lua' 'UnitFrames*/[!L]*/**/*.lua' 'UnitFrames/Libs/oUF/elements/*.lua' ``` +Add `--check` to verify the committed table instead of writing it. The suite +only checks its build against the library's pin (`atlas_catalog_spec`). + Regenerate after adding a `SetAtlas` call. A name the table lacks draws as a placeholder. @@ -346,17 +367,16 @@ when you want feedback before opening or updating a pull request. ### API snapshot and client verification -The mock API is checked against `tests/fixtures/api_snapshot.lua`. With the -Blizzard source checkout present, the suite also checks that regeneration -produces the committed snapshot. After adding API usage or updating that -checkout, regenerate and review the diff: - -```sh -luajit scripts/api-snapshot.lua -``` - -When updating the client source version, update the workflow's pinned Blizzard -checkout commit alongside the reviewed snapshot. +The mock is the library's `wowmock`, held to its full API snapshot of the +pinned client build (`.wut/wowmock/snapshots/`). `tests/mock/wow.lua` only +extends it with what UnitFrames needs (`Mock.Extend`: the globals cleared on +every install), `tests/mock/ouf.lua` is the oUF stand-in, and +`tests/helpers.lua` loads TOCs through the library's `wowmock.loader`. A mock +gap or a newer client build is fixed in wow-ui-testing (try it here with +`WUT_DIR`), then picked up with a `.wut-version` bump. The library's own CI +regenerates the snapshot from the Blizzard source and compares it. +`tests/spec/contract/api_contract_spec.lua` still checks our side: event names +the addons register and no mock-only helpers in addon code. Add regression tests for fixes. Keep mocks faithful to native restrictions; do not weaken them to make an implementation pass. Offline tests cannot @@ -379,8 +399,8 @@ git tag -a v0.1.0 -m 'UnitFrames 0.1.0' git push origin v0.1.0 ``` -A tag push runs the full suite with pinned dependencies and the matching -Blizzard source, builds `UnitFrames-v0.1.0.zip` and its SHA-256 file, and +A tag push runs the full suite with pinned dependencies and the pinned +wow-ui-testing library, builds `UnitFrames-v0.1.0.zip` and its SHA-256 file, and attaches them to a **draft** GitHub release. Review the notes and publish the draft when ready. Publishing a release directly also builds and attaches the ZIP, even if the tag was not previously pushed separately. diff --git a/data/forever-atlases/manifest.json b/data/forever-atlases/manifest.json deleted file mode 100644 index fd16367..0000000 --- a/data/forever-atlases/manifest.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "build": "1.60.1.70862", - "format": 1, - "tables": { - "UiTextureAtlas": { - "filename": "UiTextureAtlas.1.60.1.70862.csv", - "rows": 2826, - "sha256": "a53e784e29c3a42d4a991e843fa1908d15f1fc381c66ac4ecfc508c3b7d19041", - "url": "https://wago.tools/db2/UiTextureAtlas/csv?build=1.60.1.70862&locale=enUS" - }, - "UiTextureAtlasElement": { - "filename": "UiTextureAtlasElement.1.60.1.70862.csv", - "rows": 20817, - "sha256": "d5b5244ceefcde365bbdcf925104ddf848ce35554bc182b7d9e06071abc7d262", - "url": "https://wago.tools/db2/UiTextureAtlasElement/csv?build=1.60.1.70862&locale=enUS" - }, - "UiTextureAtlasMember": { - "filename": "UiTextureAtlasMember.1.60.1.70862.csv", - "rows": 20685, - "sha256": "000fe3517bb7600aeee97b4465e9c721accd6914dde6ba079ebe00a6e2562d6b", - "url": "https://wago.tools/db2/UiTextureAtlasMember/csv?build=1.60.1.70862&locale=enUS" - } - } -} diff --git a/scripts/api-snapshot.lua b/scripts/api-snapshot.lua deleted file mode 100644 index d6963ca..0000000 --- a/scripts/api-snapshot.lua +++ /dev/null @@ -1,265 +0,0 @@ ---[[ -Regenerates tests/fixtures/api_snapshot.lua from a wow-ui-source checkout: -the documented client API (Blizzard_APIDocumentationGenerated) and Blizzard's -own Lua definitions, limited to what the addons, mocks and specs mention. - - luajit scripts/api-snapshot.lua [wow-ui-source dir] [output file] - -Defaults: examples/wow-ui-source-forever, tests/fixtures/api_snapshot.lua. -Run from the repository root after updating the source checkout to a new -client build, then review the diff: it is the API change list that matters -to us. The tests (tests/mock/api.lua) hold the mock to this snapshot. -]] -local sourceDir = arg[1] or "examples/wow-ui-source-forever" -local outFile = arg[2] or "tests/fixtures/api_snapshot.lua" -local docsDir = sourceDir .. "/Interface/AddOns/Blizzard_APIDocumentationGenerated" -local API = dofile("tests/mock/api.lua") - -local function Lines(command) - local list, pipe = {}, assert(io.popen(command)) - for line in pipe:lines() do list[#list + 1] = line end - pipe:close() - return list -end - -local function Read(path) - local file = assert(io.open(path)) - local text = file:read("*a") - file:close() - return text -end - -local version = Read(sourceDir .. "/version.txt"):match("^%s*(.-)%s*$") - --- Every identifier our code, embedded libraries, mocks and specs mention, --- and those the mock itself defines. -local words, mockWords = {}, {} -for _, path in ipairs(Lines("find UnitFrames UnitFrames_Workbench UnitFrames_ClickGrid UnitFrames_Onboarding UnitFrames_Media tests" - .. " -name '*.lua' -not -name 'api_snapshot.lua'")) do - local mock = path:match("^tests/mock/") ~= nil - for word in Read(path):gmatch("[%a_][%w_]*") do - words[word] = true - if mock then mockWords[word] = true end - end -end - --- Documentation files reference Enum/Constants while defining themselves. -local Proxy -local function Expression() return Proxy("") end -function Proxy(path) - return setmetatable({}, { - __index = function(_, key) return Proxy(path .. "." .. key) end, - __tostring = function() return path end, - __add = Expression, __sub = Expression, __mul = Expression, __div = Expression, - __unm = Expression, __concat = Expression, - }) -end - -local systems = {} -for _, path in ipairs(Lines("find '" .. docsDir .. "' -name '*.lua' | LC_ALL=C sort")) do - local env = setmetatable({ - APIDocumentation = { AddDocumentationTable = function(_, t) systems[#systems + 1] = t end }, - }, { __index = function(_, key) return Proxy(key) end }) - local chunk = assert(loadfile(path)) - setfenv(chunk, env) - chunk() -end - --- "name:Type", with "?" when the argument may be omitted (nilable or defaulted). -local function Field(arg) - return arg.Name .. ":" .. tostring(arg.Type) .. ((arg.Nilable or arg.Default ~= nil) and "?" or "") -end - -local NOT_CONDITIONS = { SecretReturns = true, SecretArguments = true, SecretAccessor = true, - SecretReturnsForAspect = true, SecretArgumentsAddAspect = true, SecretValue = true, SecretPayloads = true } - --- Widget methods keep only their secret and protection rules: overloads --- (SetPoint) make their documented argument lists unsuitable for checks. -local function Compact(fn, method, system) - local def = { system = system } - if not method and fn.Arguments and #fn.Arguments > 0 then - def.args = {} - for i, arg in ipairs(fn.Arguments) do def.args[i] = Field(arg) end - end - if not method and fn.Returns and #fn.Returns > 0 then - def.returns = {} - for i, ret in ipairs(fn.Returns) do def.returns[i] = Field(ret) end - end - def.secretArguments = fn.SecretArguments - def.secretReturns = fn.SecretReturns or nil - def.protected = fn.IsProtectedFunction or nil - for key, value in pairs(fn) do - local condition = not NOT_CONDITIONS[key] and key:match("^Secret(.+)$") - if condition and value == true then - def.secretWhen = def.secretWhen or {} - def.secretWhen[#def.secretWhen + 1] = condition:gsub("^When", "") - end - end - if def.secretWhen then table.sort(def.secretWhen) end - for key, out in pairs({ SecretReturnsForAspect = "secretAspects", SecretArgumentsAddAspect = "addsAspects" }) do - if fn[key] then - def[out] = {} - for i, aspect in ipairs(fn[key]) do def[out][i] = tostring(aspect):match("([^.]+)$") end - end - end - return def -end - -local wantedObjects = {} -for _, chain in pairs(API.TYPES) do - for _, name in ipairs(chain) do wantedObjects[name] = true end -end - -local snapshot = { version = version, functions = {}, enums = {}, events = {}, scriptObjects = {}, - lua = { globals = {}, methods = {}, called = {} } } -for _, system in ipairs(systems) do - if system.Type == "ScriptObject" then - if wantedObjects[system.Name] then - local methods = {} - for _, fn in ipairs(system.Functions or {}) do methods[fn.Name] = Compact(fn, true) end - snapshot.scriptObjects[system.Name] = methods - end - else - for _, fn in ipairs(system.Functions or {}) do - -- A function's own Namespace overrides its system's; "" is global. - local namespace = fn.Namespace - if namespace == nil then namespace = system.Namespace end - if namespace == "" then namespace = nil end - if words[fn.Name] and (not namespace or words[namespace]) then - snapshot.functions[namespace and namespace .. "." .. fn.Name or fn.Name] = Compact(fn, false, system.Name) - end - end - for _, event in ipairs(system.Events or {}) do - if words[event.LiteralName] then snapshot.events[event.LiteralName] = true end - end - end - for _, t in ipairs(system.Tables or {}) do - if t.Type == "Enumeration" and words[t.Name] then - local values = {} - for _, field in ipairs(t.Fields or {}) do values[field.Name] = field.EnumValue end - snapshot.enums[t.Name] = values - end - end -end - ---[[ -Blizzard's Lua, three kinds of evidence that a name exists in the client: - globals global and table fields Blizzard defines that the mock also defines - ("AuraUtil.GetAuraBorderColor") - methods mixin methods (template methods such as SetBackdrop); one example owner - called undocumented engine functions and methods that the mock defines and - Blizzard code calls (CreateFrame, IsInGroup, ...): existence only -]] -local docsPrefix = sourceDir .. "/Interface/AddOns/Blizzard_APIDocumentation" -local KEYWORDS = {} -for word in ("and break do else elseif end false for function if in local nil not or repeat return then true" - .. " until while"):gmatch("%a+") do KEYWORDS[word] = true end -local calls = {} -for _, path in ipairs(Lines("find '" .. sourceDir .. "/Interface' -name '*.lua' | LC_ALL=C sort")) do - if path:sub(1, #docsPrefix) ~= docsPrefix then - local relative = path:sub(#sourceDir + 2) - for line in Read(path):gmatch("[^\n]+") do - local name = line:match("^function%s+([%w_]+)%s*%(") or line:match("^([%w_]+)%s*=[^=]") - local owner, key = line:match("^%s*function%s+([%w_]+)%.([%w_]+)%s*%(") - if not owner then owner, key = line:match("^%s*([%w_]+)%.([%w_]+)%s*=[^=]") end - local mixin, method = line:match("^%s*function%s+([%w_]+):([%w_]+)%s*%(") - -- Globals only matter for what the mock defines; global tables are capitalised. - if name and mockWords[name] then - snapshot.lua.globals[name] = snapshot.lua.globals[name] or relative - elseif owner and owner:match("^[A-Z]") and mockWords[owner] and mockWords[key] then - local full = owner .. "." .. key - snapshot.lua.globals[full] = snapshot.lua.globals[full] or relative - elseif mixin and words[method] then - local first = snapshot.lua.methods[method] - if not first or mixin < first then snapshot.lua.methods[method] = mixin end - -- The mock may also define the mixin table itself ("BackdropTemplateMixin"). - if mixin:match("^[A-Z]") and mockWords[mixin] and mockWords[method] then - local full = mixin .. "." .. method - snapshot.lua.globals[full] = snapshot.lua.globals[full] or relative - end - end - if not line:match("^%s*%-%-") then - for call in (" " .. line):gmatch("[^%w_.:]([%w_]+)%s*%(") do - -- Lua's own globals are not client API. - if mockWords[call] and not KEYWORDS[call] and _G[call] == nil then - calls[call] = calls[call] or relative - end - end - for call in line:gmatch(":([%w_]+)%s*%(") do - if mockWords[call] then calls[":" .. call] = calls[":" .. call] or relative end - end - end - end - end -end -for name, relative in pairs(calls) do - local method = name:match("^:(.+)$") - if method then - if not snapshot.lua.methods[method] then snapshot.lua.called[name] = relative end - elseif not snapshot.functions[name] and not snapshot.lua.globals[name] then - snapshot.lua.called[name] = relative - end -end - --- Filter components aura containers accept (AuraUtil.IsValidFilterString). -snapshot.lua.auraFilters = {} -local auraFilters = assert(Read(sourceDir .. "/Interface/AddOns/Blizzard_FrameXMLUtil/AuraUtil.lua") - :match("AuraUtil%.AuraFilters%s*=%s*(%b{})"), "AuraUtil.AuraFilters not found") -for component in auraFilters:gmatch('=%s*"([%u_]+)"') do snapshot.lua.auraFilters[component] = true end - --- Serialization: sorted keys, one entry per line, for reviewable diffs. -local function Keys(t) - local keys = {} - for key in pairs(t) do keys[#keys + 1] = key end - table.sort(keys, function(a, b) return tostring(a) < tostring(b) end) - return keys -end - -local function Key(key) - if type(key) == "string" and key:match("^[%a_][%w_]*$") and not KEYWORDS[key] then return key end - return "[" .. string.format("%q", key) .. "]" -end - -local function Inline(value) - if type(value) == "string" then return string.format("%q", value) end - if type(value) ~= "table" then return tostring(value) end - local parts = {} - if #value > 0 then - for _, item in ipairs(value) do parts[#parts + 1] = Inline(item) end - else - for _, key in ipairs(Keys(value)) do parts[#parts + 1] = Key(key) .. " = " .. Inline(value[key]) end - end - return "{ " .. table.concat(parts, ", ") .. " }" -end - -local out = { - "-- Generated by scripts/api-snapshot.lua from wow-ui-source " .. version .. ". Do not edit by hand.", - "return {", - "\tversion = " .. string.format("%q", version) .. ",", -} -local function Section(name, t, depth) - local indent = string.rep("\t", depth) - out[#out + 1] = indent .. Key(name) .. " = {" - for _, key in ipairs(Keys(t)) do - local value = t[key] - if type(value) == "table" and depth == 1 and (name == "scriptObjects" or name == "lua") then - Section(key, value, depth + 1) - else - out[#out + 1] = indent .. "\t" .. Key(key) .. " = " .. Inline(value) .. "," - end - end - out[#out + 1] = indent .. "}," -end -for _, name in ipairs({ "functions", "enums", "events", "scriptObjects", "lua" }) do - Section(name, snapshot[name], 1) -end -out[#out + 1] = "}" - -local file = assert(io.open(outFile, "w")) -file:write(table.concat(out, "\n"), "\n") -file:close() -local counts = {} -for _, name in ipairs({ "functions", "enums", "events" }) do - counts[#counts + 1] = #Keys(snapshot[name]) .. " " .. name -end -print(string.format("Wrote %s (%s, %s)", outFile, version, table.concat(counts, ", "))) diff --git a/scripts/atlas_catalog.py b/scripts/atlas_catalog.py deleted file mode 100644 index acc6de8..0000000 --- a/scripts/atlas_catalog.py +++ /dev/null @@ -1,221 +0,0 @@ -import argparse -import csv -import gzip -import io -import json -from pathlib import Path -import re -import subprocess -import sys -import tempfile -from collections import defaultdict - -from spell_catalog import canonical, digest, pinned_source, validate_download - - -ROOT = Path(__file__).resolve().parents[1] -DATA = ROOT / "data/forever-atlases" -CACHE = ROOT / "examples/forever-atlases" -OUTPUT = ROOT / "tests/proof/atlases.lua" -SOURCE_GLOBS = ("UnitFrames*/**/*.lua", "UnitFrames/Libs/oUF/elements/*.lua") -TABLES = { - "UiTextureAtlas": {"ID", "FileDataID", "AtlasWidth", "AtlasHeight"}, - "UiTextureAtlasMember": {"ID", "CommittedName", "UiTextureAtlasID", "Width", "Height", "CommittedLeft", "CommittedRight", "CommittedTop", "CommittedBottom", "UiTextureAtlasElementID", "CommittedFlags"}, - "UiTextureAtlasElement": {"ID", "Name"}, -} -TILES_VERTICALLY, TILES_HORIZONTALLY = 2, 4 -LITERAL = re.compile(r"""(["'])([^"'\s\\]*-[^"'\s\\]*)\1""") -CONCATENATION = re.compile(r"""(["'])([^"'\s\\]+-)\1\s*\.\.\s*[\w.:\[\]()]+(?:\s*\.\.\s*(["'])([^"'\s\\]*)\3)?""") - - -def table_url(name, build): - return f"https://wago.tools/db2/{name}/csv?build={build}&locale=enUS" - - -def parse_table(name, raw): - reader = csv.DictReader(io.StringIO(raw.decode("utf-8-sig"))) - missing = TABLES[name] - set(reader.fieldnames or []) - if missing: - raise ValueError(f"{name}: missing columns {sorted(missing)}") - rows = list(reader) - ids = [int(row["ID"]) for row in rows] - if not rows or len(ids) != len(set(ids)): - raise ValueError(f"{name}: empty table or duplicate IDs") - return rows - - -def download(pin): - tables, records, compressed = {}, {}, {} - for name in TABLES: - url = table_url(name, pin["build"]) - with tempfile.TemporaryDirectory() as directory: - headers = Path(directory) / "headers" - raw = subprocess.check_output(["curl", "--fail", "--silent", "--show-error", "--location", "--max-time", "90", "--dump-header", str(headers), url]) - validate_download(name, pin["build"], headers.read_text()) - tables[name] = parse_table(name, raw) - compressed[name] = gzip.compress(raw, mtime=0) - records[name] = {"url": url, "filename": f"{name}.{pin['build']}.csv", "sha256": digest(raw), "rows": len(tables[name])} - print(f"Fetched {name}: {len(tables[name])} records", file=sys.stderr) - return tables, {"build": pin["build"], "format": 1, "tables": records}, compressed - - -def read_manifest(pin): - manifest = json.loads((DATA / "manifest.json").read_text()) - if manifest.get("format") != 1 or manifest.get("build") != pin["build"]: - raise ValueError("atlas snapshot does not match the pinned Forever build; run --update") - if set(manifest["tables"]) != set(TABLES): - raise ValueError("atlas snapshot table set changed; run --update") - for name in TABLES: - record = manifest["tables"][name] - if record["url"] != table_url(name, pin["build"]) or record.get("filename") != f"{name}.{pin['build']}.csv": - raise ValueError(f"{name}: source does not match the pinned build") - if not re.fullmatch(r"[0-9a-f]{64}", record["sha256"]) or record["rows"] <= 0: - raise ValueError(f"{name}: invalid checksum or row count") - return manifest - - -def read_snapshot(pin): - manifest = read_manifest(pin) - tables = {} - for name in TABLES: - record = manifest["tables"][name] - raw = gzip.decompress((CACHE / pin["build"] / f"{name}.csv.gz").read_bytes()) - if digest(raw) != record["sha256"]: - raise ValueError(f"{name}: checksum mismatch") - tables[name] = parse_table(name, raw) - if len(tables[name]) != record["rows"]: - raise ValueError(f"{name}: row count mismatch") - return tables, manifest - - -def write_cache(pin, compressed): - directory = CACHE / pin["build"] - directory.mkdir(parents=True, exist_ok=True) - for name, content in compressed.items(): - (directory / f"{name}.csv.gz").write_bytes(content) - - -def source_files(root=ROOT): - if not (root / "UnitFrames/Libs/oUF/elements").is_dir(): - raise ValueError("oUF is missing; run scripts/setup-test-libs.sh first") - files = set() - for pattern in SOURCE_GLOBS: - for path in root.glob(pattern): - relative = path.relative_to(root).as_posix() - if "/Libs/" not in relative or relative.startswith("UnitFrames/Libs/oUF/elements/"): - files.add(path) - return sorted(files) - - -def atlas_uses(root=ROOT): - literals, patterns = set(), set() - for path in source_files(root): - text = path.read_text(encoding="utf-8") - if not re.search("atlas", text, re.I): - continue - literals.update(match[2].lower() for match in LITERAL.finditer(text)) - for match in CONCATENATION.finditer(text): - patterns.add(re.escape(match[2].lower()) + r"[a-z]+" + re.escape((match[4] or "").lower())) - return literals, re.compile("|".join(sorted(patterns))) if patterns else None - - -def preferred_member(members): - def rank(member): - name = member["CommittedName"].lower() - return (name.endswith("-2x"), not name.endswith("-c60"), int(member["ID"])) - return min(members, key=rank) - - -def compile_atlases(tables, root=ROOT): - atlases = {row["ID"]: row for row in tables["UiTextureAtlas"]} - members = defaultdict(list) - for row in tables["UiTextureAtlasMember"]: - members[row["UiTextureAtlasElementID"]].append(row) - literals, pattern = atlas_uses(root) - selected = {} - for element in tables["UiTextureAtlasElement"]: - name = element["Name"] - lower = name.lower() - if not members[element["ID"]] or (lower not in literals and not (pattern and pattern.fullmatch(lower))): - continue - member = preferred_member(members[element["ID"]]) - atlas = atlases[member["UiTextureAtlasID"]] - width, height = int(atlas["AtlasWidth"]), int(atlas["AtlasHeight"]) - flags = int(member["CommittedFlags"]) - selected[name] = { - "file": int(atlas["FileDataID"]), - "width": int(member["Width"]), - "height": int(member["Height"]), - "left": int(member["CommittedLeft"]) / width, - "right": int(member["CommittedRight"]) / width, - "top": int(member["CommittedTop"]) / height, - "bottom": int(member["CommittedBottom"]) / height, - "tilesH": bool(flags & TILES_HORIZONTALLY), - "tilesV": bool(flags & TILES_VERTICALLY), - } - if not selected: - raise ValueError("no atlas used by the addon was found in the client tables") - return selected - - -def lua_atlases(atlases, build): - lines = ["return {", f'\tbuild = "{build}",', "\tatlases = {"] - for name in sorted(atlases, key=str.lower): - info = atlases[name] - fields = [f'file = {info["file"]}', f'width = {info["width"]}', f'height = {info["height"]}'] - fields += [f"{key} = {info[key]:.12g}" for key in ("left", "right", "top", "bottom")] - fields += [f'{key} = {"true" if info[key] else "false"}' for key in ("tilesH", "tilesV")] - lines.append(f'\t\t["{name}"] = {{ ' + ", ".join(fields) + " },") - return "\n".join(lines + ["\t},", "}", ""]) - - -def main(): - global CACHE - parser = argparse.ArgumentParser() - parser.add_argument("--update", action="store_true") - parser.add_argument("--check", action="store_true") - parser.add_argument("--fetch", action="store_true") - parser.add_argument("--check-pin", action="store_true") - parser.add_argument("--cache", type=Path, default=CACHE) - args = parser.parse_args() - CACHE = args.cache.resolve() - if args.update and (args.check or args.fetch or args.check_pin): - parser.error("--update cannot be combined with validation or --fetch") - if args.check_pin and (args.check or args.fetch): - parser.error("--check-pin cannot be combined with --check or --fetch") - pin = pinned_source() - if args.update: - tables, manifest, compressed = download(pin) - else: - manifest = read_manifest(pin) - if args.check_pin: - if f'build = "{pin["build"]}"' not in OUTPUT.read_text(): - raise ValueError("generated atlas table build does not match the source pin") - print(f'Forever {pin["build"]}: atlas table pin verified') - return - if args.fetch: - tables, fetched, compressed = download(pin) - if fetched != manifest: - raise ValueError("downloaded tables do not match the committed checksums; review with --update") - write_cache(pin, compressed) - else: - tables, manifest = read_snapshot(pin) - atlases = compile_atlases(tables) - output = lua_atlases(atlases, pin["build"]) - if args.check: - if not OUTPUT.exists() or OUTPUT.read_text() != output: - raise ValueError(f"stale generated artifact: {OUTPUT.relative_to(ROOT)}") - else: - if args.update: - DATA.mkdir(parents=True, exist_ok=True) - write_cache(pin, compressed) - (DATA / "manifest.json").write_text(canonical(manifest)) - OUTPUT.write_text(output) - print(f'Forever {pin["build"]}: {len(atlases)} atlases') - - -if __name__ == "__main__": - try: - main() - except (ValueError, OSError, subprocess.CalledProcessError) as error: - sys.exit(str(error)) diff --git a/scripts/check-upstream.sh b/scripts/check-upstream.sh index 92f7341..9d79f71 100644 --- a/scripts/check-upstream.sh +++ b/scripts/check-upstream.sh @@ -1,15 +1,14 @@ #!/usr/bin/env bash -# Reports whether the pinned Blizzard source and embedded libraries match upstream. +# Reports whether the embedded libraries match upstream. The Blizzard source +# pin lives in the wow-ui-testing library (.wut-version), which tracks it. # # Usage: # bash scripts/check-upstream.sh # -# Reads the wow-ui-source pin from .github/workflows/tests.yml and the library -# commits from scripts/setup-test-libs.sh (the tracked pins CI and releases +# Reads the library commits from scripts/setup-test-libs.sh (the tracked pins CI and releases # build from); asks upstream with plain git. LibSharedMedia and LibDBIcon come # from WowAce SVN and LibDataBroker is frozen upstream; they are not checked. -# In GitHub Actions it also writes step outputs (source_behind, source_latest, -# libs_behind, libs_report) and the job summary. Always exits 0 on a completed check. +# In GitHub Actions it also writes step outputs (libs_behind, libs_report) and the job summary. Always exits 0 on a completed check. set -euo pipefail repo_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" libs="$repo_dir/scripts/setup-test-libs.sh" @@ -18,11 +17,6 @@ trap 'rm -rf "$tmp"' EXIT die() { echo "error: $*" >&2; exit 1; } -source_pin() { - awk '/repository: Gethe\/wow-ui-source/ { found = 1; next } found && /ref:/ { print $2; exit }' \ - "$repo_dir/.github/workflows/tests.yml" -} - library_pin() { sed -n "s|^fetch_tree $1 \([0-9a-f]*\) .*|\1|p" "$libs" } @@ -38,11 +32,6 @@ latest_release() { echo "$tag $sha" } -pinned_source="$(source_pin)" -[[ -n "$pinned_source" ]] || die "no Gethe/wow-ui-source ref in tests.yml" -latest_source="$(git ls-remote https://github.com/Gethe/wow-ui-source.git refs/heads/forever | cut -f1)" -[[ -n "$latest_source" ]] || die "cannot read the forever branch of Gethe/wow-ui-source" - pinned_ouf="$(library_pin oUF-wow/oUF)" pinned_lem="$(library_pin p3lim-wow/LibEditMode)" pinned_ace="$(library_pin WoWUIDev/Ace3)" @@ -56,8 +45,6 @@ git -C "$tmp/Ace3" cat-file -e "$pinned_ace^{commit}" 2>/dev/null || die "pinned latest_ace="$(git -C "$tmp/Ace3" rev-parse HEAD)" ace_changes="$(git -C "$tmp/Ace3" rev-list --count "$pinned_ace..HEAD" -- LibStub CallbackHandler-1.0 AceDB-3.0)" -source_behind=false -[[ "$pinned_source" == "$latest_source" ]] || source_behind=true report=() status() { [[ "$1" == "$2" ]] && echo "current" || echo "behind"; } report+=("| oUF | \`${pinned_ouf:0:7}\` | \`$ouf_tag\` @ \`${latest_ouf:0:7}\` | $(status "$pinned_ouf" "$latest_ouf") |") @@ -72,14 +59,11 @@ done table="| Dependency | Pinned | Upstream | Status | |---|---|---|---| -| wow-ui-source (Forever) | \`${pinned_source:0:8}\` | \`${latest_source:0:8}\` | $(status "$pinned_source" "$latest_source") | $(printf '%s\n' "${report[@]}")" echo "$table" if [[ -n "${GITHUB_OUTPUT:-}" ]]; then { - echo "source_behind=$source_behind" - echo "source_latest=$latest_source" echo "libs_behind=$libs_behind" echo "libs_report</. Addon repos keep a +# copy of this script; run it from (or pass) the addon repo's root. +# +# bash scripts/fetch-wut.sh [repo root] +# +# .wut-version holds the library's full commit SHA (the first word of its +# first non-comment line). Prints the library folder on stdout, so +# lib="$(bash scripts/fetch-wut.sh)" && luajit "$lib/wowtest/cli.lua" -j +# +# WUT_DIR use this local library checkout instead of downloading one +# WUT_REPO library repository (default: voshond/wow-ui-testing) +# WUT_SOURCE fetch the library from this local git repository instead +# WUT_CONFIG host config (default: wut.config.lua, then tests/wut.config.lua) +# GITHUB_TOKEN / GH_TOKEN (or a logged-in gh) are used when set: they lift +# GitHub's anonymous rate limit and reach private forks. +set -euo pipefail +cd "${1:-$PWD}" +wut_dir="$PWD/.wut" +library_source="${WUT_SOURCE:-${WUT_REPO:-voshond/wow-ui-testing}}" + +die() { echo "fetch-wut: $*" >&2; exit 1; } +say() { echo "fetch-wut: $*" >&2; } + +token() { + local value="${GITHUB_TOKEN:-${GH_TOKEN:-}}" + if [[ -z "$value" ]] && command -v gh >/dev/null; then value="$(gh auth token 2>/dev/null || true)"; fi + printf '%s' "$value" +} + +# Extracts at into the new folder , with .wut-ref. +fetch_tree() { + local source="$1" ref="$2" staging="$3" scratch + scratch="$(mktemp -d)" + mkdir -p "$staging" + if [[ "$source" == /* ]]; then + git -C "$source" archive --format=tar "$ref" | tar -x -C "$staging" + else + local auth=() url="https://codeload.github.com/$source/tar.gz/$ref" secret + secret="$(token)" + if [[ -n "$secret" ]]; then + url="https://api.github.com/repos/$source/tarball/$ref" + auth=(-H "Authorization: Bearer $secret") + fi + curl --fail --silent --show-error --location --retry 3 --max-time 300 "${auth[@]}" "$url" -o "$scratch/source.tar.gz" + tar -xzf "$scratch/source.tar.gz" -C "$staging" --strip-components=1 + fi + rm -rf -- "$scratch" + printf '%s\n' "$ref" > "$staging/.wut-ref" +} + +current_ref() { cat "$1/.wut-ref" 2>/dev/null || true; } + +if [[ -n "${WUT_DIR:-}" ]]; then + lib="$(cd "$WUT_DIR" && pwd)" + say "using the local library in $lib (WUT_DIR)" +else + [[ -f .wut-version ]] || die "no .wut-version in $PWD" + sha="$(grep -v '^[[:space:]]*\(#\|$\)' .wut-version | head -n 1 | awk '{ print $1 }')" + [[ "$sha" =~ ^[0-9a-f]{40}$ ]] || die ".wut-version must start with a full commit SHA, got '$sha'" + if [[ "$(current_ref "$wut_dir")" == "$sha" ]]; then + say "library $sha already in .wut" + else + rm -rf -- "$wut_dir.new" + fetch_tree "$library_source" "$sha" "$wut_dir.new" + if [[ -d "$wut_dir/addons" ]]; then mv "$wut_dir/addons" "$wut_dir.new/addons"; fi + rm -rf -- "$wut_dir" + mv "$wut_dir.new" "$wut_dir" + say "fetched library $sha into .wut" + fi + lib="$wut_dir" +fi + +addons="" +if [[ -f "$lib/wowtest/addons.lua" ]]; then + lua="$(command -v luajit || command -v lua5.1 || true)" + [[ -n "$lua" ]] || die "LuaJIT or Lua 5.1 is required to read wut.config.lua" + addons="$("$lua" "$lib/wowtest/addons.lua" ${WUT_CONFIG:+"$WUT_CONFIG"})" || die "cannot read the addons from wut.config.lua" +else + say "this library version has no third-party addon support; skipping addons" +fi + +declare -A wanted=() +while IFS=$'\t' read -r name source ref toc; do + [[ -n "$name" ]] || continue + wanted[$name]=1 + destination="$wut_dir/addons/$name" + if [[ "$(current_ref "$destination")" == "$ref" ]]; then + say "addon $name $ref already in .wut/addons" + else + rm -rf -- "$destination.new" + fetch_tree "$source" "$ref" "$destination.new" + rm -rf -- "$destination" + mv "$destination.new" "$destination" + say "fetched addon $name $ref into .wut/addons" + fi + if [[ -n "$toc" ]]; then printf '%s\n' "$toc" > "$destination/.wut-toc"; else rm -f -- "$destination/.wut-toc"; fi +done <<< "$addons" + +if [[ -d "$wut_dir/addons" ]]; then + for folder in "$wut_dir/addons"/*/; do + [[ -d "$folder" ]] || continue + name="$(basename "$folder")" + if [[ -z "${wanted[$name]:-}" ]]; then + rm -rf -- "$folder" + say "removed addon $name (no longer in wut.config.lua)" + fi + done +fi + +say "package.path: $lib/?.lua;$lib/?/init.lua" +printf '%s\n' "$lib" diff --git a/scripts/spell_catalog.py b/scripts/spell_catalog.py index 610fb78..c44a058 100644 --- a/scripts/spell_catalog.py +++ b/scripts/spell_catalog.py @@ -4,6 +4,7 @@ import hashlib import io import json +import os from pathlib import Path import re import subprocess @@ -37,22 +38,25 @@ def canonical(value): return json.dumps(value, ensure_ascii=False, indent=2, sort_keys=True) + "\n" -def pinned_source(root=ROOT): - pins = [] - for workflow in ("tests", "release"): - content = (root / f".github/workflows/{workflow}.yml").read_text() - match = re.search(r"repository: Gethe/wow-ui-source\s+ref: ([0-9a-f]{40}) # Forever (1\.60\.\d+\.\d+)", content) - if not match: - raise ValueError(f"missing exact Forever source pin in {workflow}.yml") - pins.append(match.groups()) - if pins[0] != pins[1]: - raise ValueError("tests and release Forever source pins disagree") +def library_dir(root=ROOT): + override = os.environ.get("WUT_DIR") + return Path(override).resolve() if override else root / ".wut" + + +def pinned_source(root=ROOT, library=None): + pin_file = (library or library_dir(root)) / "clientdata/forever.json" + if not pin_file.exists(): + raise ValueError(f"missing {pin_file}: run bash scripts/fetch-wut.sh") + pin = json.loads(pin_file.read_text()) + commit, build = pin["wowUiSource"]["commit"], pin["build"] + if not re.fullmatch(r"[0-9a-f]{40}", commit) or not re.fullmatch(r"1\.60\.\d+\.\d+", build): + raise ValueError("missing exact Forever source pin in the library's clientdata/forever.json") interface = re.search(r"^## Interface: (\d+)$", (root / "UnitFrames/UnitFrames.toc").read_text(), re.M) - major, minor, patch, _ = map(int, pins[0][1].split(".")) + major, minor, patch, _ = map(int, build.split(".")) expected = major * 10000 + minor * 100 + patch - if not interface or int(interface[1]) != expected: + if not interface or int(interface[1]) != expected or pin.get("interface") != expected: raise ValueError("TOC interface does not match the pinned Forever build") - return {"uiCommit": pins[0][0], "build": pins[0][1], "interface": expected} + return {"uiCommit": commit, "build": build, "interface": expected} def parse_table(name, raw): @@ -72,7 +76,7 @@ def download(pin, source=None): version = (source / "version.txt").read_text().strip() commit = subprocess.check_output(["git", "-C", str(source), "rev-parse", "HEAD"], text=True).strip() if version != pin["build"] or commit != pin["uiCommit"]: - raise ValueError("local Forever UI checkout does not match the workflow pin") + raise ValueError("local Forever UI checkout does not match the library pin") tables, records, compressed = {}, {}, {} for name in TABLES: url = f"https://wago.tools/db2/{name}/csv?build={pin['build']}&locale=enUS" @@ -284,7 +288,7 @@ def main(): parser.add_argument("--check", action="store_true") parser.add_argument("--fetch", action="store_true") parser.add_argument("--check-pin", action="store_true") - parser.add_argument("--source", type=Path, default=ROOT / "examples/wow-ui-source-forever") + parser.add_argument("--source", type=Path, default=library_dir() / ".client-source/forever") parser.add_argument("--cache", type=Path, default=CACHE) args = parser.parse_args() CACHE = args.cache.resolve() @@ -297,7 +301,7 @@ def main(): version = (args.source / "version.txt").read_text().strip() commit = subprocess.check_output(["git", "-C", str(args.source), "rev-parse", "HEAD"], text=True).strip() if version != pin["build"] or commit != pin["uiCommit"]: - raise ValueError("local Forever UI checkout does not match the workflow pin") + raise ValueError("local Forever UI checkout does not match the library pin") if args.update: tables, manifest, compressed = download(pin, args.source) else: diff --git a/scripts/test-tag.sh b/scripts/test-tag.sh index 7a08a58..71b59e9 100755 --- a/scripts/test-tag.sh +++ b/scripts/test-tag.sh @@ -14,9 +14,9 @@ for addon in UnitFrames UnitFrames_Media; do cp -a "$repo_dir/$addon/Libs" "$tag_tests_tmp/$addon/Libs" fi done -if [[ -d "$repo_dir/examples/wow-ui-source-forever" && ! -e "$tag_tests_tmp/examples" ]]; then - mkdir -p "$tag_tests_tmp/examples" - ln -s "$repo_dir/examples/wow-ui-source-forever" "$tag_tests_tmp/examples/wow-ui-source-forever" +# Reuse the fetched wow-ui-testing library; fetch-wut.sh replaces it if the tag pins another. +if [[ -d "$repo_dir/.wut" && -f "$tag_tests_tmp/.wut-version" ]]; then + cp -a "$repo_dir/.wut" "$tag_tests_tmp/.wut" fi bash "$repo_dir/scripts/run-tests.sh" "$tag_tests_tmp" diff --git a/scripts/update-blizzard-source.sh b/scripts/update-blizzard-source.sh deleted file mode 100644 index 92d0752..0000000 --- a/scripts/update-blizzard-source.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash -# Pins tests and releases to a wow-ui-source Forever commit, syncs the local -# Blizzard source checkout to it and regenerates the API snapshot. -# -# Usage: -# bash scripts/update-blizzard-source.sh [commit] -# -# commit: a full SHA (default: the newest commit of the forever branch). -# SOURCE_DIR overrides the checkout (default: examples/wow-ui-source-forever). -# An existing folder that is not a git checkout is never replaced. -set -euo pipefail -repo_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -source_dir="${SOURCE_DIR:-$repo_dir/examples/wow-ui-source-forever}" -url=https://github.com/Gethe/wow-ui-source.git - -die() { echo "error: $*" >&2; exit 1; } - -commit="${1:-$(git ls-remote "$url" refs/heads/forever | cut -f1)}" -[[ "$commit" =~ ^[0-9a-f]{40}$ ]] || die "expected a full commit SHA, got '$commit'" -if [[ -e "$source_dir" && ! -d "$source_dir/.git" ]]; then - die "$source_dir is not a git checkout; move it aside once and rerun" -fi -if [[ ! -d "$source_dir/.git" ]]; then - git init -q "$source_dir" - git -C "$source_dir" remote add origin "$url" -fi -git -C "$source_dir" fetch -q --depth 1 origin "$commit" -git -C "$source_dir" checkout -q --detach FETCH_HEAD -version="$(tr -d '[:space:]' < "$source_dir/version.txt")" - -for workflow in tests release; do - sed -i -E "/repository: Gethe\/wow-ui-source/,/ref:/ s|ref: [0-9a-f]{40}( # .*)?$|ref: $commit # Forever $version|" \ - "$repo_dir/.github/workflows/$workflow.yml" -done -(cd "$repo_dir" && luajit scripts/api-snapshot.lua "$source_dir") -python3 -B "$repo_dir/scripts/spell_catalog.py" --update --source "$source_dir" -python3 -B "$repo_dir/scripts/atlas_catalog.py" --update -echo "Pinned wow-ui-source $commit (Forever $version)" diff --git a/tests/fixtures/api_snapshot.lua b/tests/fixtures/api_snapshot.lua deleted file mode 100644 index d895d43..0000000 --- a/tests/fixtures/api_snapshot.lua +++ /dev/null @@ -1,2141 +0,0 @@ --- Generated by scripts/api-snapshot.lua from wow-ui-source 1.60.1.70862. Do not edit by hand. -return { - version = "1.60.1.70862", - functions = { - AbbreviateNumbers = { args = { "number:number", "options:NumberAbbrevOptions?" }, returns = { "result:string" }, secretArguments = "AllowedWhenTainted", system = "Localization" }, - BreakUpLargeNumbers = { args = { "largeNumber:number", "natural:bool?" }, returns = { "result:string" }, secretArguments = "AllowedWhenTainted", system = "Localization" }, - ["C_AddOnProfiler.AddMeasuredCallEvent"] = { args = { "name:stringView" }, secretArguments = "AllowedWhenUntainted", system = "AddOnProfiler" }, - ["C_AddOnProfiler.GetAddOnMetric"] = { args = { "name:cstring", "metric:AddOnProfilerMetric" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", system = "AddOnProfiler" }, - ["C_AddOnProfiler.GetOverallMetric"] = { args = { "metric:AddOnProfilerMetric" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", system = "AddOnProfiler" }, - ["C_AddOnProfiler.IsEnabled"] = { returns = { "enabled:bool" }, system = "AddOnProfiler" }, - ["C_AddOnProfiler.MeasureCall"] = { args = { "func:LuaValueVariant", "arguments:LuaValueVariant" }, returns = { "results:AddOnProfilerCallResults", "returns:LuaValueVariant" }, secretArguments = "AllowedWhenUntainted", system = "AddOnProfiler" }, - ["C_AddOns.GetAddOnInfo"] = { args = { "name:uiAddon" }, returns = { "name:cstring", "title:cstring", "notes:cstring", "loadable:bool", "reason:cstring", "security:cstring" }, secretArguments = "AllowedWhenUntainted", system = "AddOns" }, - ["C_AddOns.GetAddOnMetadata"] = { args = { "name:uiAddon", "variable:cstring" }, returns = { "value:cstring" }, secretArguments = "AllowedWhenUntainted", system = "AddOns" }, - ["C_AddOns.GetNumAddOns"] = { returns = { "numAddOns:number" }, system = "AddOns" }, - ["C_AddOns.IsAddOnLoaded"] = { args = { "name:uiAddon" }, returns = { "loadedOrLoading:bool", "loaded:bool" }, secretArguments = "AllowedWhenUntainted", system = "AddOns" }, - ["C_AddOns.LoadAddOn"] = { args = { "name:uiAddon" }, returns = { "loaded:bool?", "value:string?" }, secretArguments = "AllowedWhenUntainted", system = "AddOns" }, - ["C_CVar.GetCVarBool"] = { args = { "name:cstring" }, returns = { "value:bool?" }, secretArguments = "NotAllowed", system = "CVarScripts" }, - ["C_CVar.SetCVar"] = { args = { "name:cstring", "value:cstring?" }, returns = { "success:bool" }, secretArguments = "NotAllowed", system = "CVarScripts" }, - ["C_CVar.SetCVarBitfield"] = { args = { "name:cstring", "index:luaIndex", "value:bool" }, returns = { "success:bool" }, secretArguments = "NotAllowed", system = "CVarScripts" }, - ["C_ClassColor.GetClassColor"] = { args = { "className:string", "tintColor:colorRGB?" }, returns = { "classColor:colorRGB" }, secretArguments = "AllowedWhenTainted", system = "ClassColor" }, - ["C_ClassTalents.GetActiveConfigID"] = { returns = { "activeConfigID:number?" }, system = "ClassTalents" }, - ["C_ColorUtil.GenerateTextColorCode"] = { args = { "color:colorRGB" }, returns = { "textColorCode:string" }, secretArguments = "AllowedWhenTainted", system = "ColorUtil" }, - ["C_ColorUtil.WrapTextInColorCode"] = { args = { "text:cstring", "textColorCode:cstring" }, returns = { "coloredText:string" }, secretArguments = "AllowedWhenTainted", system = "ColorUtil" }, - ["C_CurveUtil.CreateColorCurve"] = { returns = { "curve:LuaColorCurveObject" }, system = "CurveUtil" }, - ["C_CurveUtil.CreateCurve"] = { returns = { "curve:LuaCurveObject" }, system = "CurveUtil" }, - ["C_CurveUtil.EvaluateColorFromBoolean"] = { args = { "boolean:bool", "valueIfTrue:colorRGBA", "valueIfFalse:colorRGBA" }, returns = { "value:colorRGBA" }, secretArguments = "AllowedWhenTainted", system = "CurveUtil" }, - ["C_DamageMeter.GetCombatSessionSourceFromType"] = { args = { "sessionType:DamageMeterSessionType", "type:DamageMeterType", "sourceGUID:WOWGUID?", "sourceCreatureID:number?" }, returns = { "sessionSource:DamageMeterCombatSessionSource" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "InCombat" }, system = "DamageMeter" }, - ["C_DurationUtil.CreateDuration"] = { returns = { "duration:LuaDurationObject" }, system = "DurationUtil" }, - ["C_DurationUtil.CreateDurationTextBinding"] = { returns = { "binding:DurationTextBinding" }, system = "DurationUtil" }, - ["C_EditMode.GetLayouts"] = { returns = { "layoutInfo:EditModeLayouts" }, system = "EditModeManager" }, - ["C_EncodingUtil.CompressString"] = { args = { "source:stringView", "method:CompressionMethod?", "level:CompressionLevel?" }, returns = { "output:string" }, secretArguments = "AllowedWhenUntainted", system = "EncodingUtil" }, - ["C_EncodingUtil.DecodeBase64"] = { args = { "source:stringView", "variant:Base64Variant?" }, returns = { "output:string" }, secretArguments = "AllowedWhenUntainted", system = "EncodingUtil" }, - ["C_EncodingUtil.DecompressString"] = { args = { "source:stringView", "method:CompressionMethod?" }, returns = { "output:string" }, secretArguments = "AllowedWhenUntainted", system = "EncodingUtil" }, - ["C_EncodingUtil.DeserializeCBOR"] = { args = { "source:stringView" }, returns = { "value:LuaValueVariant?" }, secretArguments = "AllowedWhenUntainted", system = "EncodingUtil" }, - ["C_EncodingUtil.EncodeBase64"] = { args = { "source:stringView", "variant:Base64Variant?" }, returns = { "output:string" }, secretArguments = "AllowedWhenUntainted", system = "EncodingUtil" }, - ["C_EncodingUtil.SerializeCBOR"] = { args = { "value:LuaValueVariant?", "options:CBORSerializationOptions?" }, returns = { "output:string" }, secretArguments = "AllowedWhenUntainted", system = "EncodingUtil" }, - ["C_GameRules.IsGameRuleActive"] = { args = { "gameRule:GameRule" }, returns = { "isActive:bool" }, secretArguments = "AllowedWhenUntainted", system = "GameRules" }, - ["C_IncomingSummon.IncomingSummonStatus"] = { args = { "unit:UnitToken" }, returns = { "status:SummonStatus" }, secretArguments = "AllowedWhenUntainted", system = "IncomingSummon" }, - ["C_NamePlate.GetNamePlateForUnit"] = { args = { "unitToken:UnitTokenNamePlate", "includeForbidden:bool?" }, returns = { "nameplate:NamePlateFrame" }, secretArguments = "AllowedWhenUntainted", system = "NamePlate" }, - ["C_NamePlate.SetNamePlateSize"] = { args = { "width:uiUnit", "height:uiUnit" }, secretArguments = "AllowedWhenUntainted", system = "NamePlate" }, - ["C_NamePlateManager.SetNamePlateHitTestInsets"] = { args = { "type:NamePlateType", "left:uiUnit", "right:uiUnit", "top:uiUnit", "bottom:uiUnit" }, secretArguments = "NotAllowed", system = "NamePlateManager" }, - ["C_PartyInfo.GetLootMethod"] = { returns = { "method:LootMethod", "masterLootPartyID:number?", "masterLooterRaidID:number?" }, system = "PartyInfo" }, - ["C_PetInfo.GetPetHappiness"] = { returns = { "happiness:number", "damagePercentage:number", "loyaltyRate:number" }, system = "PetInfo" }, - ["C_PlayerInfo.GetContentDifficultyCreatureForPlayer"] = { args = { "unitToken:UnitToken" }, returns = { "difficulty:RelativeContentDifficulty" }, secretArguments = "AllowedWhenUntainted", system = "PlayerInfo" }, - ["C_PlayerInfo.GetName"] = { args = { "playerLocation:PlayerLocation" }, returns = { "name:string" }, secretArguments = "AllowedWhenUntainted", system = "PlayerLocationInfo" }, - ["C_PvP.GetHonorRewardInfo"] = { args = { "honorLevel:number" }, returns = { "info:HonorRewardInfo?" }, secretArguments = "AllowedWhenUntainted", system = "PvpInfo" }, - ["C_Secrets.CanCompareUnitTokens"] = { args = { "unit1:UnitToken", "unit2:UnitToken" }, returns = { "isUnitComparisonPermitted:bool" }, secretArguments = "AllowedWhenUntainted", system = "SecretUtil" }, - ["C_SpecializationInfo.GetSpecialization"] = { args = { "isInspect:bool?", "isPet:bool?", "specGroupIndex:luaIndex?" }, returns = { "specializationIndex:luaIndex" }, secretArguments = "AllowedWhenUntainted", system = "SpecializationInfo" }, - ["C_Spell.GetOverrideSpell"] = { args = { "spellIdentifier:SpellIdentifier", "spec:number?", "onlyKnown:bool?", "ignoreOverrideSpellID:number?" }, returns = { "overrideSpellID:number" }, secretArguments = "AllowedWhenUntainted", system = "Spell" }, - ["C_Spell.GetSpellCooldown"] = { args = { "spellIdentifier:SpellIdentifier" }, returns = { "spellCooldownInfo:SpellCooldownInfo" }, secretArguments = "AllowedWhenTainted", secretWhen = { "CooldownsRestricted" }, system = "Spell" }, - ["C_Spell.GetSpellCooldownDuration"] = { args = { "spellIdentifier:SpellIdentifier", "ignoreGCD:bool?" }, returns = { "duration:LuaDurationObject" }, secretArguments = "AllowedWhenTainted", system = "Spell" }, - ["C_Spell.GetSpellDescription"] = { args = { "spellIdentifier:SpellIdentifier" }, returns = { "description:string" }, secretArguments = "AllowedWhenTainted", system = "Spell" }, - ["C_Spell.GetSpellInfo"] = { args = { "spellIdentifier:SpellIdentifier" }, returns = { "spellInfo:SpellInfo" }, secretArguments = "AllowedWhenTainted", system = "Spell" }, - ["C_Spell.GetSpellMaxCumulativeAuraApplications"] = { args = { "spellID:SpellIdentifier" }, returns = { "cumulativeAura:number" }, secretArguments = "AllowedWhenTainted", secretWhen = { "UnitAuraRestricted" }, system = "Spell" }, - ["C_Spell.GetSpellName"] = { args = { "spellIdentifier:SpellIdentifier" }, returns = { "name:cstring" }, secretArguments = "AllowedWhenTainted", system = "Spell" }, - ["C_Spell.GetSpellPowerCost"] = { args = { "spellIdentifier:SpellIdentifier" }, returns = { "powerCosts:table" }, secretArguments = "AllowedWhenTainted", system = "Spell" }, - ["C_Spell.GetSpellQueueWindow"] = { returns = { "result:number" }, system = "Spell" }, - ["C_Spell.IsSpellInRange"] = { args = { "spellIdentifier:SpellIdentifier", "targetUnit:UnitToken?" }, returns = { "inRange:bool?" }, secretArguments = "AllowedWhenTainted", system = "Spell" }, - ["C_SpellBook.IsSpellKnown"] = { args = { "spellID:number", "spellBank:SpellBookSpellBank?" }, returns = { "isKnown:bool" }, secretArguments = "AllowedWhenUntainted", system = "SpellBook" }, - ["C_SpellBook.IsSpellKnownOrInSpellBook"] = { args = { "spellID:number", "spellBank:SpellBookSpellBank?", "includeOverrides:bool?" }, returns = { "isKnownOrInSpellBook:bool" }, secretArguments = "AllowedWhenUntainted", system = "SpellBook" }, - ["C_StringUtil.CreateSecondsFormatter"] = { returns = { "formatter:SecondsFormatter" }, system = "StringUtil" }, - ["C_StringUtil.TruncateWhenZero"] = { args = { "number:number" }, returns = { "text:string" }, secretArguments = "AllowedWhenTainted", system = "StringUtil" }, - ["C_StringUtil.WrapString"] = { args = { "infix:stringView", "prefix:stringView?", "suffix:stringView?" }, returns = { "text:string" }, secretArguments = "AllowedWhenTainted", system = "StringUtil" }, - ["C_Texture.GetAtlasInfo"] = { args = { "atlas:textureAtlas" }, returns = { "info:AtlasInfo" }, secretArguments = "AllowedWhenUntainted", system = "TextureUtils" }, - ["C_Timer.After"] = { args = { "seconds:number", "callback:TimerCallback" }, secretArguments = "AllowedWhenUntainted", system = "UITimer" }, - ["C_Timer.NewTimer"] = { args = { "seconds:number", "callback:TickerCallback" }, returns = { "cbObject:TickerCallback" }, secretArguments = "AllowedWhenUntainted", system = "UITimer" }, - ["C_UIFileAsset.IsKnownFile"] = { args = { "asset:FileAsset" }, returns = { "isValid:bool" }, secretArguments = "AllowedWhenUntainted", system = "UIFileAssetAPI" }, - ["C_UnitAuras.AddPrivateAuraAnchor"] = { args = { "args:AddPrivateAuraAnchorArgs" }, returns = { "anchorID:number?" }, secretArguments = "AllowedWhenUntainted", system = "UnitAuras" }, - ["C_UnitAuras.AuraIsBigDefensive"] = { args = { "spellID:SpellIdentifier" }, returns = { "isBigDefensive:bool" }, secretArguments = "AllowedWhenTainted", system = "UnitAuras" }, - ["C_UnitAuras.GetPlayerAuraBySpellID"] = { args = { "spellID:SpellIdentifier" }, returns = { "aura:AuraData?" }, secretArguments = "AllowedWhenTainted", secretWhen = { "UnitAuraRestricted" }, system = "UnitAuras" }, - ["C_UnitAuras.RemovePrivateAuraAnchor"] = { args = { "anchorID:number" }, secretArguments = "AllowedWhenUntainted", system = "UnitAuras" }, - ClearCursor = { system = "GameCursor" }, - ClearFocus = { system = "TargetScript" }, - ClearTarget = { returns = { "willMakeChange:bool" }, system = "TargetScript" }, - CreateFromMixins = { args = { "mixins:LuaValueVariant" }, returns = { "object:LuaValueVariant" }, secretArguments = "AllowedWhenUntainted", system = "FrameScript" }, - CreateSecureDelegate = { args = { "luaFunction:LuaValueReference", "options:SecureDelegateOptions?" }, returns = { "secureDelegateFunction:LuaValueReference" }, secretArguments = "AllowedWhenUntainted", system = "FrameScript" }, - CreateUnitHealPredictionCalculator = { returns = { "healPredictionCalculator:UnitHealPredictionCalculator" }, system = "Unit" }, - GetAddOnMemoryUsage = { args = { "name:uiAddon" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", system = "PerformanceScript" }, - GetArenaOpponentSpec = { args = { "index:luaIndex" }, returns = { "specializationID:number", "gender:number" }, secretArguments = "AllowedWhenUntainted", secretReturns = true, system = "PvpInfo" }, - GetBuildInfo = { returns = { "buildVersion:cstring", "buildNumber:cstring", "buildDate:cstring", "interfaceVersion:number", "localizedVersion:cstring", "buildInfo:string" }, system = "Build" }, - GetCollapsingStarCost = { returns = { "cost:number" }, system = "PlayerScript" }, - GetComboPoints = { args = { "unit:UnitTokenPvPRestrictedForAddOns", "target:UnitTokenPvPRestrictedForAddOns" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitPowerRestricted" }, system = "Unit" }, - GetCurrentRegion = { returns = { "region:number" }, system = "Locale" }, - GetCurrentRegionName = { returns = { "regionName:cstring" }, system = "Expansion" }, - GetCursorInfo = { system = "GameCursor" }, - GetCursorPosition = { returns = { "posX:number", "posY:number" }, system = "Input" }, - GetLocale = { returns = { "localeName:cstring" }, system = "Locale" }, - GetNetStats = { returns = { "in:number", "out:number", "latencyList:number" }, system = "ConnectionScript" }, - GetRaidTargetIndex = { args = { "target:UnitToken" }, returns = { "result:luaIndex?" }, secretArguments = "AllowedWhenUntainted", secretReturns = true, system = "RaidMarkers" }, - GetRealmName = { returns = { "realmName:cstring" }, system = "ConnectionScript" }, - GetRuneCooldown = { args = { "runeIndex:luaIndex" }, returns = { "startTime:number", "duration:number", "isRuneReady:bool" }, secretArguments = "AllowedWhenUntainted", system = "PlayerScript" }, - GetServerTime = { returns = { "time:number" }, system = "SystemTime" }, - GetThreatStatusColor = { args = { "gameErrorIndex:number" }, returns = { "colorR:number", "colorG:number", "colorB:number" }, secretArguments = "AllowedWhenUntainted", system = "Threat" }, - GetTime = { returns = { "time:number" }, system = "SystemTime" }, - GetTotemDuration = { args = { "slot:luaIndex" }, returns = { "duration:LuaDurationObject" }, secretArguments = "AllowedWhenUntainted", system = "Totem" }, - GetTotemInfo = { args = { "slot:luaIndex" }, returns = { "haveTotem:bool", "totemName:cstring", "startTime:number", "duration:number", "icon:fileID", "modRate:number", "spellID:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "TotemSlotSecret" }, system = "Totem" }, - GetUnitChargedPowerPoints = { args = { "unit:UnitToken" }, returns = { "pointIndices:table" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitPowerRestricted" }, system = "Unit" }, - GetUnitEmpowerHoldAtMaxTime = { args = { "unit:UnitToken" }, returns = { "holdAtMaxTime:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitSpellCastRestricted" }, system = "Unit" }, - GetUnitPowerBarInfo = { args = { "unitToken:UnitToken" }, returns = { "info:UnitPowerBarInfo" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - GetUnitPowerBarInfoByID = { args = { "barID:number" }, returns = { "info:UnitPowerBarInfo" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - GetUnitPowerBarStringsByID = { args = { "barID:number" }, returns = { "name:cstring?", "tooltip:cstring?", "cost:cstring?" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - GetUnitTotalModifiedMaxHealthPercent = { args = { "unit:UnitToken" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - GetXPExhaustion = { returns = { "result:number?" }, system = "PlayerScript" }, - InCombatLockdown = { returns = { "inCombatLockdown:bool" }, system = "RestrictedActions" }, - IsAltKeyDown = { returns = { "down:bool" }, system = "Input" }, - IsControlKeyDown = { returns = { "down:bool" }, system = "Input" }, - IsInInstance = { returns = { "isInInstance:bool", "instanceType:cstring" }, system = "Instance" }, - IsLoggedIn = { returns = { "result:bool" }, system = "PlayerScript" }, - IsResting = { returns = { "result:bool" }, system = "PlayerScript" }, - IsShiftKeyDown = { returns = { "down:bool" }, system = "Input" }, - Mixin = { args = { "object:LuaValueVariant", "mixins:LuaValueVariant" }, returns = { "outObject:LuaValueVariant" }, secretArguments = "AllowedWhenUntainted", system = "FrameScript" }, - PlayerVehicleHasComboPoints = { returns = { "vehicleHasComboPoints:bool" }, system = "Unit" }, - RegionalUniqueNamesEnabled = { returns = { "result:bool" }, system = "Unit" }, - RunScript = { args = { "text:cstring" }, secretArguments = "AllowedWhenUntainted", system = "FrameScript" }, - SetCursorPosition = { args = { "xPosition:uiUnit", "yPosition:uiUnit" }, secretArguments = "AllowedWhenUntainted", system = "Input" }, - SetPortraitTexture = { args = { "textureObject:SimpleTexture", "unitToken:UnitToken", "disableMasking:bool?" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitAffectingCombat = { args = { "unit:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitAttackSpeed = { args = { "unit:UnitToken" }, returns = { "attackSpeed:number", "offhandAttackSpeed:number?", "rangedAttackSpeed:number?" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitStatsRestricted" }, system = "Unit" }, - UnitBattlePetLevel = { args = { "unit:UnitToken" }, returns = { "result:number?" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitCanAttack = { args = { "unit:UnitToken", "target:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitCastingDuration = { args = { "unit:UnitTokenPvPRestrictedForAddOns" }, returns = { "duration:LuaDurationObject" }, secretArguments = "AllowedWhenUntainted", secretReturns = true, system = "Unit" }, - UnitCastingInfo = { args = { "unit:UnitTokenPvPRestrictedForAddOns" }, returns = { "name:cstring", "displayName:string", "textureID:fileID", "startTimeMs:number", "endTimeMs:number", "isTradeskill:bool", "castID:WOWGUID", "notInterruptible:bool?", "castingSpellID:number", "castBarID:UnitCastBarID?", "delayTimeMs:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitSpellCastRestricted" }, system = "Unit" }, - UnitChannelDuration = { args = { "unit:UnitTokenPvPRestrictedForAddOns" }, returns = { "duration:LuaDurationObject" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitChannelInfo = { args = { "unit:UnitTokenPvPRestrictedForAddOns" }, returns = { "name:cstring", "displayName:cstring", "textureID:fileID", "startTimeMs:number", "endTimeMs:number", "isTradeskill:bool", "notInterruptible:bool?", "spellID:number", "isEmpowered:bool", "numEmpowerStages:number", "castBarID:UnitCastBarID?" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitSpellCastRestricted" }, system = "Unit" }, - UnitClass = { args = { "unit:UnitToken" }, returns = { "className:cstring", "classFilename:cstring", "classID:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitClassBase = { args = { "unit:UnitToken" }, returns = { "classFilename:cstring", "classID:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitClassification = { args = { "unit:UnitToken" }, returns = { "result:cstring" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitCreatureFamily = { args = { "unit:UnitToken" }, returns = { "name:cstring", "id:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitCreatureType = { args = { "unit:UnitToken" }, returns = { "name:cstring", "id:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitDetailedThreatSituation = { args = { "unit:UnitToken", "mobGUID:UnitToken" }, returns = { "isTanking:bool", "status:number", "scaledPercentage:number", "rawPercentage:number", "rawThreat:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitThreatValuesRestricted" }, system = "Unit" }, - UnitEffectiveLevel = { args = { "name:cstring" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitEmpoweredChannelDuration = { args = { "unit:UnitToken", "includeHoldAtMaxTime:bool?" }, returns = { "duration:LuaDurationObject" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitEmpoweredStagePercentages = { args = { "unit:UnitToken", "includeHoldAtMaxTime:bool?" }, returns = { "percentages:table" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitExists = { args = { "unit:UnitToken?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitFactionGroup = { args = { "unitName:cstring", "checkDisplayRace:bool?" }, returns = { "factionGroupTag:cstring", "localized:cstring" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitGUID = { args = { "unit:UnitTokenPvPRestrictedForAddOns" }, returns = { "result:WOWGUID?" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitGetDetailedHealPrediction = { args = { "unit:UnitTokenPvPRestrictedForAddOns", "healerUnit:UnitTokenPvPRestrictedForAddOns?", "healPredictionCalculator:UnitHealPredictionCalculator" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitGetIncomingHeals = { args = { "unit:UnitTokenPvPRestrictedForAddOns", "healerGUID:UnitTokenPvPRestrictedForAddOns?" }, returns = { "result:number?" }, secretArguments = "AllowedWhenUntainted", secretReturns = true, system = "Unit" }, - UnitGetTotalAbsorbs = { args = { "unit:UnitTokenPvPRestrictedForAddOns" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", secretReturns = true, system = "Unit" }, - UnitGetTotalHealAbsorbs = { args = { "unit:UnitTokenPvPRestrictedForAddOns" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", secretReturns = true, system = "Unit" }, - UnitGroupRolesAssignedEnum = { args = { "unit:UnitToken?" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitHasPowerType = { args = { "unitToken:UnitTokenPvPRestrictedForAddOns", "powerType:PowerType" }, returns = { "hasPower:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitHasVehiclePlayerFrameUI = { args = { "unit:UnitToken?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitHasVehicleUI = { args = { "unit:UnitToken?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitHealth = { args = { "unit:UnitTokenPvPRestrictedForAddOns", "usePredicted:bool?" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", secretReturns = true, system = "Unit" }, - UnitHealthMax = { args = { "unit:UnitTokenPvPRestrictedForAddOns" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitHealthMaxRestricted" }, system = "Unit" }, - UnitHealthMissing = { args = { "unit:UnitTokenPvPRestrictedForAddOns", "usePredicted:bool?" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", secretReturns = true, system = "Unit" }, - UnitHealthPercent = { args = { "unit:UnitTokenPvPRestrictedForAddOns", "usePredicted:bool?", "curve:LuaCurveObjectBase?" }, returns = { "result:LuaCurveEvaluatedResult" }, secretArguments = "AllowedWhenUntainted", secretReturns = true, secretWhen = { "CurveSecret" }, system = "Unit" }, - UnitHonorLevel = { args = { "unit:UnitToken" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitInParty = { args = { "unit:UnitToken?", "partyIndex:luaIndex?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitInPartyIsAI = { args = { "unit:UnitToken?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitInRaid = { args = { "unit:UnitToken?", "partyIndex:luaIndex?" }, returns = { "result:luaIndex?" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitInRange = { args = { "unit:UnitToken" }, returns = { "inRange:bool", "checkedRange:bool" }, secretArguments = "AllowedWhenUntainted", secretReturns = true, system = "Unit" }, - UnitIsBattlePetCompanion = { args = { "unit:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsConnected = { args = { "unit:UnitToken" }, returns = { "isConnected:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsDead = { args = { "unit:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsDeadOrGhost = { args = { "unit:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsEnemy = { args = { "unit:UnitToken", "target:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsGameObject = { args = { "unit:UnitToken?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsGhost = { args = { "unit:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsGroupAssistant = { args = { "unit:UnitToken" }, returns = { "isAssistant:bool" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitIsGroupLeader = { args = { "unit:UnitToken", "partyCategory:luaIndex?" }, returns = { "isLeader:bool" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitIsHumanPlayer = { args = { "unit:UnitToken?", "partyIndex:luaIndex?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsMercenary = { args = { "name:cstring" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsPVP = { args = { "unit:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitIsPVPFreeForAll = { args = { "unit:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsPlayer = { args = { "unit:UnitToken?", "partyIndex:luaIndex?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsQuestBoss = { args = { "unit:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsTapDenied = { args = { "unit:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsUnit = { args = { "unit1:UnitToken", "unit2:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitComparisonRestricted" }, system = "Unit" }, - UnitIsVisible = { args = { "unit:UnitToken?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitIsWildBattlePet = { args = { "unit:UnitToken" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitLeadsAnyGroup = { args = { "unit:UnitToken" }, returns = { "isLeader:bool" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitLevel = { args = { "name:cstring" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitName = { args = { "unit:UnitToken" }, returns = { "unitName:cstring", "unitServer:cstring" }, secretArguments = "AllowedWhenTainted", secretWhen = { "UnitNameIdentityRestricted" }, system = "Unit" }, - UnitNameUnmodified = { args = { "unit:UnitToken" }, returns = { "unitName:cstring", "unitServer:cstring" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitNameplateShowsWidgetsOnly = { args = { "unit:UnitToken" }, returns = { "nameplateShowsWidgetsOnly:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitPhaseReason = { args = { "unit:UnitToken" }, returns = { "reason:PhaseReason?" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitPlayerControlled = { args = { "unit:UnitToken?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitPlayerOrPetInRaid = { args = { "unit:UnitToken?", "partyIndex:luaIndex?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitPower = { args = { "unitToken:UnitTokenPvPRestrictedForAddOns", "powerType:PowerType?", "unmodified:bool?" }, returns = { "power:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitPowerRestricted" }, system = "Unit" }, - UnitPowerBarID = { args = { "unitToken:UnitToken" }, returns = { "barID:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitPowerDisplayMod = { args = { "powerType:PowerType" }, returns = { "displayMod:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitPowerMax = { args = { "unitToken:UnitTokenPvPRestrictedForAddOns", "powerType:PowerType?", "unmodified:bool?" }, returns = { "maxPower:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitPowerMaxRestricted" }, system = "Unit" }, - UnitPowerMissing = { args = { "unitToken:UnitTokenPvPRestrictedForAddOns", "powerType:PowerType?", "unmodified:bool?" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitPowerRestricted" }, system = "Unit" }, - UnitPowerPercent = { args = { "unitToken:UnitTokenPvPRestrictedForAddOns", "powerType:PowerType?", "unmodified:bool?", "curve:LuaCurveObjectBase?" }, returns = { "result:LuaCurveEvaluatedResult" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "CurveSecret", "UnitPowerRestricted" }, system = "Unit" }, - UnitPowerType = { args = { "unit:UnitTokenPvPRestrictedForAddOns", "index:number?" }, returns = { "powerType:PowerType", "powerTypeToken:string", "rgbX:number", "rgbY:number", "rgbZ:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitPvpClassification = { args = { "unit:UnitTokenPvPRestrictedForAddOns" }, returns = { "classification:PvPUnitClassification?" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitQuestTrivialLevelRange = { args = { "unit:UnitToken" }, returns = { "levelRange:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitRace = { args = { "unit:UnitToken" }, returns = { "localizedRaceName:cstring", "englishRaceName:cstring", "raceID:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitReaction = { args = { "unit:UnitToken", "target:UnitToken" }, returns = { "result:luaIndex?" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitSelectionType = { args = { "unit:UnitToken", "useExtendedColors:bool?" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitSex = { args = { "unit:UnitToken" }, returns = { "sex:number?" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitIdentityRestricted" }, system = "Unit" }, - UnitStagger = { args = { "unit:UnitTokenPvPRestrictedForAddOns" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitTargetsVehicleInRaidUI = { args = { "unit:UnitToken?" }, returns = { "result:bool" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitThreatSituation = { args = { "unit:UnitToken", "mobGUID:UnitToken?" }, returns = { "result:number?" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "UnitThreatStateRestricted" }, system = "Unit" }, - UnitXP = { args = { "unit:UnitToken" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UnitXPMax = { args = { "unit:UnitToken" }, returns = { "result:number" }, secretArguments = "AllowedWhenUntainted", system = "Unit" }, - UpdateAddOnMemoryUsage = { system = "PerformanceScript" }, - issecretvalue = { args = { "value:LuaValueReference" }, returns = { "isSecret:bool" }, secretArguments = "AllowedWhenUntainted", system = "FrameScript" }, - ["math.clamp"] = { args = { "value:number", "minimum:number", "maximum:number" }, returns = { "clampedValue:number" }, secretArguments = "AllowedWhenUntainted", system = "LuaMathExtensions" }, - ["math.normalize"] = { args = { "value:number", "minimum:number", "maximum:number" }, returns = { "normalizedValue:number" }, secretArguments = "AllowedWhenUntainted", system = "LuaMathExtensions" }, - ["math.remap"] = { args = { "value:number", "sourceMinimum:number", "sourceMaximum:number", "destinationMinimum:number", "destinationMaximum:number" }, returns = { "remappedValue:number" }, secretArguments = "AllowedWhenUntainted", system = "LuaMathExtensions" }, - ["math.round"] = { args = { "value:number", "decimalPlaces:number?" }, returns = { "roundedValue:number" }, secretArguments = "AllowedWhenUntainted", system = "LuaMathExtensions" }, - ["math.wrap"] = { args = { "value:number", "minimum:number", "maximum:number" }, returns = { "wrapped:number" }, secretArguments = "AllowedWhenUntainted", system = "LuaMathExtensions" }, - scrubsecretvalues = { args = { "values:LuaValueReference" }, returns = { "scrubbed:LuaValueReference" }, secretArguments = "AllowedWhenUntainted", system = "FrameScript" }, - ["string.contains"] = { args = { "str:stringView", "substring:stringView" }, returns = { "contains:bool" }, secretArguments = "AllowedWhenUntainted", system = "LuaStringExtensions" }, - ["string.trim"] = { args = { "str:stringView", "characters:stringView?" }, returns = { "trimmed:stringView" }, secretArguments = "AllowedWhenUntainted", system = "LuaStringExtensions" }, - ["table.contains"] = { args = { "table:table", "value:any?" }, returns = { "containsValue:bool" }, secretArguments = "AllowedWhenUntainted", system = "LuaTableExtensions" }, - ["table.count"] = { args = { "table:table" }, returns = { "count:number" }, secretArguments = "AllowedWhenUntainted", secretWhen = { "LuaTableHasSecretKeys" }, system = "LuaTableExtensions" }, - ["table.create"] = { args = { "arraySizeHint:number", "nodeSizeHint:number?" }, returns = { "table:table" }, secretArguments = "AllowedWhenUntainted", system = "LuaTableExtensions" }, - ["table.keys"] = { args = { "table:table" }, returns = { "keys:any" }, secretArguments = "AllowedWhenUntainted", system = "LuaTableExtensions" }, - ["table.values"] = { args = { "table:table" }, returns = { "values:any" }, secretArguments = "AllowedWhenUntainted", system = "LuaTableExtensions" }, - }, - enums = { - AddOnProfilerMetric = { CountTimeOver1000Ms = 11, CountTimeOver100Ms = 9, CountTimeOver10Ms = 7, CountTimeOver1Ms = 5, CountTimeOver500Ms = 10, CountTimeOver50Ms = 8, CountTimeOver5Ms = 6, EncounterAverageTime = 2, LastTime = 3, PeakTime = 4, RecentAverageTime = 1, SessionAverageTime = 0 }, - CompressionLevel = { Default = 0, OptimizeForSize = 2, OptimizeForSpeed = 1 }, - CompressionMethod = { Deflate = 0, Gzip = 2, Zlib = 1 }, - CustomAuraButtonDispelTypeStealableFilter = { NotStealable = 1, Stealable = 0 }, - CustomAuraButtonDispelTypeTextureStyle = { Border = 0, BorderWithIcon = 1, CustomAsset = 4, Icon = 2, PreserveAsset = 3 }, - CustomAuraButtonUpdateMode = { Assignment = 0, Update = 1 }, - DamageMeterSessionType = { Current = 1, Expired = 2, Overall = 0 }, - DamageMeterType = { Absorbs = 4, AvoidableDamageTaken = 8, DamageDone = 0, DamageTaken = 7, Deaths = 9, Dispels = 6, Dps = 1, EnemyDamageTaken = 10, HealingDone = 2, Hps = 3, Interrupts = 5 }, - EditModeSettingDisplayType = { Checkbox = 1, Dropdown = 0, Slider = 2 }, - EditModeSystem = { ActionBar = 0, ArchaeologyBar = 19, AuraFrame = 6, Bags = 14, CastBar = 1, ChatFrame = 8, CooldownViewer = 20, DamageMeter = 23, DurabilityFrame = 16, EncounterBar = 4, EncounterEvents = 22, ExtraAbilities = 5, GamepadMainActionBar = 30, GroupFinder = 27, HudTooltip = 11, LootFrame = 10, LossOfControl = 28, MainActionBarEndCap = 26, MicroMenu = 13, Minimap = 2, ObjectiveTracker = 12, PersonalResourceDisplay = 21, RaidWarning = 24, StatusTrackingBar = 15, SwingTimer = 29, TalkingHeadFrame = 7, TimerBars = 17, TotemActionBar = 25, UnitFrame = 3, VehicleLeaveButton = 9, VehicleSeatIndicator = 18 }, - LFGRole = { Damage = 2, Healer = 1, Tank = 0 }, - LootMethod = { Freeforall = 0, Group = 3, Masterlooter = 2, Needbeforegreed = 4, Personal = 5, Roundrobin = 1 }, - LuaCurveType = { Cosine = 2, Cubic = 3, Linear = 0, Step = 1 }, - NamePlateType = { Enemy = 1, Friendly = 0 }, - PlayerSwingType = { MainHand = 0, OffHand = 1, Ranged = 2 }, - PowerType = { Alternate = 10, AlternateEncounter = 24, AlternateMount = 25, AlternateQuest = 23, ArcaneCharges = 16, Balance = 26, BurningEmbers = 14, Chi = 12, ComboPoints = 4, DemonicFury = 15, Energy = 3, Essence = 19, Focus = 2, Fury = 17, Happiness = 27, HolyPower = 9, Insanity = 13, LunarPower = 8, Maelstrom = 11, Mana = 0, Pain = 18, Rage = 1, RuneBlood = 20, RuneChromatic = 29, RuneFrost = 21, RuneUnholy = 22, Runes = 5, RunicPower = 6, ShadowOrbs = 28, SoulShards = 7 }, - PvPUnitClassification = { AssassinAlliance = 6, AssassinHorde = 5, CartRunnerAlliance = 4, CartRunnerHorde = 3, FlagCarrierAlliance = 1, FlagCarrierHorde = 0, FlagCarrierNeutral = 2, OrbCarrierBlue = 7, OrbCarrierGreen = 8, OrbCarrierOrange = 9, OrbCarrierPurple = 10 }, - RelativeContentDifficulty = { Difficult = 3, Easy = 1, Fair = 2, Impossible = 4, Trivial = 0 }, - ScriptObjectAccessRestriction = { DenyTaintedAccessWhenAurasAreSecret = 1 }, - SecondsFormatterAbbreviation = { None = 0, OneLetter = 2, Truncate = 1 }, - SecondsFormatterInterval = { Days = 3, Hours = 2, Minutes = 1, Seconds = 0 }, - SecondsFormatterIntervalWhitespace = { Preserve = 0, Strip = 1, StripIgnoreLocale = 2 }, - SecondsFormatterRounding = { RoundUp = 0, Truncate = 1 }, - StatusBarInterpolation = { ExponentialEaseOut = 1, Immediate = 0 }, - StatusBarTimerDirection = { ElapsedTime = 0, RemainingTime = 1 }, - SummonStatus = { Accepted = 2, Declined = 3, None = 0, Pending = 1 }, - UITextureSliceMode = { Stretched = 0, Tiled = 1 }, - UnitDamageAbsorbClampMode = { MaximumHealth = 2, MissingHealth = 0, MissingHealthWithoutIncomingHeals = 1 }, - UnitHealAbsorbClampMode = { CurrentHealth = 0, MaximumHealth = 1 }, - UnitHealAbsorbMode = { ReducedByIncomingHeals = 0, Total = 1 }, - UnitIncomingHealClampMode = { MaximumHealth = 1, MissingHealth = 0 }, - UnitMaximumHealthMode = { Default = 0, WithAbsorbs = 1 }, - UnitSex = { Both = 3, Female = 1, Male = 0, Neutral = 4, None = 2 }, - }, - events = { - ADDON_LOADED = true, - ARENA_OPPONENT_UPDATE = true, - ARENA_PREP_OPPONENT_SPECIALIZATIONS = true, - COMBO_TARGET_CHANGED = true, - EDIT_MODE_LAYOUTS_UPDATED = true, - GROUP_ROSTER_UPDATE = true, - HONOR_LEVEL_UPDATE = true, - INCOMING_RESURRECT_CHANGED = true, - INCOMING_SUMMON_CHANGED = true, - INSTANCE_ENCOUNTER_ENGAGE_UNIT = true, - NAME_PLATE_UNIT_ADDED = true, - NAME_PLATE_UNIT_REMOVED = true, - NEUTRAL_FACTION_SELECT_RESULT = true, - PARTY_LEADER_CHANGED = true, - PARTY_LOOT_METHOD_CHANGED = true, - PARTY_MEMBER_DISABLE = true, - PARTY_MEMBER_ENABLE = true, - PLAYER_ALIVE = true, - PLAYER_DEAD = true, - PLAYER_ENTERING_WORLD = true, - PLAYER_FOCUS_CHANGED = true, - PLAYER_LEVEL_UP = true, - PLAYER_LOGIN = true, - PLAYER_LOGOUT = true, - PLAYER_PVP_FLAG_CHANGED = true, - PLAYER_REGEN_DISABLED = true, - PLAYER_REGEN_ENABLED = true, - PLAYER_ROLES_ASSIGNED = true, - PLAYER_SPECIALIZATION_CHANGED = true, - PLAYER_SWING = true, - PLAYER_TALENT_UPDATE = true, - PLAYER_TARGET_CHANGED = true, - PLAYER_TOTEM_UPDATE = true, - PLAYER_UNGHOST = true, - PLAYER_UPDATE_RESTING = true, - PLAYER_XP_UPDATE = true, - PORTRAITS_UPDATED = true, - RAID_TARGET_UPDATE = true, - READY_CHECK = true, - READY_CHECK_CONFIRM = true, - READY_CHECK_FINISHED = true, - RUNE_POWER_UPDATE = true, - SPELLS_CHANGED = true, - SPELL_RANGE_CHECK_UPDATE = true, - SPELL_UPDATE_COOLDOWN = true, - TRAIT_CONFIG_UPDATED = true, - UNIT_ABSORB_AMOUNT_CHANGED = true, - UNIT_ATTACK_SPEED = true, - UNIT_AURA = true, - UNIT_CLASSIFICATION_CHANGED = true, - UNIT_COMBAT = true, - UNIT_CONNECTION = true, - UNIT_DISPLAYPOWER = true, - UNIT_ENTERED_VEHICLE = true, - UNIT_EXITED_VEHICLE = true, - UNIT_EXITING_VEHICLE = true, - UNIT_FACTION = true, - UNIT_FLAGS = true, - UNIT_HAPPINESS = true, - UNIT_HEALTH = true, - UNIT_HEAL_ABSORB_AMOUNT_CHANGED = true, - UNIT_HEAL_PREDICTION = true, - UNIT_IN_RANGE_UPDATE = true, - UNIT_LEVEL = true, - UNIT_MAXHEALTH = true, - UNIT_MAXPOWER = true, - UNIT_MAX_HEALTH_MODIFIERS_CHANGED = true, - UNIT_MODEL_CHANGED = true, - UNIT_NAME_UPDATE = true, - UNIT_PET = true, - UNIT_PHASE = true, - UNIT_PORTRAIT_UPDATE = true, - UNIT_POWER_BAR_HIDE = true, - UNIT_POWER_BAR_SHOW = true, - UNIT_POWER_FREQUENT = true, - UNIT_POWER_POINT_CHARGE = true, - UNIT_POWER_UPDATE = true, - UNIT_SPELLCAST_CHANNEL_START = true, - UNIT_SPELLCAST_CHANNEL_STOP = true, - UNIT_SPELLCAST_CHANNEL_UPDATE = true, - UNIT_SPELLCAST_DELAYED = true, - UNIT_SPELLCAST_EMPOWER_START = true, - UNIT_SPELLCAST_EMPOWER_STOP = true, - UNIT_SPELLCAST_EMPOWER_UPDATE = true, - UNIT_SPELLCAST_FAILED = true, - UNIT_SPELLCAST_INTERRUPTED = true, - UNIT_SPELLCAST_INTERRUPTIBLE = true, - UNIT_SPELLCAST_NOT_INTERRUPTIBLE = true, - UNIT_SPELLCAST_SENT = true, - UNIT_SPELLCAST_START = true, - UNIT_SPELLCAST_STOP = true, - UNIT_SPELLCAST_SUCCEEDED = true, - UNIT_TARGETABLE_CHANGED = true, - UNIT_THREAT_LIST_UPDATE = true, - UNIT_THREAT_SITUATION_UPDATE = true, - UPDATE_EXHAUSTION = true, - UPDATE_MACROS = true, - UPDATE_MOUSEOVER_UNIT = true, - UPDATE_SHAPESHIFT_FORM = true, - UPDATE_VEHICLE_ACTIONBAR = true, - WEAPON_SLOT_CHANGED = true, - }, - scriptObjects = { - DurationTextBindingObjectAPI = { - Assign = { secretArguments = "AllowedWhenUntainted" }, - CanFormatText = { }, - CanUpdateFontString = { }, - ClearTextColorCurve = { }, - Copy = { }, - Disable = { }, - Enable = { }, - GetDuration = { }, - GetExpiredText = { }, - GetFontString = { }, - GetFormattedText = { }, - GetFormattedTextColor = { }, - GetTextColorCurve = { }, - GetTimeModifier = { }, - GetUpdateInterval = { }, - GetZeroDurationText = { }, - HasSecretValues = { }, - IsEnabled = { }, - SetDuration = { secretArguments = "AllowedWhenUntainted" }, - SetEnabled = { secretArguments = "AllowedWhenUntainted" }, - SetExpiredText = { secretArguments = "AllowedWhenUntainted" }, - SetFontString = { secretArguments = "AllowedWhenUntainted" }, - SetFormatter = { secretArguments = "AllowedWhenUntainted" }, - SetTextColorCurve = { secretArguments = "AllowedWhenUntainted" }, - SetTextFormat = { secretArguments = "AllowedWhenUntainted" }, - SetTimeModifier = { secretArguments = "AllowedWhenUntainted" }, - SetToDefaults = { }, - SetUpdateInterval = { secretArguments = "AllowedWhenUntainted" }, - SetZeroDurationText = { secretArguments = "AllowedWhenUntainted" }, - UpdateFontString = { }, - }, - FrameAPICharacterModelBase = { - ApplySpellVisualKit = { secretArguments = "AllowedWhenUntainted" }, - CanSetUnit = { secretArguments = "AllowedWhenUntainted" }, - FreezeAnimation = { secretArguments = "AllowedWhenUntainted" }, - GetDisplayInfo = { }, - GetDoBlend = { }, - GetKeepModelOnHide = { }, - HasAnimation = { secretArguments = "AllowedWhenUntainted" }, - PlayAnimKit = { secretArguments = "AllowedWhenUntainted" }, - RefreshCamera = { }, - RefreshUnit = { }, - SetAnimation = { secretArguments = "AllowedWhenUntainted" }, - SetBarberShopAlternateForm = { }, - SetCamDistanceScale = { secretArguments = "AllowedWhenUntainted" }, - SetCreature = { secretArguments = "AllowedWhenUntainted" }, - SetDisplayInfo = { secretArguments = "AllowedWhenUntainted" }, - SetDoBlend = { secretArguments = "AllowedWhenUntainted" }, - SetItem = { secretArguments = "AllowedWhenUntainted" }, - SetItemAppearance = { secretArguments = "AllowedWhenUntainted" }, - SetKeepModelOnHide = { secretArguments = "AllowedWhenUntainted" }, - SetPortraitZoom = { secretArguments = "AllowedWhenUntainted" }, - SetRotation = { secretArguments = "AllowedWhenUntainted" }, - SetUnit = { secretArguments = "AllowedWhenUntainted" }, - StopAnimKit = { }, - ZeroCachedCenterXY = { }, - }, - FrameAPICooldown = { - Clear = { protected = true }, - GetCooldownDisplayDuration = { secretAspects = { "Cooldown" } }, - GetCooldownDuration = { secretAspects = { "Cooldown" } }, - GetCooldownTimes = { secretAspects = { "Cooldown" } }, - GetCountdownAbbrevThreshold = { }, - GetCountdownFontString = { }, - GetCountdownFormatter = { }, - GetCountdownMillisecondsThreshold = { }, - GetDrawBling = { secretAspects = { "CooldownStyle" } }, - GetDrawEdge = { secretAspects = { "CooldownStyle" } }, - GetDrawSwipe = { secretAspects = { "CooldownStyle" } }, - GetEdgeScale = { }, - GetHideCountdownNumbers = { }, - GetMinimumCountdownDuration = { }, - GetReverse = { }, - GetRotation = { }, - GetUseAuraDisplayTime = { }, - IsPaused = { }, - Pause = { }, - Resume = { }, - SetBlingTexture = { secretArguments = "AllowedWhenUntainted" }, - SetCooldown = { addsAspects = { "Cooldown" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetCooldownDuration = { addsAspects = { "Cooldown" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetCooldownFromDurationObject = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetCooldownFromExpirationTime = { addsAspects = { "Cooldown" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetCooldownUNIX = { addsAspects = { "Cooldown" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetCountdownAbbrevThreshold = { secretArguments = "AllowedWhenUntainted" }, - SetCountdownFont = { secretArguments = "AllowedWhenUntainted" }, - SetCountdownFormatter = { secretArguments = "AllowedWhenUntainted" }, - SetCountdownMillisecondsThreshold = { secretArguments = "AllowedWhenUntainted" }, - SetDrawBling = { addsAspects = { "CooldownStyle" }, secretArguments = "AllowedWhenTainted" }, - SetDrawEdge = { addsAspects = { "CooldownStyle" }, secretArguments = "AllowedWhenTainted" }, - SetDrawSwipe = { addsAspects = { "CooldownStyle" }, secretArguments = "AllowedWhenTainted" }, - SetEdgeColor = { addsAspects = { "CooldownStyle" }, secretArguments = "AllowedWhenTainted" }, - SetEdgeScale = { secretArguments = "AllowedWhenUntainted" }, - SetEdgeTexture = { secretArguments = "AllowedWhenUntainted" }, - SetHideCountdownNumbers = { secretArguments = "AllowedWhenUntainted" }, - SetMinimumCountdownDuration = { secretArguments = "AllowedWhenUntainted" }, - SetPaused = { secretArguments = "AllowedWhenUntainted" }, - SetReverse = { secretArguments = "AllowedWhenUntainted" }, - SetRotation = { secretArguments = "AllowedWhenUntainted" }, - SetSwipeColor = { addsAspects = { "CooldownStyle" }, secretArguments = "AllowedWhenTainted" }, - SetSwipeTexture = { secretArguments = "AllowedWhenUntainted" }, - SetTexCoordRange = { secretArguments = "AllowedWhenUntainted" }, - SetUseAuraDisplayTime = { secretArguments = "AllowedWhenUntainted" }, - SetUseCircularEdge = { secretArguments = "AllowedWhenUntainted" }, - }, - FrameAPITooltip = { - AddFontStrings = { secretArguments = "AllowedWhenUntainted" }, - ClearPadding = { }, - GetLeftLine = { secretArguments = "AllowedWhenUntainted" }, - GetMinimumWidth = { secretAspects = { "MinimumWidth" } }, - GetPadding = { secretAspects = { "Padding" } }, - GetRightLine = { secretArguments = "AllowedWhenUntainted" }, - SetMinimumWidth = { addsAspects = { "MinimumWidth" }, secretArguments = "AllowedWhenUntainted" }, - SetPadding = { addsAspects = { "Padding" }, secretArguments = "AllowedWhenUntainted" }, - SetText = { addsAspects = { "Text" }, secretArguments = "AllowedWhenTainted" }, - }, - LuaColorCurveObjectAPI = { - AddPoint = { secretArguments = "AllowedWhenUntainted" }, - ClearPoints = { }, - Copy = { }, - Evaluate = { secretArguments = "AllowedWhenUntainted" }, - EvaluateUnpacked = { secretArguments = "AllowedWhenUntainted" }, - GetPoint = { secretArguments = "AllowedWhenUntainted" }, - GetPointCount = { }, - GetPoints = { }, - RemovePoint = { secretArguments = "AllowedWhenUntainted" }, - SetPoints = { secretArguments = "AllowedWhenUntainted" }, - SetToDefaults = { }, - }, - LuaCurveObjectAPI = { - AddPoint = { secretArguments = "AllowedWhenUntainted" }, - ClearPoints = { }, - Copy = { }, - Evaluate = { secretArguments = "AllowedWhenUntainted" }, - GetPoint = { secretArguments = "AllowedWhenUntainted" }, - GetPointCount = { }, - GetPoints = { }, - RemovePoint = { secretArguments = "AllowedWhenUntainted" }, - SetPoints = { secretArguments = "AllowedWhenUntainted" }, - SetToDefaults = { }, - }, - LuaCurveObjectBaseAPI = { - GetType = { }, - HasSecretValues = { }, - SetType = { secretArguments = "AllowedWhenUntainted" }, - }, - LuaDurationObjectAPI = { - Assign = { secretArguments = "AllowedWhenUntainted" }, - Copy = { }, - EvaluateElapsedDuration = { secretArguments = "AllowedWhenUntainted", secretWhen = { "CurveSecret" } }, - EvaluateElapsedPercent = { secretArguments = "AllowedWhenUntainted", secretWhen = { "CurveSecret" } }, - EvaluateRemainingDuration = { secretArguments = "AllowedWhenUntainted", secretWhen = { "CurveSecret" } }, - EvaluateRemainingPercent = { secretArguments = "AllowedWhenUntainted", secretWhen = { "CurveSecret" } }, - EvaluateTotalDuration = { secretArguments = "AllowedWhenUntainted", secretWhen = { "CurveSecret" } }, - FormatElapsedDuration = { secretArguments = "AllowedWhenUntainted", secretWhen = { "NumericFormatterSecret" } }, - FormatRemainingDuration = { secretArguments = "AllowedWhenUntainted", secretWhen = { "NumericFormatterSecret" } }, - FormatTotalDuration = { secretArguments = "AllowedWhenUntainted", secretWhen = { "NumericFormatterSecret" } }, - GetClock = { }, - GetClockTime = { }, - GetElapsedDuration = { secretArguments = "AllowedWhenUntainted" }, - GetElapsedPercent = { secretArguments = "AllowedWhenUntainted" }, - GetEndTime = { secretArguments = "AllowedWhenUntainted" }, - GetModRate = { }, - GetRemainingDuration = { secretArguments = "AllowedWhenUntainted" }, - GetRemainingPercent = { secretArguments = "AllowedWhenUntainted" }, - GetStartTime = { secretArguments = "AllowedWhenUntainted" }, - GetTotalDuration = { secretArguments = "AllowedWhenUntainted" }, - HasExpired = { secretArguments = "AllowedWhenUntainted" }, - HasSecretValues = { }, - HasStarted = { secretArguments = "AllowedWhenUntainted" }, - IsActive = { secretArguments = "AllowedWhenUntainted" }, - IsZero = { }, - Reset = { }, - SetClock = { secretArguments = "AllowedWhenUntainted" }, - SetTimeFromEnd = { secretArguments = "AllowedWhenUntainted" }, - SetTimeFromStart = { secretArguments = "AllowedWhenUntainted" }, - SetTimeSpan = { secretArguments = "AllowedWhenUntainted" }, - SetToDefaults = { }, - }, - SecondsFormatterAPI = { - CanApproximate = { secretArguments = "AllowedWhenUntainted" }, - CanRoundUpIntervals = { }, - CanRoundUpLastUnit = { }, - EvaluateDesiredUnitCount = { secretArguments = "AllowedWhenUntainted" }, - EvaluateMaxInterval = { secretArguments = "AllowedWhenUntainted" }, - EvaluateMinInterval = { secretArguments = "AllowedWhenUntainted" }, - Format = { secretArguments = "AllowedWhenUntainted" }, - FormatZero = { secretArguments = "AllowedWhenUntainted" }, - GetApproximationSeconds = { }, - GetConvertToLower = { }, - GetDefaultAbbreviation = { }, - GetDesiredUnitCount = { }, - GetDesiredUnitCountCurve = { }, - GetMaxInterval = { }, - GetMaxIntervalCurve = { }, - GetMillisecondsThreshold = { }, - GetMinInterval = { }, - GetMinIntervalCurve = { }, - GetRounding = { }, - GetStripIntervalWhitespace = { }, - Reset = { }, - SetApproximationSeconds = { secretArguments = "AllowedWhenUntainted" }, - SetCanRoundUpIntervals = { secretArguments = "AllowedWhenUntainted" }, - SetCanRoundUpLastUnit = { secretArguments = "AllowedWhenUntainted" }, - SetConvertToLower = { secretArguments = "AllowedWhenUntainted" }, - SetDefaultAbbreviation = { secretArguments = "AllowedWhenUntainted" }, - SetDesiredUnitCount = { secretArguments = "AllowedWhenUntainted" }, - SetDesiredUnitCountCurve = { secretArguments = "AllowedWhenUntainted" }, - SetMaxInterval = { secretArguments = "AllowedWhenUntainted" }, - SetMaxIntervalCurve = { secretArguments = "AllowedWhenUntainted" }, - SetMillisecondsThreshold = { secretArguments = "AllowedWhenUntainted" }, - SetMinInterval = { secretArguments = "AllowedWhenUntainted" }, - SetMinIntervalCurve = { secretArguments = "AllowedWhenUntainted" }, - SetRounding = { secretArguments = "AllowedWhenUntainted" }, - SetStripIntervalWhitespace = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleAnimAPI = { - GetDuration = { }, - GetElapsed = { }, - GetEndDelay = { }, - GetOrder = { }, - GetProgress = { }, - GetRegionParent = { }, - GetScript = { secretArguments = "AllowedWhenUntainted" }, - GetSmoothProgress = { }, - GetSmoothing = { }, - GetStartDelay = { }, - GetTarget = { }, - HasScript = { secretArguments = "AllowedWhenUntainted", secretAspects = { "ObjectType" } }, - HookScript = { secretArguments = "AllowedWhenUntainted" }, - IsDelaying = { }, - IsDone = { }, - IsPaused = { }, - IsPlaying = { }, - IsStopped = { }, - Pause = { }, - Play = { }, - Restart = { }, - SetChildKey = { secretArguments = "AllowedWhenUntainted" }, - SetDuration = { secretArguments = "AllowedWhenUntainted" }, - SetEndDelay = { secretArguments = "NotAllowed" }, - SetOrder = { secretArguments = "NotAllowed" }, - SetParent = { secretArguments = "AllowedWhenUntainted" }, - SetPlaying = { secretArguments = "NotAllowed" }, - SetScript = { secretArguments = "AllowedWhenUntainted" }, - SetSmoothProgress = { secretArguments = "NotAllowed" }, - SetSmoothing = { secretArguments = "AllowedWhenUntainted" }, - SetStartDelay = { secretArguments = "AllowedWhenUntainted" }, - SetTarget = { secretArguments = "AllowedWhenUntainted" }, - SetTargetKey = { secretArguments = "AllowedWhenUntainted" }, - SetTargetName = { secretArguments = "AllowedWhenUntainted" }, - SetTargetParent = { }, - Stop = { }, - }, - SimpleAnimAlphaAPI = { - GetFromAlpha = { secretAspects = { "Alpha" } }, - GetToAlpha = { secretAspects = { "Alpha" } }, - SetFromAlpha = { addsAspects = { "Alpha" }, secretArguments = "AllowedWhenUntainted" }, - SetToAlpha = { addsAspects = { "Alpha" }, secretArguments = "AllowedWhenUntainted" }, - }, - SimpleAnimFlipBookAPI = { - GetFlipBookColumns = { }, - GetFlipBookFrameHeight = { }, - GetFlipBookFrameWidth = { }, - GetFlipBookFrames = { }, - GetFlipBookRows = { }, - SetFlipBookColumns = { secretArguments = "AllowedWhenUntainted" }, - SetFlipBookFrameHeight = { secretArguments = "AllowedWhenUntainted" }, - SetFlipBookFrameWidth = { secretArguments = "AllowedWhenUntainted" }, - SetFlipBookFrames = { secretArguments = "AllowedWhenUntainted" }, - SetFlipBookRows = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleAnimGroupAPI = { - CreateAnimation = { secretArguments = "NotAllowed" }, - Finish = { }, - GetAnimationSpeedMultiplier = { }, - GetAnimations = { }, - GetDuration = { }, - GetElapsed = { }, - GetLoopState = { }, - GetLooping = { }, - GetProgress = { }, - GetScript = { secretArguments = "AllowedWhenUntainted" }, - HasScript = { secretArguments = "AllowedWhenUntainted", secretAspects = { "ObjectType" } }, - HookScript = { secretArguments = "AllowedWhenUntainted" }, - IsDone = { }, - IsPaused = { }, - IsPendingFinish = { }, - IsPlaying = { }, - IsReverse = { }, - IsSetToFinalAlpha = { }, - Pause = { }, - Play = { secretArguments = "AllowedWhenUntainted" }, - RemoveAnimations = { }, - Restart = { secretArguments = "AllowedWhenUntainted" }, - SetAnimationSpeedMultiplier = { secretArguments = "AllowedWhenUntainted" }, - SetLooping = { secretArguments = "NotAllowed" }, - SetPlaying = { secretArguments = "AllowedWhenUntainted" }, - SetScript = { secretArguments = "AllowedWhenUntainted" }, - SetToFinalAlpha = { secretArguments = "AllowedWhenUntainted" }, - Stop = { }, - }, - SimpleAnimatableObjectAPI = { - CreateAnimationGroup = { secretArguments = "NotAllowed" }, - GetAnimationGroups = { }, - StopAnimating = { }, - }, - SimpleButtonAPI = { - ClearDisabledTexture = { }, - ClearHighlightTexture = { }, - ClearNormalTexture = { }, - ClearPushedTexture = { }, - Click = { secretArguments = "NotAllowed" }, - Disable = { protected = true }, - Enable = { protected = true }, - GetButtonState = { secretAspects = { "ButtonState" } }, - GetDisabledFontObject = { }, - GetDisabledTexture = { }, - GetFontString = { }, - GetHighlightFontObject = { }, - GetHighlightTexture = { }, - GetMotionScriptsWhileDisabled = { }, - GetNormalFontObject = { }, - GetNormalTexture = { }, - GetPushedTextOffset = { }, - GetPushedTexture = { }, - GetText = { secretAspects = { "Text" } }, - GetTextHeight = { }, - GetTextWidth = { }, - IsEnabled = { secretAspects = { "ButtonState" } }, - RegisterForClicks = { protected = true, secretArguments = "NotAllowed" }, - RegisterForMouse = { protected = true, secretArguments = "NotAllowed" }, - SetButtonState = { addsAspects = { "ButtonState" }, secretArguments = "AllowedWhenUntainted" }, - SetDisabledAtlas = { secretArguments = "AllowedWhenUntainted" }, - SetDisabledFontObject = { secretArguments = "AllowedWhenUntainted" }, - SetDisabledTexture = { secretArguments = "AllowedWhenUntainted" }, - SetEnabled = { addsAspects = { "ButtonState" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetFontString = { secretArguments = "AllowedWhenUntainted" }, - SetFormattedText = { addsAspects = { "Text" }, secretArguments = "AllowedWhenUntainted" }, - SetHighlightAtlas = { secretArguments = "AllowedWhenUntainted" }, - SetHighlightFontObject = { secretArguments = "AllowedWhenUntainted" }, - SetHighlightTexture = { secretArguments = "AllowedWhenUntainted" }, - SetMotionScriptsWhileDisabled = { secretArguments = "AllowedWhenUntainted" }, - SetNormalAtlas = { secretArguments = "AllowedWhenUntainted" }, - SetNormalFontObject = { secretArguments = "AllowedWhenUntainted" }, - SetNormalTexture = { secretArguments = "AllowedWhenUntainted" }, - SetPushedAtlas = { secretArguments = "AllowedWhenUntainted" }, - SetPushedTextOffset = { secretArguments = "AllowedWhenUntainted" }, - SetPushedTexture = { secretArguments = "AllowedWhenUntainted" }, - SetText = { addsAspects = { "Text" }, secretArguments = "AllowedWhenUntainted" }, - }, - SimpleCheckboxAPI = { - GetChecked = { }, - GetCheckedTexture = { }, - GetDisabledCheckedTexture = { }, - SetChecked = { secretArguments = "AllowedWhenUntainted" }, - SetCheckedTexture = { secretArguments = "AllowedWhenUntainted" }, - SetDisabledCheckedTexture = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleEditBoxAPI = { - AddHistoryLine = { secretArguments = "AllowedWhenUntainted" }, - ClearFocus = { }, - ClearHighlightText = { }, - ClearHistory = { }, - Disable = { }, - Enable = { }, - GetAltArrowKeyMode = { }, - GetBlinkSpeed = { }, - GetCursorPosition = { secretAspects = { "Cursor", "Text" } }, - GetDisplayText = { secretAspects = { "Text" } }, - GetFont = { }, - GetFontObject = { }, - GetHighlightColor = { }, - GetHistoryLines = { }, - GetIndentedWordWrap = { }, - GetInputLanguage = { }, - GetJustifyH = { }, - GetJustifyV = { }, - GetMaxBytes = { }, - GetMaxLetters = { }, - GetNumLetters = { }, - GetNumLines = { }, - GetNumber = { secretAspects = { "Text" } }, - GetShadowColor = { }, - GetShadowOffset = { }, - GetSpacing = { }, - GetText = { secretAspects = { "Text" } }, - GetTextColor = { }, - GetTextInsets = { }, - GetUTF8CursorPosition = { secretAspects = { "Cursor", "Text" } }, - GetVisibleTextByteLimit = { }, - HasFocus = { }, - HasText = { }, - HighlightText = { secretArguments = "AllowedWhenUntainted" }, - Insert = { addsAspects = { "Text" }, secretArguments = "AllowedWhenUntainted" }, - IsAlphabeticOnly = { }, - IsAutoFocus = { }, - IsCountInvisibleLetters = { }, - IsEnabled = { }, - IsInIMECompositionMode = { }, - IsMultiLine = { }, - IsNumeric = { }, - IsNumericFullRange = { }, - IsPassword = { }, - IsSecureText = { secretAspects = { "SecureText" } }, - ResetInputMode = { }, - SetAlphabeticOnly = { secretArguments = "AllowedWhenUntainted" }, - SetAltArrowKeyMode = { secretArguments = "AllowedWhenUntainted" }, - SetAutoFocus = { secretArguments = "AllowedWhenUntainted" }, - SetBlinkSpeed = { secretArguments = "AllowedWhenUntainted" }, - SetCountInvisibleLetters = { secretArguments = "AllowedWhenUntainted" }, - SetCursorPosition = { addsAspects = { "Cursor" }, secretArguments = "AllowedWhenUntainted" }, - SetEnabled = { secretArguments = "AllowedWhenUntainted" }, - SetFocus = { }, - SetFont = { secretArguments = "AllowedWhenUntainted" }, - SetFontObject = { secretArguments = "AllowedWhenUntainted" }, - SetHighlightColor = { secretArguments = "AllowedWhenUntainted" }, - SetHistoryLines = { secretArguments = "AllowedWhenUntainted" }, - SetIndentedWordWrap = { secretArguments = "AllowedWhenUntainted" }, - SetJustifyH = { secretArguments = "AllowedWhenUntainted" }, - SetJustifyV = { secretArguments = "AllowedWhenUntainted" }, - SetMaxBytes = { secretArguments = "AllowedWhenUntainted" }, - SetMaxLetters = { secretArguments = "AllowedWhenUntainted" }, - SetMultiLine = { secretArguments = "AllowedWhenUntainted" }, - SetNumber = { addsAspects = { "Text" }, secretArguments = "AllowedWhenUntainted" }, - SetNumeric = { secretArguments = "AllowedWhenUntainted" }, - SetNumericFullRange = { secretArguments = "AllowedWhenUntainted" }, - SetPassword = { secretArguments = "AllowedWhenUntainted" }, - SetSecureText = { addsAspects = { "SecureText" }, secretArguments = "AllowedWhenUntainted" }, - SetSecurityDisablePaste = { }, - SetSecurityDisableSetText = { }, - SetShadowColor = { secretArguments = "AllowedWhenUntainted" }, - SetShadowOffset = { secretArguments = "AllowedWhenUntainted" }, - SetSpacing = { secretArguments = "AllowedWhenUntainted" }, - SetText = { addsAspects = { "Text" }, secretArguments = "AllowedWhenUntainted" }, - SetTextColor = { secretArguments = "AllowedWhenUntainted" }, - SetTextInsets = { secretArguments = "AllowedWhenUntainted" }, - SetVisibleTextByteLimit = { secretArguments = "AllowedWhenUntainted" }, - ToggleInputLanguage = { }, - }, - SimpleFontAPI = { - CopyFontObject = { secretArguments = "AllowedWhenUntainted" }, - GetAlpha = { }, - GetFont = { }, - GetFontHeight = { }, - GetFontObject = { }, - GetFontObjectForAlphabet = { secretArguments = "AllowedWhenUntainted" }, - GetIndentedWordWrap = { }, - GetJustifyH = { }, - GetJustifyV = { }, - GetShadowColor = { }, - GetShadowOffset = { }, - GetSpacing = { }, - GetTextColor = { }, - SetAlpha = { secretArguments = "AllowedWhenUntainted" }, - SetFont = { secretArguments = "AllowedWhenUntainted" }, - SetFontHeight = { secretArguments = "AllowedWhenUntainted" }, - SetFontObject = { secretArguments = "AllowedWhenUntainted" }, - SetIndentedWordWrap = { secretArguments = "AllowedWhenUntainted" }, - SetJustifyH = { secretArguments = "AllowedWhenUntainted" }, - SetJustifyV = { secretArguments = "AllowedWhenUntainted" }, - SetShadowColor = { secretArguments = "AllowedWhenUntainted" }, - SetShadowOffset = { secretArguments = "AllowedWhenUntainted" }, - SetSpacing = { secretArguments = "AllowedWhenUntainted" }, - SetTextColor = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleFontStringAPI = { - CalculateScreenAreaFromCharacterSpan = { secretArguments = "AllowedWhenUntainted", secretAspects = { "Text" }, secretWhen = { "AnchoringSecret" } }, - CanNonSpaceWrap = { }, - CanWordWrap = { }, - ClearAlphaGradient = { }, - ClearText = { }, - FindCharacterIndexAtCoordinate = { secretArguments = "AllowedWhenUntainted", secretAspects = { "Text" }, secretWhen = { "AnchoringSecret" } }, - GetAlphaGradient = { }, - GetFieldSize = { }, - GetFont = { }, - GetFontHeight = { secretArguments = "AllowedWhenUntainted" }, - GetFontObject = { }, - GetIndentedWordWrap = { }, - GetJustifyH = { }, - GetJustifyV = { }, - GetLineHeight = { }, - GetMaxLines = { }, - GetNumLines = { secretWhen = { "AnchoringSecret" } }, - GetRotation = { }, - GetScaleAnimationMode = { }, - GetShadowColor = { }, - GetShadowOffset = { }, - GetSmoothScaling = { }, - GetSpacing = { }, - GetStringHeight = { secretWhen = { "AnchoringSecret" } }, - GetStringWidth = { secretWhen = { "AnchoringSecret" } }, - GetText = { secretAspects = { "Text" } }, - GetTextColor = { secretAspects = { "VertexColor", "Alpha" } }, - GetTextScale = { }, - GetUnboundedStringWidth = { secretWhen = { "AnchoringSecret" } }, - GetUnboundedStringWidthForText = { secretArguments = "AllowedWhenUntainted", secretWhen = { "AnchoringSecret" } }, - GetWrappedWidth = { secretWhen = { "AnchoringSecret" } }, - IsTruncated = { secretWhen = { "AnchoringSecret" } }, - OnColorsUpdated = { }, - SetAlphaGradient = { secretArguments = "AllowedWhenUntainted" }, - SetDesaturateEmbeddedTextures = { secretArguments = "AllowedWhenUntainted" }, - SetFixedColor = { secretArguments = "AllowedWhenUntainted" }, - SetFont = { secretArguments = "AllowedWhenUntainted" }, - SetFontHeight = { secretArguments = "AllowedWhenUntainted" }, - SetFontObject = { secretArguments = "AllowedWhenUntainted" }, - SetFormattedText = { addsAspects = { "Text" }, secretArguments = "AllowedWhenTainted" }, - SetIndentedWordWrap = { secretArguments = "AllowedWhenUntainted" }, - SetJustifyH = { secretArguments = "AllowedWhenUntainted" }, - SetJustifyV = { secretArguments = "AllowedWhenUntainted" }, - SetMaxLines = { secretArguments = "AllowedWhenUntainted" }, - SetNonSpaceWrap = { secretArguments = "AllowedWhenUntainted" }, - SetRotation = { secretArguments = "AllowedWhenUntainted" }, - SetScaleAnimationMode = { secretArguments = "NotAllowed" }, - SetShadowColor = { secretArguments = "AllowedWhenUntainted" }, - SetShadowOffset = { secretArguments = "AllowedWhenUntainted" }, - SetSmoothScaling = { secretArguments = "AllowedWhenUntainted" }, - SetSpacing = { secretArguments = "AllowedWhenUntainted" }, - SetText = { addsAspects = { "Text" }, secretArguments = "AllowedWhenTainted" }, - SetTextColor = { addsAspects = { "VertexColor", "Alpha" }, secretArguments = "AllowedWhenTainted" }, - SetTextHeight = { secretArguments = "AllowedWhenUntainted" }, - SetTextScale = { secretArguments = "AllowedWhenUntainted" }, - SetTextToFit = { addsAspects = { "Text" }, secretArguments = "AllowedWhenTainted" }, - SetWordWrap = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleFrameAPI = { - AbortDrag = { }, - AddRoleset = { protected = true, secretArguments = "AllowedWhenUntainted" }, - CanChangeAttribute = { secretAspects = { "ObjectSecurity" } }, - ClearAlphaGradient = { }, - ClearAttribute = { protected = true, secretArguments = "NotAllowed", secretAspects = { "Attributes" } }, - ClearAttributes = { protected = true }, - CreateFontString = { secretArguments = "NotAllowed" }, - CreateLine = { secretArguments = "NotAllowed" }, - CreateMaskTexture = { secretArguments = "NotAllowed" }, - CreateTexture = { secretArguments = "NotAllowed" }, - CreateVectorGraphics = { secretArguments = "NotAllowed" }, - DesaturateHierarchy = { secretArguments = "NotAllowed" }, - DisableDrawLayer = { secretArguments = "AllowedWhenUntainted" }, - DoesClipChildren = { }, - DoesHyperlinkPropagateToParent = { }, - EnableDrawLayer = { secretArguments = "AllowedWhenUntainted" }, - EnableGamePadButton = { protected = true, secretArguments = "NotAllowed" }, - EnableGamePadStick = { protected = true, secretArguments = "NotAllowed" }, - EnableKeyboard = { protected = true, secretArguments = "NotAllowed" }, - ExecuteAttribute = { secretArguments = "AllowedWhenUntainted", secretAspects = { "Attributes" } }, - GetAlpha = { secretAspects = { "Alpha" } }, - GetAttribute = { secretArguments = "AllowedWhenUntainted", secretAspects = { "Attributes" } }, - GetBoundsRect = { }, - GetChildren = { secretAspects = { "Hierarchy" } }, - GetClampRectInsets = { }, - GetDontSavePosition = { }, - GetEffectiveAlpha = { secretAspects = { "Alpha" } }, - GetEffectiveScale = { secretAspects = { "Scale" } }, - GetEffectivelyFlattensRenderLayers = { }, - GetFlattensRenderLayers = { }, - GetFrameLevel = { secretAspects = { "FrameLevel" } }, - GetFrameStrata = { secretAspects = { "FrameStrata" } }, - GetHighestFrameLevel = { secretArguments = "AllowedWhenUntainted" }, - GetHitRectInsets = { }, - GetHyperlinksEnabled = { }, - GetID = { secretAspects = { "ID" } }, - GetNumChildren = { secretAspects = { "Hierarchy" } }, - GetNumRegions = { secretAspects = { "Hierarchy" } }, - GetOnUpdateMode = { }, - GetPropagateKeyboardInput = { }, - GetRaisedFrameLevel = { }, - GetRegions = { secretAspects = { "Hierarchy" } }, - GetResizeBounds = { }, - GetRolesetNames = { }, - GetScale = { secretAspects = { "Scale" } }, - GetWindow = { }, - HasAlphaGradient = { }, - HasFixedFrameLevel = { }, - HasFixedFrameStrata = { }, - Hide = { protected = true }, - InterceptStartDrag = { secretArguments = "AllowedWhenUntainted" }, - IsClampedToScreen = { }, - IsDrawLayerEnabled = { secretArguments = "AllowedWhenUntainted" }, - IsEventRegistered = { secretArguments = "AllowedWhenUntainted" }, - IsFrameBuffer = { }, - IsGamePadButtonEnabled = { }, - IsGamePadStickEnabled = { }, - IsHighlightLocked = { }, - IsIgnoringChildrenForBounds = { }, - IsIgnoringParentAlpha = { }, - IsIgnoringParentScale = { }, - IsKeyboardEnabled = { }, - IsMovable = { }, - IsObjectLoaded = { }, - IsResizable = { }, - IsRolesetFiltered = { }, - IsShown = { secretAspects = { "Shown" } }, - IsToplevel = { secretAspects = { "Toplevel" } }, - IsUserPlaced = { }, - IsUsingParentLevel = { }, - IsVisible = { secretAspects = { "Shown" } }, - LockHighlight = { }, - Lower = { protected = true }, - Raise = { protected = true }, - RegisterAllEvents = { }, - RegisterEvent = { secretArguments = "AllowedWhenUntainted" }, - RegisterEventCallback = { secretArguments = "AllowedWhenUntainted" }, - RegisterForDrag = { secretArguments = "AllowedWhenUntainted" }, - RegisterUnitEvent = { secretArguments = "AllowedWhenUntainted" }, - RegisterUnitEventCallback = { secretArguments = "AllowedWhenUntainted" }, - RemoveRoleset = { protected = true, secretArguments = "AllowedWhenUntainted" }, - ResizeToBoundsRect = { protected = true }, - RotateTextures = { secretArguments = "AllowedWhenUntainted" }, - SetAlpha = { addsAspects = { "Alpha" }, secretArguments = "AllowedWhenTainted" }, - SetAlphaFromBoolean = { addsAspects = { "Alpha" }, secretArguments = "AllowedWhenTainted" }, - SetAlphaGradient = { secretArguments = "AllowedWhenUntainted" }, - SetAttribute = { secretArguments = "AllowedWhenUntainted", secretAspects = { "Attributes" } }, - SetAttributeNoHandler = { secretArguments = "AllowedWhenUntainted", secretAspects = { "Attributes" } }, - SetClampRectInsets = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetClampedToScreen = { protected = true, secretArguments = "NotAllowed" }, - SetClipsChildren = { secretArguments = "AllowedWhenUntainted" }, - SetDontSavePosition = { secretArguments = "AllowedWhenUntainted" }, - SetDrawLayerEnabled = { secretArguments = "AllowedWhenUntainted" }, - SetFixedFrameLevel = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetFixedFrameStrata = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetFlattensRenderLayers = { secretArguments = "AllowedWhenUntainted" }, - SetFrameLevel = { addsAspects = { "FrameLevel" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetFrameStrata = { addsAspects = { "FrameStrata" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetHighlightLocked = { secretArguments = "AllowedWhenUntainted" }, - SetHitRectInsets = { protected = true, secretArguments = "NotAllowed" }, - SetHyperlinkPropagateToParent = { secretArguments = "AllowedWhenUntainted" }, - SetHyperlinksEnabled = { protected = true, secretArguments = "NotAllowed" }, - SetID = { addsAspects = { "ID" }, protected = true, secretArguments = "AllowedWhenTainted" }, - SetIgnoreParentAlpha = { secretArguments = "AllowedWhenUntainted" }, - SetIgnoreParentScale = { protected = true, secretArguments = "NotAllowed" }, - SetIgnoringChildrenForBounds = { secretArguments = "AllowedWhenUntainted" }, - SetIsFrameBuffer = { secretArguments = "NotAllowed" }, - SetMovable = { secretArguments = "AllowedWhenUntainted" }, - SetOnUpdateMode = { secretArguments = "AllowedWhenUntainted" }, - SetPropagateKeyboardInput = { secretArguments = "AllowedWhenUntainted" }, - SetResizable = { secretArguments = "AllowedWhenUntainted" }, - SetResizeBounds = { secretArguments = "AllowedWhenUntainted" }, - SetRolesets = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetScale = { addsAspects = { "Scale" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetShown = { addsAspects = { "Shown" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetToplevel = { addsAspects = { "Toplevel" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetUserPlaced = { secretArguments = "AllowedWhenUntainted" }, - SetUsingParentLevel = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetWindow = { secretArguments = "AllowedWhenUntainted" }, - Show = { protected = true }, - StartMoving = { protected = true, secretArguments = "AllowedWhenUntainted" }, - StartSizing = { protected = true, secretArguments = "AllowedWhenUntainted" }, - StopMovingOrSizing = { protected = true }, - UnlockHighlight = { }, - UnregisterAllEvents = { }, - UnregisterEvent = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleFrameScriptObjectAPI = { - AddAccessRestrictions = { secretArguments = "NotAllowed" }, - AddForbiddenAspects = { secretArguments = "NotAllowed" }, - AddSecretAspect = { secretArguments = "AllowedWhenUntainted" }, - CanBeAccessedInContext = { secretAspects = { "ObjectSecurity" } }, - GetAccessRestrictions = { secretAspects = { "ObjectSecurity" } }, - GetForbiddenAspects = { secretAspects = { "ObjectSecurity" } }, - GetInheritableForbiddenAspects = { secretArguments = "NotAllowed", secretAspects = { "ObjectSecurity" } }, - GetName = { secretAspects = { "ObjectName" } }, - GetObjectTable = { }, - GetObjectType = { secretAspects = { "ObjectType" } }, - HasAccessConstraints = { secretAspects = { "ObjectSecurity" } }, - HasAnyAccessRestrictions = { secretArguments = "AllowedWhenUntainted", secretAspects = { "ObjectSecurity" } }, - HasAnyForbiddenAspects = { secretArguments = "AllowedWhenUntainted", secretAspects = { "ObjectSecurity" } }, - HasAnySecretAspect = { secretAspects = { "ObjectSecrets" } }, - HasSecretAspect = { secretArguments = "AllowedWhenUntainted", secretAspects = { "ObjectSecrets" } }, - HasSecretValues = { secretAspects = { "ObjectSecrets" } }, - IsForbidden = { secretAspects = { "ObjectSecurity" } }, - IsObjectType = { secretArguments = "AllowedWhenUntainted", secretAspects = { "ObjectType" } }, - IsPreventingSecretValues = { secretAspects = { "ObjectSecrets" } }, - SetForbidden = { }, - SetToDefaults = { protected = true }, - }, - SimpleLineAPI = { - ClearAllPoints = { protected = true }, - GetEndPoint = { }, - GetHitRectThickness = { }, - GetStartPoint = { }, - GetThickness = { }, - SetEndPoint = { secretArguments = "AllowedWhenUntainted" }, - SetHitRectThickness = { secretArguments = "AllowedWhenUntainted" }, - SetStartPoint = { secretArguments = "AllowedWhenUntainted" }, - SetThickness = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleModelAPI = { - AdvanceTime = { }, - ClearFog = { }, - ClearModel = { }, - ClearTransform = { }, - GetCameraDistance = { }, - GetCameraFacing = { }, - GetCameraPosition = { }, - GetCameraRoll = { }, - GetCameraTarget = { }, - GetDesaturation = { }, - GetFacing = { }, - GetFogColor = { }, - GetFogFar = { }, - GetFogNear = { }, - GetLight = { }, - GetModelAlpha = { }, - GetModelDrawLayer = { }, - GetModelFileID = { }, - GetModelScale = { }, - GetPaused = { }, - GetPitch = { }, - GetPosition = { }, - GetRoll = { }, - GetShadowEffect = { }, - GetViewInsets = { }, - GetViewTranslation = { }, - GetWorldScale = { }, - HasAttachmentPoints = { }, - HasCustomCamera = { }, - IsUsingModelCenterToTransform = { }, - MakeCurrentCameraCustom = { }, - ReplaceIconTexture = { secretArguments = "AllowedWhenUntainted" }, - SetCamera = { secretArguments = "AllowedWhenUntainted" }, - SetCameraDistance = { secretArguments = "AllowedWhenUntainted" }, - SetCameraFacing = { secretArguments = "AllowedWhenUntainted" }, - SetCameraPosition = { secretArguments = "AllowedWhenUntainted" }, - SetCameraRoll = { secretArguments = "AllowedWhenUntainted" }, - SetCameraTarget = { secretArguments = "AllowedWhenUntainted" }, - SetCustomCamera = { secretArguments = "AllowedWhenUntainted" }, - SetDesaturation = { secretArguments = "AllowedWhenUntainted" }, - SetFacing = { secretArguments = "AllowedWhenUntainted" }, - SetFogColor = { secretArguments = "AllowedWhenUntainted" }, - SetFogFar = { secretArguments = "AllowedWhenUntainted" }, - SetFogNear = { secretArguments = "AllowedWhenUntainted" }, - SetGlow = { secretArguments = "AllowedWhenUntainted" }, - SetGradientMask = { secretArguments = "AllowedWhenUntainted" }, - SetLight = { secretArguments = "AllowedWhenUntainted" }, - SetModel = { secretArguments = "AllowedWhenUntainted" }, - SetModelAlpha = { secretArguments = "AllowedWhenUntainted" }, - SetModelDrawLayer = { secretArguments = "AllowedWhenUntainted" }, - SetModelScale = { secretArguments = "AllowedWhenUntainted" }, - SetParticlesEnabled = { secretArguments = "AllowedWhenUntainted" }, - SetPaused = { secretArguments = "AllowedWhenUntainted" }, - SetPitch = { secretArguments = "AllowedWhenUntainted" }, - SetPosition = { secretArguments = "AllowedWhenUntainted" }, - SetRoll = { secretArguments = "AllowedWhenUntainted" }, - SetSequence = { secretArguments = "AllowedWhenUntainted" }, - SetSequenceTime = { secretArguments = "AllowedWhenUntainted" }, - SetShadowEffect = { secretArguments = "AllowedWhenUntainted" }, - SetTransform = { secretArguments = "AllowedWhenUntainted" }, - SetUseGBuffer = { secretArguments = "AllowedWhenUntainted" }, - SetViewInsets = { secretArguments = "AllowedWhenUntainted" }, - SetViewTranslation = { secretArguments = "AllowedWhenUntainted" }, - TransformCameraSpaceToModelSpace = { secretArguments = "AllowedWhenUntainted" }, - UseModelCenterToTransform = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleObjectAPI = { - ClearParentKey = { }, - GetDebugName = { secretArguments = "AllowedWhenUntainted" }, - GetParent = { secretAspects = { "Hierarchy" } }, - GetParentKey = { }, - SetParentKey = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleRegionAPI = { - GetAlpha = { secretAspects = { "Alpha" } }, - GetDrawLayer = { }, - GetEffectiveScale = { secretAspects = { "Scale" } }, - GetScale = { secretAspects = { "Scale" } }, - GetVertexColor = { secretAspects = { "VertexColor", "Alpha" } }, - IsIgnoringParentAlpha = { }, - IsIgnoringParentScale = { }, - IsObjectLoaded = { }, - SetAlpha = { addsAspects = { "Alpha" }, secretArguments = "AllowedWhenTainted" }, - SetAlphaFromBoolean = { addsAspects = { "Alpha" }, secretArguments = "AllowedWhenTainted" }, - SetDrawLayer = { secretArguments = "AllowedWhenUntainted" }, - SetIgnoreParentAlpha = { secretArguments = "AllowedWhenUntainted" }, - SetIgnoreParentScale = { protected = true, secretArguments = "NotAllowed" }, - SetScale = { addsAspects = { "Scale" }, protected = true, secretArguments = "AllowedWhenUntainted" }, - SetVertexColor = { addsAspects = { "VertexColor", "Alpha" }, secretArguments = "AllowedWhenTainted" }, - SetVertexColorFromBoolean = { addsAspects = { "VertexColor", "Alpha" }, secretArguments = "AllowedWhenTainted" }, - }, - SimpleScriptRegionAPI = { - CanChangeProtectedState = { secretAspects = { "ObjectSecurity" } }, - CanPropagateMouseClicks = { }, - CanPropagateMouseMotion = { }, - ClearScripts = { }, - CollapsesLayout = { }, - EnableMouse = { protected = true, secretArguments = "NotAllowed" }, - EnableMouseMotion = { protected = true, secretArguments = "NotAllowed" }, - EnableMouseWheel = { protected = true, secretArguments = "NotAllowed" }, - FocusEnter = { protected = true, secretArguments = "NotAllowed" }, - FocusExit = { protected = true, secretArguments = "NotAllowed" }, - GetBottom = { secretWhen = { "AnchoringSecret" } }, - GetCenter = { secretWhen = { "AnchoringSecret" } }, - GetHeight = { secretArguments = "AllowedWhenUntainted", secretWhen = { "AnchoringSecret" } }, - GetLeft = { secretWhen = { "AnchoringSecret" } }, - GetRect = { secretWhen = { "AnchoringSecret" } }, - GetRight = { secretWhen = { "AnchoringSecret" } }, - GetRoundLayoutToNearestPixel = { }, - GetScaledRect = { secretWhen = { "AnchoringSecret" } }, - GetScript = { secretArguments = "AllowedWhenUntainted" }, - GetSize = { secretArguments = "AllowedWhenUntainted", secretWhen = { "AnchoringSecret" } }, - GetSourceLocation = { secretAspects = { "ObjectDebug" } }, - GetTop = { secretWhen = { "AnchoringSecret" } }, - GetWidth = { secretArguments = "AllowedWhenUntainted", secretWhen = { "AnchoringSecret" } }, - HasScript = { secretArguments = "AllowedWhenUntainted", secretAspects = { "ObjectType" } }, - Hide = { }, - HookScript = { secretArguments = "AllowedWhenUntainted" }, - Intersects = { secretArguments = "AllowedWhenUntainted", secretWhen = { "AnchoringSecret" } }, - IsAnchoringRestricted = { secretAspects = { "ObjectSecurity" } }, - IsAnchoringSecret = { secretAspects = { "ObjectSecrets" } }, - IsCollapsed = { }, - IsDragging = { }, - IsMouseClickEnabled = { }, - IsMouseEnabled = { }, - IsMouseMotionEnabled = { }, - IsMouseMotionFocus = { }, - IsMouseOver = { secretArguments = "AllowedWhenUntainted", secretWhen = { "AnchoringSecret" } }, - IsMouseWheelEnabled = { }, - IsProtected = { secretAspects = { "ObjectSecurity" } }, - IsRectValid = { }, - IsShown = { secretAspects = { "Shown" } }, - IsVisible = { secretAspects = { "Shown" } }, - MouseDown = { protected = true, secretArguments = "NotAllowed" }, - MouseUp = { protected = true, secretArguments = "NotAllowed" }, - SetCollapsesLayout = { protected = true, secretArguments = "NotAllowed" }, - SetMouseClickEnabled = { protected = true, secretArguments = "NotAllowed" }, - SetMouseMotionEnabled = { protected = true, secretArguments = "NotAllowed" }, - SetParent = { protected = true, secretArguments = "NotAllowed" }, - SetPassThroughButtons = { protected = true, secretArguments = "NotAllowed" }, - SetPropagateMouseClicks = { protected = true, secretArguments = "NotAllowed" }, - SetPropagateMouseMotion = { protected = true, secretArguments = "NotAllowed" }, - SetRoundLayoutToNearestPixel = { protected = true, secretArguments = "NotAllowed" }, - SetScript = { secretArguments = "AllowedWhenUntainted" }, - SetShown = { addsAspects = { "Shown" }, secretArguments = "AllowedWhenUntainted" }, - ShouldButtonPassThrough = { secretArguments = "AllowedWhenUntainted" }, - Show = { }, - }, - SimpleScriptRegionResizingAPI = { - AdjustPointsOffset = { protected = true, secretArguments = "AllowedWhenUntainted" }, - ClearAllPoints = { protected = true }, - ClearPoint = { protected = true, secretArguments = "AllowedWhenUntainted" }, - ClearPointsOffset = { protected = true }, - GetNumPoints = { }, - GetPoint = { secretArguments = "AllowedWhenUntainted", secretWhen = { "AnchoringSecret" } }, - GetPointByName = { secretArguments = "AllowedWhenUntainted", secretWhen = { "AnchoringSecret" } }, - SetAllPoints = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetHeight = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetPoint = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetPointsOffset = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetSize = { protected = true, secretArguments = "AllowedWhenUntainted" }, - SetWidth = { protected = true, secretArguments = "AllowedWhenUntainted" }, - }, - SimpleSliderAPI = { - Disable = { }, - Enable = { }, - GetMinMaxValues = { }, - GetObeyStepOnDrag = { }, - GetOrientation = { }, - GetStepsPerPage = { }, - GetThumbTexture = { }, - GetValue = { }, - GetValueStep = { }, - IsDraggingThumb = { }, - IsEnabled = { }, - SetEnabled = { secretArguments = "AllowedWhenUntainted" }, - SetMinMaxValues = { secretArguments = "AllowedWhenUntainted" }, - SetObeyStepOnDrag = { secretArguments = "AllowedWhenUntainted" }, - SetOrientation = { secretArguments = "AllowedWhenUntainted" }, - SetStepsPerPage = { secretArguments = "AllowedWhenUntainted" }, - SetThumbTexture = { secretArguments = "AllowedWhenUntainted" }, - SetValue = { secretArguments = "AllowedWhenUntainted" }, - SetValueStep = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleStatusBarAPI = { - GetFillStyle = { }, - GetInterpolatedValue = { secretAspects = { "BarValue" } }, - GetMinMaxValues = { secretAspects = { "BarValue" } }, - GetOrientation = { }, - GetRenderMode = { }, - GetReverseFill = { }, - GetRotatesTexture = { }, - GetStatusBarColor = { secretAspects = { "VertexColor", "Alpha" } }, - GetStatusBarDesaturation = { secretAspects = { "Desaturation" } }, - GetStatusBarTexture = { }, - GetTimerDuration = { }, - GetValue = { secretAspects = { "BarValue" } }, - IsInterpolating = { secretAspects = { "BarValue" } }, - IsStatusBarDesaturated = { secretAspects = { "Desaturation" } }, - SetColorFill = { secretArguments = "AllowedWhenUntainted" }, - SetFillStyle = { secretArguments = "AllowedWhenUntainted" }, - SetMinMaxValues = { addsAspects = { "BarValue" }, secretArguments = "AllowedWhenTainted" }, - SetOrientation = { secretArguments = "AllowedWhenUntainted" }, - SetRenderMode = { secretArguments = "AllowedWhenUntainted" }, - SetReverseFill = { secretArguments = "AllowedWhenUntainted" }, - SetRotatesTexture = { secretArguments = "AllowedWhenUntainted" }, - SetStatusBarColor = { addsAspects = { "VertexColor", "Alpha" }, secretArguments = "AllowedWhenTainted" }, - SetStatusBarDesaturated = { addsAspects = { "Desaturation" }, secretArguments = "AllowedWhenTainted" }, - SetStatusBarDesaturation = { addsAspects = { "Desaturation" }, secretArguments = "AllowedWhenTainted" }, - SetStatusBarTexture = { secretArguments = "AllowedWhenUntainted" }, - SetTimerDuration = { secretArguments = "AllowedWhenUntainted" }, - SetToTargetValue = { }, - SetValue = { addsAspects = { "BarValue" }, secretArguments = "AllowedWhenTainted" }, - }, - SimpleTextureAPI = { - AddMaskTexture = { secretArguments = "AllowedWhenUntainted" }, - GetMaskTexture = { secretArguments = "AllowedWhenUntainted", secretAspects = { "Hierarchy" } }, - GetNumMaskTextures = { secretAspects = { "Hierarchy" } }, - RemoveMaskTexture = { secretArguments = "AllowedWhenUntainted" }, - }, - SimpleTextureBaseAPI = { - ClearRadialProgressBar = { }, - ClearSVG = { }, - ClearTextureSlice = { }, - ClearVertexOffsets = { }, - GetAtlas = { }, - GetBlendMode = { }, - GetDesaturation = { secretAspects = { "Desaturation" } }, - GetHorizTile = { }, - GetRadialProgressBarEndOffset = { }, - GetRadialProgressBarFeather = { }, - GetRadialProgressBarPercent = { secretAspects = { "RadialProgress" } }, - GetRadialProgressBarReverse = { }, - GetRadialProgressBarStartOffset = { }, - GetRotation = { secretAspects = { "Rotation" } }, - GetTexCoord = { secretAspects = { "TexCoords" } }, - GetTexelSnappingBias = { }, - GetTexture = { }, - GetTextureFileID = { }, - GetTextureFilePath = { }, - GetTextureSliceMargins = { }, - GetTextureSliceMode = { }, - GetVertTile = { }, - GetVertexOffset = { secretArguments = "AllowedWhenUntainted" }, - IsBlockingLoadRequested = { }, - IsDesaturated = { secretAspects = { "Desaturation" } }, - IsSnappingToPixelGrid = { }, - ResetTexCoord = { }, - SetAtlas = { secretArguments = "AllowedWhenTainted" }, - SetBlendMode = { secretArguments = "AllowedWhenUntainted" }, - SetBlockingLoadsRequested = { secretArguments = "AllowedWhenUntainted" }, - SetColorTexture = { secretArguments = "AllowedWhenTainted" }, - SetDesaturated = { addsAspects = { "Desaturation" }, secretArguments = "AllowedWhenTainted" }, - SetDesaturation = { addsAspects = { "Desaturation" }, secretArguments = "AllowedWhenTainted" }, - SetGradient = { secretArguments = "AllowedWhenUntainted" }, - SetHorizTile = { secretArguments = "AllowedWhenUntainted" }, - SetMask = { secretArguments = "AllowedWhenUntainted" }, - SetRadialProgressBarEndOffset = { secretArguments = "AllowedWhenUntainted" }, - SetRadialProgressBarFeather = { secretArguments = "AllowedWhenUntainted" }, - SetRadialProgressBarPercent = { addsAspects = { "RadialProgress" }, secretArguments = "AllowedWhenTainted" }, - SetRadialProgressBarReverse = { secretArguments = "AllowedWhenUntainted" }, - SetRadialProgressBarStartOffset = { secretArguments = "AllowedWhenUntainted" }, - SetRotation = { addsAspects = { "Rotation" }, secretArguments = "AllowedWhenTainted" }, - SetSVG = { secretArguments = "AllowedWhenTainted" }, - SetSnapToPixelGrid = { secretArguments = "AllowedWhenUntainted" }, - SetSpriteSheetCell = { addsAspects = { "TexCoords" }, secretArguments = "AllowedWhenTainted" }, - SetTexCoord = { addsAspects = { "TexCoords" }, secretArguments = "AllowedWhenTainted" }, - SetTexelSnappingBias = { secretArguments = "AllowedWhenUntainted" }, - SetTexture = { secretArguments = "AllowedWhenTainted" }, - SetTextureSliceMargins = { secretArguments = "AllowedWhenUntainted" }, - SetTextureSliceMode = { secretArguments = "AllowedWhenUntainted" }, - SetVertTile = { secretArguments = "AllowedWhenUntainted" }, - SetVertexOffset = { secretArguments = "AllowedWhenUntainted" }, - }, - UnitHealPredictionCalculatorAPI = { - EvaluateCurrentHealthPercent = { secretArguments = "AllowedWhenUntainted" }, - EvaluateMissingHealthPercent = { secretArguments = "AllowedWhenUntainted" }, - GetCurrentHealth = { }, - GetCurrentHealthPercent = { }, - GetDamageAbsorbClampMode = { }, - GetDamageAbsorbs = { }, - GetHealAbsorbClampMode = { }, - GetHealAbsorbMode = { }, - GetHealAbsorbs = { }, - GetIncomingHealClampMode = { }, - GetIncomingHealOverflowPercent = { }, - GetIncomingHeals = { }, - GetMaximumDamageAbsorbs = { }, - GetMaximumHealAbsorbs = { }, - GetMaximumHealth = { }, - GetMaximumHealthMode = { }, - GetMaximumIncomingHeals = { }, - GetMissingHealth = { }, - GetMissingHealthPercent = { }, - GetPredictedValues = { }, - GetTotalDamageAbsorbs = { }, - GetTotalHealAbsorbs = { }, - GetTotalIncomingHeals = { }, - GetTotalIncomingHealsFromHealer = { }, - HasSecretValues = { }, - Reset = { }, - ResetPredictedValues = { }, - SetDamageAbsorbClampMode = { secretArguments = "NotAllowed" }, - SetHealAbsorbClampMode = { secretArguments = "NotAllowed" }, - SetHealAbsorbMode = { secretArguments = "NotAllowed" }, - SetIncomingHealClampMode = { secretArguments = "NotAllowed" }, - SetIncomingHealOverflowPercent = { secretArguments = "NotAllowed" }, - SetMaximumHealthMode = { secretArguments = "NotAllowed" }, - SetPredictedValues = { secretArguments = "AllowedWhenUntainted" }, - SetToDefaults = { }, - }, - }, - lua = { - auraFilters = { - BIG_DEFENSIVE = true, - CANCELABLE = true, - CROWD_CONTROL = true, - DISPELLABLE = true, - EXTERNAL_DEFENSIVE = true, - HARMFUL = true, - HELPFUL = true, - IMPORTANT = true, - INCLUDE_NAME_PLATE_ONLY = true, - MAW = true, - PLAYER = true, - RAID = true, - RAID_IN_COMBAT = true, - RAID_PLAYER_DISPELLABLE = true, - }, - called = { - [":Assign"] = "Interface/AddOns/Blizzard_AuraContainer/Blizzard_CustomAuraButton.lua", - [":CreateAnimation"] = "Interface/AddOns/Blizzard_HelpPlate/Blizzard_HelpPlate.lua", - [":CreateAnimationGroup"] = "Interface/AddOns/Blizzard_HelpPlate/Blizzard_HelpPlate.lua", - [":CreateButton"] = "Interface/AddOns/Blizzard_AddOnList/AddonList.lua", - [":CreateCheckbox"] = "Interface/AddOns/Blizzard_AuctionHouseUI/Shared/Blizzard_AuctionHouseSearchBar.lua", - [":CreateFontString"] = "Interface/AddOns/Blizzard_DebugTools/Blizzard_TexelSnappingVisualizer.lua", - [":CreateLine"] = "Interface/AddOns/Blizzard_EditMode/Shared/EditModeUtil.lua", - [":CreateRadio"] = "Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua", - [":CreateTexture"] = "Interface/AddOns/Blizzard_ActionBar/WoWLabs/ActionButtonOverrides.lua", - [":CreateTitle"] = "Interface/AddOns/Blizzard_AddOnList/AddonList.lua", - [":Evaluate"] = "Interface/AddOns/Blizzard_EncounterTimeline/EncounterTimelineTimerEvent.lua", - [":GetAlpha"] = "Interface/AddOns/Blizzard_AdventureMap/Blizzard_AdventureMapInset.lua", - [":GetEffectiveAlpha"] = "Interface/AddOns/Blizzard_HousingMarketCart/Blizzard_HousingMarketCartTemplates.lua", - [":GetMinMaxValues"] = "Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua", - [":GetSmoothProgress"] = "Interface/AddOns/Blizzard_BuffFrame/BuffFrame.lua", - [":GetStringWidth"] = "Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua", - [":HookScript"] = "Interface/AddOns/Blizzard_AddOnList/AddonList.lua", - [":IsEventRegistered"] = "Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrameOverrides.lua", - [":LockHighlight"] = "Interface/AddOns/Blizzard_AccountStore/Blizzard_AccountStoreCardTemplates.lua", - [":RegisterForClicks"] = "Interface/AddOns/Blizzard_ActionBar/Shared/ActionButton.lua", - [":RegisterForDrag"] = "Interface/AddOns/Blizzard_ActionBar/Shared/ActionButton.lua", - [":RegisterUnitEvent"] = "Interface/AddOns/Blizzard_ActionBar/Shared/ActionButton.lua", - [":SetColorTexture"] = "Interface/AddOns/Blizzard_AdventureMap/Blizzard_AdventureMap.lua", - [":SetDesaturation"] = "Interface/AddOns/Blizzard_ArtifactUI/Blizzard_ArtifactPerks.lua", - [":SetDrawBling"] = "Interface/AddOns/Blizzard_Transmog/Blizzard_Transmog.lua", - [":SetDrawEdge"] = "Interface/AddOns/Blizzard_CooldownViewer/CooldownViewer.lua", - [":SetDrawSwipe"] = "Interface/AddOns/Blizzard_Commentator/Classic/Blizzard_CommentatorSpell.lua", - [":SetFixedFrameLevel"] = "Interface/AddOns/Blizzard_SharedTalentUI/Blizzard_SharedTalentFrame.lua", - [":SetFixedFrameStrata"] = "Interface/AddOns/Blizzard_UnitFrame/Shared/PlayerFrame.lua", - [":SetHighlightTexture"] = "Interface/AddOns/Blizzard_ActionBar/Shared/VehicleLeaveButton.lua", - [":SetIgnoreParentAlpha"] = "Interface/AddOns/Blizzard_GamepadActionBars/PageUnit.lua", - [":SetMouseClickEnabled"] = "Interface/AddOns/Blizzard_CatalogShopSharedTemplates/Blizzard_CatalogShop_SharedProductCards.lua", - [":SetMouseMotionEnabled"] = "Interface/AddOns/Blizzard_CooldownViewer/CooldownViewer.lua", - [":SetReverse"] = "Interface/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua", - [":SetRolesets"] = "Interface/AddOns/Blizzard_ChatFrameBase/Mainline/FloatingChatFrame.lua", - [":SetStatusBarTexture"] = "Interface/AddOns/Blizzard_Contribution/Blizzard_Contribution.lua", - [":SetTexCoord"] = "Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua", - [":SetTextureSliceMargins"] = "Interface/AddOns/Blizzard_AuraContainer/Blizzard_AuraContainerUtil.lua", - [":SetTextureSliceMode"] = "Interface/AddOns/Blizzard_AuraContainer/Blizzard_AuraContainerUtil.lua", - [":SetTimerDuration"] = "Interface/AddOns/Blizzard_AuraContainer/Blizzard_CustomAuraButton.lua", - [":UnlockHighlight"] = "Interface/AddOns/Blizzard_AccountStore/Blizzard_AccountStoreCardTemplates.lua", - [":byte"] = "Interface/AddOns/Blizzard_SharedXMLBase/AnchorUtil.lua", - [":callback"] = "Interface/AddOns/Blizzard_ChatFrame/Shared/TextToSpeechCommands.lua", - [":find"] = "Interface/AddOns/Blizzard_AddOnList/AddonList.lua", - [":format"] = "Interface/AddOns/Blizzard_AccountStore/Blizzard_AccountStoreCardTemplates.lua", - [":gmatch"] = "Interface/AddOns/Blizzard_Console/Blizzard_Console.lua", - [":gsub"] = "Interface/AddOns/Blizzard_ChatFrame/Shared/TextToSpeechCommands.lua", - [":lower"] = "Interface/AddOns/Blizzard_AccountStore/Blizzard_AccountStoreCardTemplates.lua", - [":match"] = "Interface/AddOns/Blizzard_ChatFrame/Shared/TextToSpeechFrame.lua", - [":new"] = "Interface/AddOns/Blizzard_BoostTutorial/Blizzard_TutorialLogic.lua", - [":sub"] = "Interface/AddOns/Blizzard_AutoComplete/AutoComplete.lua", - [":update"] = "Interface/AddOns/Blizzard_GroupFinder/Mainline/PVEFrame.lua", - API = "Interface/AddOns/Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua", - AddPoint = "Interface/AddOns/Blizzard_LegacySystem/Blizzard_LegacySystem.lua", - BOTTOMRIGHT = "Interface/AddOns/Blizzard_Settings_Shared/Blizzard_ImplementationReadme.lua", - BUTTON = "Interface/AddOns/Blizzard_Settings_Shared/Blizzard_Keybindings.lua", - Chain = "Interface/AddOns/Blizzard_PTRFeedback/Blizzard_Reports.lua", - ClearText = "Interface/AddOns/Blizzard_PlayerSpells/Blizzard_PlayerSpellsFrame.lua", - CreateButton = "Interface/AddOns/Blizzard_CooldownViewer/CooldownViewerUtil.lua", - CreateContextMenu = "Interface/AddOns/Blizzard_Collections/Classic/Blizzard_MountCollection.lua", - CreateFont = "Interface/AddOns/Blizzard_SharedXML/FontableFrameMixin.lua", - CreateFrame = "Interface/AddOns/Blizzard_AccountStore/Blizzard_AccountStoreItemDisplay.lua", - CreateLine = "Interface/AddOns/Blizzard_MapCanvas/MapCanvas_ScrollContainerMixin.lua", - CreateRadio = "Interface/AddOns/Blizzard_FriendsFrame/Camelot/FriendsFrame.lua", - Factory = "Interface/AddOns/Blizzard_Menu/Menu.lua", - GenerateMenu = "Interface/AddOns/Blizzard_Menu/11_0_0_MenuImplementationGuide.lua", - GetHeight = "Interface/AddOns/Blizzard_ObjectiveTracker/Blizzard_ObjectiveTrackerBlock.lua", - GetMacroInfo = "Interface/AddOns/Blizzard_ClickBindingUI/Blizzard_ClickBindingUI.lua", - GetName = "Interface/AddOns/Blizzard_ItemUpgradeUI/Mainline/Blizzard_ItemUpgradeUI.lua", - GetNumGroupMembers = "Interface/AddOns/Blizzard_Calendar/Mainline/Blizzard_Calendar.lua", - GetNumMacros = "Interface/AddOns/Blizzard_MacroUI/Blizzard_MacroIconSelector.lua", - GetRaidRosterInfo = "Interface/AddOns/Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameContainer.lua", - GetSize = "Interface/AddOns/Blizzard_SharedXML/LayoutFrame.lua", - GetSpellCooldown = "Interface/AddOns/Blizzard_Deprecated/11_0_0_SpellBookAPITransitionGuide.lua", - GetSpellDescription = "Interface/AddOns/Blizzard_Deprecated/11_0_0_SpellBookAPITransitionGuide.lua", - GetSpellInfo = "Interface/AddOns/Blizzard_Collections/Classic/Blizzard_MountCollection.lua", - GetText = "Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua", - GetUnitPvPIndicatorDisplayInfo = "Interface/AddOns/Blizzard_UnitFrame/Shared/UnitFrameUtil.lua", - GetValue = "Interface/AddOns/Blizzard_SettingsDefinitions_Frame/Accessibility.lua", - IsInGroup = "Interface/AddOns/Blizzard_Calendar/Mainline/Blizzard_Calendar.lua", - IsInRaid = "Interface/AddOns/Blizzard_Calendar/Mainline/Blizzard_Calendar.lua", - IsSpellInRange = "Interface/AddOns/Blizzard_Deprecated/11_0_0_SpellBookAPITransitionGuide.lua", - IsSpellKnown = "Interface/AddOns/Blizzard_DeprecatedSpellBook/Deprecated_SpellBook.lua", - OnEvent = "Interface/AddOns/Blizzard_FrameXMLBase/PlayerMovementFrameFader.lua", - OnHide = "Interface/AddOns/Blizzard_SettingsDefinitions_Shared/Subtitles.lua", - Play = "Interface/AddOns/Blizzard_FrameEffects/EffectFactory.lua", - SetAtlas = "Interface/AddOns/Blizzard_EncounterJournal/Mainline/Blizzard_MonthlyActivities.lua", - SetDataProvider = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollBoxListView.lua", - SetParent = "Interface/AddOns/Blizzard_Menu/Menu.lua", - SetPoint = "Interface/AddOns/Blizzard_Menu/Menu.lua", - SetScrollPercentage = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollBar.lua", - SetText = "Interface/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua", - SetValue = "Interface/AddOns/Blizzard_SettingsDefinitions_Frame/Accessibility.lua", - SetupTextureCoordinates = "Interface/AddOns/Blizzard_SharedXML/NineSlice.lua", - Show = "Interface/AddOns/Blizzard_EncounterWarnings/EncounterWarningsView.lua", - T = "Interface/AddOns/Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua", - TOPLEFT = "Interface/AddOns/Blizzard_Settings_Shared/Blizzard_ImplementationReadme.lua", - UnitHasIncomingResurrection = "Interface/AddOns/Blizzard_UnitFrame/Shared/CompactUnitFrame.lua", - Warrior = "Interface/AddOns/Blizzard_BoostTutorial/Blizzard_TutorialRacialData.lua", - action = "Interface/AddOns/Blizzard_SharedXML/ScriptedAnimations/ScriptAnimatedModelScene.lua", - active = "Interface/AddOns/Blizzard_GamepadActionBars/PageUnit.lua", - addons = "Interface/AddOns/Blizzard_CombatAudioAlerts/Blizzard_CombatAudioAlertManager.lua", - after = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureAuraHeader.lua", - anchor = "Interface/AddOns/Blizzard_SharedXML/Mainline/UIDropDownMenu.lua", - are = "Interface/AddOns/Blizzard_SharedXML/CustomBindingButtonMixin.lua", - atlases = "Interface/AddOns/Blizzard_UnitFrame/Mainline/PowerBarColorUtil.lua", - aura = "Interface/AddOns/Blizzard_FrameXML/SharedPetBattleTemplates.lua", - before = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureAuraHeader.lua", - button = "Interface/AddOns/Blizzard_GlueXML/Mainline/CharacterServicesShared.lua", - buttons = "Interface/AddOns/Blizzard_LFGUtil/Mainline/PvpPopup.lua", - call = "Interface/AddOns/Blizzard_AuraContainer/Blizzard_AuraContainerUtil.lua", - callback = "Interface/AddOns/Blizzard_AuctionHouseUI/Shared/Blizzard_AuctionHouseFrame.lua", - called = "Interface/AddOns/Blizzard_Menu/11_0_0_MenuImplementationGuide.lua", - change = "Interface/AddOns/Blizzard_DelvesDifficultyPicker/Blizzard_DelvesDifficultyPicker.lua", - channels = "Interface/AddOns/Blizzard_Channels/Classic/ChannelButton.lua", - character = "Interface/AddOns/Blizzard_UIParentPanelManager/Shared/UIParentPanelManager.lua", - chat = "Interface/AddOns/Blizzard_AutoComplete/AutoComplete.lua", - checked = "Interface/AddOns/Blizzard_SharedXML/Mainline/UIDropDownMenu.lua", - children = "Interface/AddOns/Blizzard_GamepadSmartNavigation/Utility.lua", - click = "Interface/AddOns/Blizzard_GamepadSharedUtility/InputHandlers/InputButtonUtility.lua", - color = "Interface/AddOns/Blizzard_Menu/MenuTemplates.lua", - column = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureGroupHeaders.lua", - comparison = "Interface/AddOns/Blizzard_GarrisonUI/Mainline/Blizzard_GarrisonShipyardUI.lua", - condition = "Interface/AddOns/Blizzard_AuctionHouseUI/Shared/Blizzard_AuctionHouseItemList.lua", - content = "Interface/AddOns/Blizzard_NamePlates/Blizzard_NamePlateConstants.lua", - coords = "Interface/AddOns/Blizzard_ArtifactUI/Blizzard_ArtifactPerks.lua", - create = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureGroupHeaders.lua", - data = "Interface/AddOns/Blizzard_StaticPopup_Glue/Mainline/GlueDialogDefs.lua", - dataProvider = "Interface/AddOns/Blizzard_SharedXML/TableBuilder.lua", - def = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/RestrictedExecution.lua", - design = "Interface/AddOns/Blizzard_PagedContent/Blizzard_PagedContentFrame.lua", - direction = "Interface/AddOns/Blizzard_GamepadSmartNavigation/Utility.lua", - dispel = "Interface/AddOns/Blizzard_FrameXMLUtil/AuraUtil.lua", - event = "Interface/AddOns/Blizzard_GamepadActionBars/GamepadOverrideBarMixin.lua", - exist = "Interface/AddOns/Blizzard_FrameXML/SharedPetBattleTemplates.lua", - first = "Interface/AddOns/Blizzard_GamepadSharedUtility/InputBindingStack/BindingSetFactory.lua", - flow = "Interface/AddOns/Blizzard_Channels/Mainline/ChannelFrame.lua", - fn = "Interface/AddOns/Blizzard_GamepadActionBars/TargetActionBars/Shared.lua", - formatter = "Interface/AddOns/Blizzard_SharedXML/Shared/Slider/MinimalSlider.lua", - func = "Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua", - functions = "Interface/AddOns/Blizzard_CombatAudioAlerts/Blizzard_CombatAudioAlertManager.lua", - generator = "Interface/AddOns/Blizzard_SharedXMLBase/FunctionUtil.lua", - geterrorhandler = "Interface/AddOns/Blizzard_PrintHandler/Blizzard_PrintHandler.lua", - group = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureGroupHeaders.lua", - h = "Interface/AddOns/Blizzard_CombatLog/Mainline/Blizzard_CombatLog.lua", - headers = "Interface/AddOns/Blizzard_GroupFinder/Shared/LFGFrame.lua", - hide = "Interface/AddOns/Blizzard_CombatLog/Mainline/Blizzard_CombatLog.lua", - icon = "Interface/AddOns/Blizzard_Gamepad/UI/Radials/GamepadRadial.lua", - index = "Interface/AddOns/Blizzard_PlayerSpells/ClassTalents/Blizzard_ClassTalentImportExport.lua", - info = "Interface/AddOns/Blizzard_GlueXML/Mainline/CharacterSelect/CharacterSelectUtil.lua", - initializer = "Interface/AddOns/Blizzard_Menu/Menu.lua", - isSelected = "Interface/AddOns/Blizzard_LegacySystem/Blizzard_LegacyChallenges.lua", - it = "Interface/AddOns/Blizzard_GamepadSmartNavigation/Utility.lua", - key = "Interface/AddOns/Blizzard_GamepadSharedUtility/InputBindingStack/BindingSetFactory.lua", - label = "Interface/AddOns/Blizzard_GamepadSharedUtility/PromptedBindings/PromptedBinding.lua", - layout = "Interface/AddOns/Blizzard_CooldownViewer/CooldownViewerSettingsDialogs.lua", - left = "Interface/AddOns/Blizzard_UIPanels_Game/Mainline/EventScheduler.lua", - like = "Interface/AddOns/Blizzard_SharedXMLBase/TableUtil.lua", - menu = "Interface/AddOns/Blizzard_GroupFinder_VanillaStyle/Blizzard_LFGVanilla_Browse.lua", - method = "Interface/AddOns/Blizzard_LegacySystem/Blizzard_LegacySystemUtil.lua", - mode = "Interface/AddOns/Blizzard_EncounterTimeline/EncounterTimelineEventFrame.lua", - model = "Interface/AddOns/Blizzard_SharedXML/ModelSceneActorMixin.lua", - n = "Interface/AddOns/Blizzard_Console/Blizzard_Console.lua", - name = "Interface/AddOns/Blizzard_Deprecated/11_0_0_SpellBookAPITransitionGuide.lua", - names = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureGroupHeaders.lua", - offset = "Interface/AddOns/Blizzard_SharedXML/Blizzard_RadialWheel.lua", - offsets = "Interface/AddOns/Blizzard_SharedXML/NineSlice.lua", - one = "Interface/AddOns/Blizzard_HousingDashboard/Blizzard_HousingDashboardInitiatives.lua", - options = "Interface/AddOns/Blizzard_Menu/11_0_0_MenuImplementationGuide.lua", - order = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureAuraHeader.lua", - out = "Interface/AddOns/Blizzard_DeclensionFrame/Mainline/DeclensionFrame.lua", - pass = "Interface/AddOns/Blizzard_SharedXML/MixinUtil.lua", - piece = "Interface/AddOns/Blizzard_SharedXML/NineSlice.lua", - pieces = "Interface/AddOns/Blizzard_SharedXML/NineSlice.lua", - player = "Interface/AddOns/Blizzard_CooldownViewer/CooldownViewerAlert.lua", - points = "Interface/AddOns/Blizzard_EncounterJournal/Mainline/Blizzard_MonthlyActivities.lua", - policy = "Interface/AddOns/Blizzard_SharedXMLGame/Mainline/Localization.lua", - prefix = "Interface/AddOns/Blizzard_FrameXMLUtil/AuraUtil.lua", - raid = "Interface/AddOns/Blizzard_RaidUI/Mainline/Blizzard_RaidUI.lua", - realm = "Interface/AddOns/Blizzard_StaticPopup_Game/GameDialogDefs.lua", - region = "Interface/AddOns/Blizzard_Menu/11_0_0_MenuImplementationGuide.lua", - right = "Interface/AddOns/Blizzard_SharedXML/Mainline/UIDropDownMenu.lua", - s = "Interface/AddOns/Blizzard_ArchaeologyUI/Blizzard_ArchaeologyUI.lua", - securecallfunction = "Interface/AddOns/Blizzard_ActionBar/Shared/ActionButton.lua", - self = "Interface/AddOns/Blizzard_FrameXML/SharedPetBattleTemplates.lua", - set = "Interface/AddOns/Blizzard_CombatLogProcessor/Blizzard_CombatLogProcessor.lua", - spacing = "Interface/AddOns/Blizzard_SharedXMLBase/RegionLayoutManager.lua", - spell = "Interface/AddOns/Blizzard_StableUI/Standard/Blizzard_StableUI.lua", - standard = "Interface/AddOns/Blizzard_Calendar/Mainline/Blizzard_Calendar.lua", - strlenutf8 = "Interface/AddOns/Blizzard_AutoComplete/AutoComplete.lua", - style = "Interface/AddOns/Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua", - target = "Interface/AddOns/Blizzard_PetBattleUI/Shared/Blizzard_PetBattleUI.lua", - text = "Interface/AddOns/Blizzard_ChatFrame/Mainline/ChatConfigFrame.lua", - texture = "Interface/AddOns/Blizzard_GamepadActionBars/MainActionBarFrame.lua", - the = "Interface/AddOns/Blizzard_AsyncRequest/Blizzard_AsyncRequest.lua", - them = "Interface/AddOns/Blizzard_UIPanels_Game/Shared/TaxiFrame.lua", - time = "Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrameOverrides.lua", - title = "Interface/AddOns/Blizzard_Colors/Mainline/ColorManager.lua", - to = "Interface/AddOns/Blizzard_Kiosk/BlizzCon2026/ColdSwap.lua", - top = "Interface/AddOns/Blizzard_SharedXML/HybridScrollFrame.lua", - types = "Interface/AddOns/Blizzard_Menu/11_0_0_MenuImplementationGuide.lua", - unit = "Interface/AddOns/Blizzard_GamepadActionBars/PageUnit.lua", - up = "Interface/AddOns/Blizzard_ObjectiveTracker/Blizzard_ObjectiveTrackerModule.lua", - update = "Interface/AddOns/Blizzard_CooldownViewer/CooldownViewerItemData.lua", - updates = "Interface/AddOns/Blizzard_UIPanels_Game/Mainline/UnitPositionFrameTemplates.lua", - v = "Interface/AddOns/Blizzard_SharedXMLBase/TableUtil.lua", - value = "Interface/AddOns/Blizzard_GamepadSharedUtility/InputBindingStack/InputBindingManager.lua", - with = "Interface/AddOns/Blizzard_SharedXML/MoneyFormatter.lua", - x = "Interface/AddOns/Blizzard_SettingsDefinitions_Shared/Graphics.lua", - }, - globals = { - AnchorUtil = "Interface/AddOns/Blizzard_SharedXMLBase/AnchorUtil.lua", - ["AnchorUtil.ApplyFlowLayout"] = "Interface/AddOns/Blizzard_SharedXMLBase/AnchorUtil.lua", - ["AnchorUtil.CreateFlowLayout"] = "Interface/AddOns/Blizzard_SharedXMLBase/AnchorUtil.lua", - AuraContainerInbound = "Interface/AddOns/Blizzard_AuraContainer/Blizzard_AuraContainerInbound.lua", - ["AuraContainerInbound.GetDefaultAuraDurationFormatter"] = "Interface/AddOns/Blizzard_AuraContainer/Blizzard_AuraContainerInbound.lua", - AuraUtil = "Interface/AddOns/Blizzard_FrameXMLUtil/AuraUtil.lua", - ["AuraUtil.GetAuraBorderColor"] = "Interface/AddOns/Blizzard_FrameXMLUtil/AuraUtil.lua", - ["AuraUtil.IsValidFilterString"] = "Interface/AddOns/Blizzard_FrameXMLUtil/AuraUtil.lua", - ["AuraUtil.SetDataProvider"] = "Interface/AddOns/Blizzard_FrameXMLUtil/AuraUtil.lua", - BackdropTemplateMixin = "Interface/AddOns/Blizzard_SharedXML/Backdrop.lua", - ["BackdropTemplateMixin.ClearBackdrop"] = "Interface/AddOns/Blizzard_SharedXML/Backdrop.lua", - ["BackdropTemplateMixin.GetBackdrop"] = "Interface/AddOns/Blizzard_SharedXML/Backdrop.lua", - ["BackdropTemplateMixin.GetEdgeSize"] = "Interface/AddOns/Blizzard_SharedXML/Backdrop.lua", - ["BackdropTemplateMixin.SetBackdrop"] = "Interface/AddOns/Blizzard_SharedXML/Backdrop.lua", - ["BackdropTemplateMixin.SetBackdropBorderColor"] = "Interface/AddOns/Blizzard_SharedXML/Backdrop.lua", - ["BackdropTemplateMixin.SetBackdropColor"] = "Interface/AddOns/Blizzard_SharedXML/Backdrop.lua", - ["BackdropTemplateMixin.SetupTextureCoordinates"] = "Interface/AddOns/Blizzard_SharedXML/Backdrop.lua", - BaseScrollBoxEvents = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollBox.lua", - ["C_SpellBook.GetOverrideSpell"] = "Interface/AddOns/Blizzard_Deprecated/11_0_0_SpellBookAPITransitionGuide.lua", - ["C_SpellBook.GetSpellInfo"] = "Interface/AddOns/Blizzard_Deprecated/11_0_0_SpellBookAPITransitionGuide.lua", - CallbackRegistryMixin = "Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua", - ["CallbackRegistryMixin.RegisterCallback"] = "Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua", - CreateColor = "Interface/AddOns/Blizzard_SharedXMLBase/Color.lua", - CreateDataProvider = "Interface/AddOns/Blizzard_SharedXML/DataProvider.lua", - CreateScrollBoxLinearView = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollBoxLinearView.lua", - CreateScrollBoxListLinearView = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollBoxLinearView.lua", - CreateSecureDelegate = "Interface/AddOns/Blizzard_EnvironmentCleanup/Mainline/EnvironmentCleanup.lua", - DifficultyUtil = "Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/DifficultyUtil_Base.lua", - ["DifficultyUtil.GetCreatureDifficultyColor"] = "Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/DifficultyUtil.lua", - ["DifficultyUtil.GetDifficultyColor"] = "Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/DifficultyUtil.lua", - GetClassColor = "Interface/AddOns/Blizzard_SharedXML/ColorUtil.lua", - GetCreatureDifficultyColor = "Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/DifficultyUtil.lua", - GetDifficultyColor = "Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/DifficultyUtil.lua", - LOCALIZED_CLASS_NAMES_MALE = "Interface/AddOns/Blizzard_FrameXMLBase/Cata/Constants.lua", - MenuUtil = "Interface/AddOns/Blizzard_Menu/MenuUtil.lua", - ["MenuUtil.CreateButton"] = "Interface/AddOns/Blizzard_Menu/MenuUtil.lua", - ["MenuUtil.CreateCheckbox"] = "Interface/AddOns/Blizzard_Menu/MenuUtil.lua", - ["MenuUtil.CreateContextMenu"] = "Interface/AddOns/Blizzard_Menu/MenuUtil.lua", - ["MenuUtil.CreateFrame"] = "Interface/AddOns/Blizzard_Menu/MenuUtil.lua", - ["MenuUtil.CreateRadio"] = "Interface/AddOns/Blizzard_Menu/MenuUtil.lua", - ["MenuUtil.CreateTitle"] = "Interface/AddOns/Blizzard_Menu/MenuUtil.lua", - ["Minimap.timer"] = "Interface/AddOns/Blizzard_Minimap/Mainline/Minimap.lua", - PlayerSpellsUtil = "Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/PlayerSpellsUtil.lua", - ["PlayerSpellsUtil.OpenToSpellBookTab"] = "Interface/AddOns/Blizzard_FrameXMLUtil/Mainline/PlayerSpellsUtil.lua", - QuestDifficultyColors = "Interface/AddOns/Blizzard_FrameXMLBase/Constants.lua", - RAID_CLASS_COLORS = "Interface/AddOns/Blizzard_SharedXML/ClassColors.lua", - RegisterAttributeDriver = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureStateDriver.lua", - RegisterStateDriver = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureStateDriver.lua", - RegisterUnitWatch = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureStateDriver.lua", - Round = "Interface/AddOns/Blizzard_SharedXMLBase/MathUtil.lua", - ScrollUtil = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua", - ["ScrollUtil.InitScrollBoxListWithScrollBar"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua", - ["ScrollUtil.InitScrollBoxWithScrollBar"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua", - ["ScrollUtil.RegisterScrollBoxWithScrollBar"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua", - ScrollingEditBoxMixin = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.ClearFocus"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.ClearText"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.GetEditBox"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.GetInputText"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.GetScrollBox"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.GetText"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.OnShow"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.SetEnabled"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.SetFocus"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.SetFontObject"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.SetText"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - ["ScrollingEditBoxMixin.SetTextColor"] = "Interface/AddOns/Blizzard_SharedXML/Shared/Scroll/ScrollTemplates.lua", - SecondsFormatter = "Interface/AddOns/Blizzard_SharedXML/TimeUtil.lua", - SecureHandlerExecute = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureHandlers.lua", - SecureHandlerSetFrameRef = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureHandlers.lua", - SecureHandlerWrapScript = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureHandlers.lua", - SecureStateDriverManager = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureStateDriver.lua", - SetCVar = "Interface/AddOns/Blizzard_SharedXMLBase/CvarUtil.lua", - SetRaidTargetIconTexture = "Interface/AddOns/Blizzard_UnitFrame/Mainline/TargetFrame.lua", - ShowMacroFrame = "Interface/AddOns/Blizzard_MacroUI/Blizzard_MacroUI_Bootstrap.lua", - Spell = "Interface/AddOns/Blizzard_ObjectAPI/Mainline/Spell.lua", - UISpecialFrames = "Interface/AddOns/Blizzard_UIParentPanelManager/Shared/UIParentPanelManager.lua", - UnitFrameUtil = "Interface/AddOns/Blizzard_UnitFrame/Shared/UnitFrameUtil.lua", - ["UnitFrameUtil.GetUnitPvPIndicatorDisplayInfo"] = "Interface/AddOns/Blizzard_UnitFrame/Shared/UnitFrameUtil.lua", - UnitFrame_OnEnter = "Interface/AddOns/Blizzard_UnitFrame/Mainline/UnitFrame.lua", - UnitFrame_OnLeave = "Interface/AddOns/Blizzard_UnitFrame/Mainline/UnitFrame.lua", - UnitWatchRegistered = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureStateDriver.lua", - UnregisterAttributeDriver = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureStateDriver.lua", - UnregisterUnitWatch = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureStateDriver.lua", - abs = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - ceil = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - class = "Interface/AddOns/middleclass/middleclass.lua", - filter = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureAuraHeader.lua", - floor = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - format = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - frame = "Interface/AddOns/Blizzard_UIPanels_Game/Shared/PlayerInteractionFrameManager.lua", - gmatch = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - gsub = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - max = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - maxColumns = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureGroupHeaders.lua", - min = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - point = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureAuraHeader.lua", - print = "Interface/AddOns/Blizzard_PrintHandler/Blizzard_PrintHandler.lua", - show = "Interface/AddOns/Blizzard_CombatText/Shared/CombatTextConstants.lua", - sort = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - startingIndex = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureGroupHeaders.lua", - strtrim = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - template = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureAuraHeader.lua", - tinsert = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - unitsPerColumn = "Interface/AddOns/Blizzard_RestrictedAddOnEnvironment/SecureGroupHeaders.lua", - wipe = "Interface/AddOns/Blizzard_SharedXMLBase/Compat.lua", - }, - methods = { - Acquire = "ObjectPoolBaseMixin", - Add = "AccumulatorMixin", - AddAuraAssignedAnimation = "CustomAuraButtonSharedMixin", - AddAuraGroup = "CustomAuraContainerSharedMixin", - AddAuraSlot = "CustomAuraContainerSharedMixin", - AddButton = "ButtonGroupBaseMixin", - AddControl = "BaseButtonTrayMixin", - AddDispelTypeTexture = "CustomAuraButtonSharedMixin", - AddFrame = "ExtraAbilityContainerMixin", - AddGroup = "CompactRaidFrameContainerMixin", - AddInitializer = "BaseMenuDescriptionMixin", - AddLine = "SuppressedPinTooltipContainerMixin", - AddPoint = "CatmullRomSplineMixin", - AddPrivateAuraAnchor = "CompactUnitIndividualPrivateAuraAnchorMixin", - AddRow = "CharacterFrameSidePaneMixin", - Advance = "CharacterServicesFlowMixin", - Apply = "FlowLayoutMixin", - ApplyAuraAssignmentAnimations = "CustomAuraButtonPrivateMixin", - ApplyFlowLayout = "AuraContainerFlowLayoutPrivateMixin", - ApplySize = "ProfessionsSpecPerkMixin", - Arrange = "TableBuilderMixin", - Attach = "BasicContextOptionHandler", - AttachTexture = "CompositorMixin", - Begin = "Class_TutorialBase", - Bind = "InputActionBinding", - Build = "builder", - CallMethod = "HANDLE", - CanEnterEditMode = "EditModeManagerFrameMixin", - Cancel = "AuctionHouseBuyDialogMixin", - Check = "WatchData", - CheckName = "CharacterCreateNameAvailabilityStateMixin", - Clear = "AchievementsObjectivesMixin", - ClearAllHitTestPoints = "NamePlateScriptBaseMixin", - ClearAllPoints = "HANDLE", - ClearBackdrop = "BackdropTemplateMixin", - ClearFocus = "GamepadPopupHandler", - ClearPoints = "CatmullRomSplineMixin", - ClearSelectedSystem = "EditModeManagerFrameMixin", - ClearText = "CommunitiesCreateDialogMixin", - Click = "SmartNavigationMixin", - Close = "ContainerFrameCombinedBagsMixin", - CloseMenu = "DropdownButtonMixin", - Collapse = "AchievementTemplateMixin", - Commit = "KeybindListener", - Count = "AccumulatorMixin", - Create = "AzeriteTierFinalPowerSelectedAnimationMixin", - CreateFrame = "AuraContainerCustomFrameProviderMixin", - CreateLabel = "CurrencyHorizontalLayoutFrameMixin", - CreatePool = "FramePoolCollectionConverterMixin", - Cross = "Vector2DMixin", - Delete = "OpenMailDeleteMixin", - Detach = "BasicContextOptionHandler", - Disable = "ArenaEnemyMatchFramesContainerMixin", - Dot = "Vector2DMixin", - Draw = "LineMixin", - Dump = "ObjectPoolBaseMixin", - Enable = "ArenaEnemyMatchFramesContainerMixin", - EnableMouse = "HANDLE", - EnumerateActive = "ManagedLayoutFrameMixin", - Factory = "ScrollBoxFactoryInitializerMixin", - FadeOut = "ClickToZoomDataProvider_LabelMixin", - Find = "DataProviderMixin", - Finish = "CharacterUpgradeFlow", - Flash = "EventTraceScrollBoxButtonMixin", - FocusFrame = "GamepadFrameControlsManagerMixin", - ForEachFrame = "ActionBarButtonEventsFrameMixin", - Format = "SecondsFormatterMixin", - Free = "ObjectiveTrackerAnimBlockMixin", - FullUpdate = "ClassTalentButtonSelectMixin", - GROUP_ROSTER_UPDATE = "CooldownSyncRelayMixin", - Generate = "BlackColorStyleMenuMixin", - GenerateHexColorMarkup = "ColorMixin", - GenerateMenu = "DropdownButtonMixin", - Get = "AnchorMixin", - GetActiveLayout = "CooldownViewerLayoutManagerMixin", - GetAtlas = "HelpTipCloseButtonMixin", - GetAttribute = "HANDLE", - GetAuraGroupFrame = "CustomAuraContainerSharedMixin", - GetAuraGroupFrameCount = "CustomAuraContainerSharedMixin", - GetBackdrop = "BackdropTemplateMixin", - GetBackground = "DamageMeterEntryMixin", - GetBottom = "RectangleMixin", - GetCenter = "RectangleMixin", - GetChildList = "HANDLE", - GetChildren = "HANDLE", - GetColorAlpha = "ColorPickerFrameMixin", - GetColorRGB = "ColorPickerFrameMixin", - GetContainer = "PrivateAuraAnchorContainerMixin", - GetCursorPosition = "MapCanvasScrollControllerMixin", - GetData = "InitiativeTaskButtonMixin", - GetDefault = "WorldMapFilterMixin", - GetDerivedScrollOffset = "ScrollBoxBaseMixin", - GetDifficultyColor = "NameplateLevelFrameMixin", - GetDrawLayer = "MapExplorationDataProviderMixin", - GetEdgeSize = "BackdropTemplateMixin", - GetEditBox = "ClassTalentLoadoutDialogInputControlMixin", - GetEffectiveScale = "HANDLE", - GetElementSize = "CustomAuraContainerFlowLayoutMixin", - GetFont = "FontableFrameMixin", - GetFontObject = "FontableFrameMixin", - GetFrame = "ClickBindingFramePortraitMixin", - GetFrameLevel = "HANDLE", - GetFrameMagneticEligibility = "EditModeSystemMixin", - GetFrameRef = "HANDLE", - GetHeight = "HANDLE", - GetID = "AuraButtonMixin", - GetIcon = "BaseSpellBookCategoryMixin", - GetInputText = "EventEditBoxMixin", - GetLayouts = "EditModeManagerFrameMixin", - GetLeft = "RectangleMixin", - GetLootMethod = "UnitPopupGroupLootButtonMixin", - GetMagneticFrameInfos = "EditModeMagnetismManager", - GetName = "AdventuresEnemyPuckMixin", - GetNamePlateForUnit = "NamePlateDriverMixin", - GetNumPoints = "CatmullRomSplineMixin", - GetObjectType = "HANDLE", - GetOverallMetric = "AddonListMixin", - GetParent = "AuraContainerCustomFrameProviderMixin", - GetPoint = "CatmullRomSplineMixin", - GetPool = "NamePlateDriverMixin", - GetPosition = "CameraBaseMixin", - GetPower = "RuneforgePowerListMixin", - GetPowerInfo = "RuneforgePowerBaseMixin", - GetRGB = "ColorMixin", - GetRGBA = "ColorMixin", - GetRaidTargetIndex = "NamePlateUnitFrameMixin", - GetRealmName = "TransferRealmEditboxMixin", - GetRect = "HANDLE", - GetRight = "RectangleMixin", - GetRow = "SoulbindTreeNodeMixin", - GetScale = "HANDLE", - GetScaledSelectionCenter = "EditModeSystemMixin", - GetScaledSelectionSides = "EditModeSystemMixin", - GetScript = "InboundContainerFrameMixin", - GetScrollBox = "DamageMeterSessionWindowMixin", - GetScrollPercentage = "ScrollControllerMixin", - GetSize = "AllocationsMixin", - GetSpellCooldown = "CooldownSyncRelayMixin", - GetSpellDescription = "SpellMixin", - GetSpellInfo = "DeathRecapEntryMixin", - GetSpellName = "CustomAuraButtonSharedMixin", - GetState = "BaseHousingActionButtonMixin", - GetStatusBar = "DamageMeterEntryMixin", - GetStatusBarTexture = "DamageMeterEntryMixin", - GetStyle = "DamageMeterEntryMixin", - GetSystemName = "EditModeStatusTrackingBar1SystemMixin", - GetTemplate = "ScrollBoxFactoryInitializerMixin", - GetText = "ClassTalentLoadoutDialogInputControlMixin", - GetTexture = "SpellBookItemMixin", - GetTheme = "CharacterServicesFlowMixin", - GetTop = "RectangleMixin", - GetType = "TransmogLocationMixin", - GetUnit = "AlternatePowerBarBaseMixin", - GetUnitFrame = "CompactRaidFrameContainerMixin", - GetValue = "AccessibilitySettingsPreviewMixin", - GetVertexColor = "VisualAlertBaseMixin", - GetWidth = "HANDLE", - HasValidSelectionRect = "EditModeSystemMixin", - Hide = "EffectFactoryMixin", - HideTooltip = "AuraButtonPrivateMixin", - Init = "AccountNameMixin", - InitButton = "LFGWhoListButtonMixin", - Initialize = "AccountSelectorMixin", - Insert = "BaseMenuDescriptionMixin", - Interrupt = "Class_TutorialBase", - IsAboveFrame = "EditModeSystemMixin", - IsActive = "AuraContainerItemEnchantmentMixin", - IsBelowFrame = "EditModeSystemMixin", - IsElementEnabled = "FlyoutBehaviorMixin", - IsEnabled = "AuraContainerAuraGroupMixin", - IsHorizontallyAlignedWithFrame = "EditModeSystemMixin", - IsInEditMode = "SpellDiminishStatusTrayMixin", - IsKnown = "CooldownViewerItemDataMixin", - IsMouseEnabled = "HANDLE", - IsObjectType = "HANDLE", - IsPlaying = "CustomizationAudioInterfaceMixin", - IsProtected = "HANDLE", - IsQueued = "EncounterTimelineEventIconMixin", - IsShiftKeyDown = "EditModeSystemMixin", - IsShown = "HANDLE", - IsSnapEnabled = "EditModeManagerFrameMixin", - IsSupported = "UnitPopupDungeonDifficulty1ButtonMixin", - IsToTheLeftOfFrame = "EditModeSystemMixin", - IsToTheRightOfFrame = "EditModeSystemMixin", - IsValid = "AzeriteEmpoweredItemDataSourceMixin", - IsVerticallyAlignedWithFrame = "EditModeSystemMixin", - IsVisible = "CampaignMixin", - Layout = "BagsBarMixin", - Leave = "CatalogShopMixin", - Load = "ProfessionsRecipeLoaderMixin", - Loop = "AdventuresFriendlyTargetingIndicatorMixin", - Move = "RectangleMixin", - Name = "Class_TutorialBase", - New = "MapBridgeDataProviderMixin", - Next = "CharacterServicesAutoCompleteButtonMixin", - OnApply = "DecorPetCustomizationMixin", - OnAttributeChanged = "ActionBarActionButtonMixin", - OnCheckButtonClick = "CharacterCreateStartingZoneButtonMixin", - OnClick = "AccountLoginMenuButtonMixin", - OnDragStart = "ActionBarActionButtonMixin", - OnDragStop = "AdventuresMissionPageFollowerPuckMixin", - OnEditFocusGained = "CharacterServicesEditBoxBaseMixin", - OnEditFocusLost = "AuctionHouseAlignedQuantityInputBoxMixin", - OnEnter = "AccountStoreBaseCardMixin", - OnEnterPressed = "AuctionHouseSearchBoxMixin", - OnEscapePressed = "CharacterCreateEditBoxMixin", - OnEvent = "AccountSaveFrameMixin", - OnFinished = "ActionBarOverlayGlowAnimInMixin", - OnHide = "AccountStoreBaseCardMixin", - OnInitialize = "Class_AbilityUse_AbilityReminder", - OnKeyDown = "AddonDialogMixin", - OnLayout = "ObjectiveTrackerAnimBlockMixin", - OnLeave = "AccountStoreBaseCardMixin", - OnLoad = "AbandonHouseConfirmationDialogMixin", - OnMouseDown = "AlliedRacesModelControlButtonMixin", - OnMouseUp = "AchievementDisplayOverviewBulletMixin", - OnMouseWheel = "AccountStoreBaseCardMixin", - OnReceiveDrag = "ActionBarActionButtonMixin", - OnRelease = "NewCosmeticAlertFrameMixin", - OnShow = "AccessibilitySettingsPreviewMixin", - OnSizeChanged = "AccountSaveFrameMixin", - OnSliderValueChanged = "CustomizationOptionSliderMixin", - OnTextChanged = "AuctionHouseQuantityInputBoxMixin", - OnUpdate = "AccountStoreBaseCardMixin", - OnValueChanged = "AnimatedStatusBarMixin", - Open = "FriendsFriendsFrameMixin", - PLAYER_ALIVE = "Class_Death_ReleaseCorpse", - PLAYER_DEAD = "Class_ChangeEquipment", - PLAYER_ENTERING_WORLD = "Class_AbilityWatcher", - PLAYER_LEVEL_UP = "Class_Level3Ability", - PLAYER_REGEN_DISABLED = "Class_AbilityUse_Watcher", - PLAYER_REGEN_ENABLED = "Class_AbilityUse_Watcher", - PLAYER_SPECIALIZATION_CHANGED = "Class_ChangeSpec", - PLAYER_TALENT_UPDATE = "Class_ChangeSpec", - PLAYER_TARGET_CHANGED = "Class_TabTargetingWatcher", - PLAYER_UNGHOST = "Class_Death_MapPrompt", - Pause = "MarchingAntsMixin", - Pick = "DropdownButtonMixin", - Play = "AdventuresFriendlyTargetingIndicatorMixin", - ProcessAura = "PrivateAuraAnchorContainerMixin", - Pulse = "VehicleSeatIndicatorButtonMixin", - Queue = "TutorialManager", - Refresh = "AccountStoreItemRackMixin", - RefreshButton = "ExpansionLandingPageMinimapButtonMixin", - RefreshEvents = "CombatAudioAlertManagerMixin", - RefreshVisibility = "FriendsListSocialCardRAFSummonButtonMixin", - Register = "ScrollBoxDragBehavior", - RegisterAddon = "AddonCompartmentMixin", - RegisterCallback = "CallbackHandleContainerMixin", - RegisterEvent = "Dispatcher", - RegisterEvents = "GenericItemSocketingFrameMixin", - RegisterFrameEventAndCallback = "EventRegistry", - Release = "FrameCloneManager", - ReleaseAll = "FrameCloneManager", - ReleaseAllPools = "OrderHallTalentFrameMixin", - Remove = "DataProviderMixin", - RemoveAuraAssignedAnimation = "CustomAuraButtonSharedMixin", - RemoveDispelTypeTexture = "CustomAuraButtonSharedMixin", - RemovePrivateAuraAnchor = "CompactUnitIndividualPrivateAuraAnchorMixin", - Reset = "AccumulatorMixin", - ResetButton = "MovePadCheckboxMixin", - ResetPosition = "SoftCursorMixin", - Resize = "AddFriendFrameMixin", - Rotate = "DropdownButtonMixin", - Run = "HANDLE", - RunAttribute = "HANDLE", - SPELLS_CHANGED = "Class_AddHunterTameSpells", - SPELL_UPDATE_COOLDOWN = "CooldownSyncRelayMixin", - ScrollToOffset = "ScrollBoxBaseMixin", - Select = "ButtonGroupBaseMixin", - SelectSystem = "EditModeManagerFrameMixin", - Set = "AnchorMixin", - SetActiveStyle = "RPETurnStrafeStyleMixin", - SetAllHitTestPoints = "NamePlateScriptBaseMixin", - SetAllPoints = "HANDLE", - SetAlpha = "HANDLE", - SetAnchorPoint = "FlowLayoutMixin", - SetApplicationCount = "CustomAuraButtonSharedMixin", - SetAtlas = "IconButtonMixin", - SetAttribute = "HANDLE", - SetAuraGroupCandidateFilters = "CustomAuraContainerSharedMixin", - SetAuraGroupEnabled = "AuraContainerAuraGroupManagerMixin", - SetAuraGroupFilterString = "CustomAuraContainerSharedMixin", - SetAuraGroupLayout = "CustomAuraContainerSharedMixin", - SetAuraGroupMaxFrameCount = "CustomAuraContainerSharedMixin", - SetAuraGroupSortMethod = "CustomAuraContainerSharedMixin", - SetAuraProcessingPolicy = "CustomAuraContainerSharedMixin", - SetAuraSlotCandidateFilters = "CustomAuraContainerSharedMixin", - SetAuraSlotEnabled = "AuraContainerAuraSlotManagerMixin", - SetAuraSlotFilterString = "CustomAuraContainerSharedMixin", - SetBackdrop = "BackdropTemplateMixin", - SetBackdropBorderColor = "BackdropTemplateMixin", - SetBackdropColor = "BackdropTemplateMixin", - SetBinding = "HANDLE", - SetBlendMode = "NineSlicePanelMixin", - SetBorderColor = "ColorSwatchMixin", - SetCanRoundUpLastUnit = "SecondsFormatterMixin", - SetCancelAuraButtons = "AuraButtonSharedMixin", - SetChecked = "HouseExteriorCheckboxOptionMixin", - SetColor = "ColorSwatchMixin", - SetColorRGB = "ColorSwatchMixin", - SetCooldown = "CooldownViewerSettingsEditAlertMixin", - SetCursorPosition = "ScrollingEditBoxMixin", - SetDataProvider = "AuctionHouseItemListMixin", - SetDefault = "AdventuresFriendlyTargetingIndicatorMixin", - SetDefaultAbbreviation = "SecondsFormatterMixin", - SetDefaultText = "DropdownSelectionTextMixin", - SetDesaturated = "ItemModelBaseMixin", - SetDesiredUnitCount = "SecondsFormatterMixin", - SetDetails = "DressUpCustomSetDetailsSlotMixin", - SetDrawLayer = "MapExplorationDataProviderMixin", - SetDuration = "AnimatedHealthLossMixin", - SetDurationCooldown = "CustomAuraButtonSharedMixin", - SetDurationText = "CustomAuraButtonSharedMixin", - SetElementExtent = "ScrollBoxListBiaxalViewMixin", - SetElementInitializer = "ScrollBoxListViewMixin", - SetEnabled = "AuraContainerAuraGroupMixin", - SetEndPoint = "LineMixin", - SetExpandedState = "ArtifactTitleTemplateMixin", - SetFlowLayoutAnchorPoint = "AuraContainerFlowLayoutSharedMixin", - SetFlowLayoutAxis = "AuraContainerFlowLayoutSharedMixin", - SetFlowLayoutGrowthDirection = "AuraContainerFlowLayoutSharedMixin", - SetFlowLayoutMaximumLineSize = "AuraContainerFlowLayoutSharedMixin", - SetFlowLayoutPadding = "AuraContainerFlowLayoutSharedMixin", - SetFocus = "HousingCatalogCategoriesMixin", - SetFont = "FontableFrameMixin", - SetFontObject = "FontableFrameMixin", - SetFormattedText = "AutoScalingFontStringMixin", - SetFormatter = "MoneyDenominationDisplayMixin", - SetFrameLevel = "HANDLE", - SetFrameStrata = "HANDLE", - SetGradient = "MarchingAntsMixin", - SetGrowthDirection = "FlowLayoutMixin", - SetHealth = "AdventuresPuckHealthBarMixin", - SetHeight = "HANDLE", - SetHideIfUnscrollable = "ScrollBarMixin", - SetHideTooltipInCombat = "AuraButtonSharedMixin", - SetID = "GamepadHudInfoMixin", - SetIcon = "BasicSegmentHandler", - SetIndex = "CovenantCallingMixin", - SetItems = "AccountStoreItemRackMixin", - SetJustifyH = "FontableFrameMixin", - SetJustifyV = "FontableFrameMixin", - SetLabelColor = "AuctionHouseSellFrameAlignedControlMixin", - SetLayoutAxis = "FlowLayoutMixin", - SetMaximumLineSize = "FlowLayoutMixin", - SetMinInterval = "SecondsFormatterMixin", - SetMinMaxValues = "NumericInputSpinnerMixin", - SetOnClickHandler = "UIButtonMixin", - SetOrder = "ProfessionsCrafterOrderViewMixin", - SetOrientation = "CompactUnitFrameDispelOverlayMixin", - SetOwner = "AzeriteEmpoweredItemTierMixin", - SetPanExtent = "ScrollBoxBaseMixin", - SetParent = "HANDLE", - SetPoint = "AnchorMixin", - SetPosition = "CameraBaseMixin", - SetRGBA = "ColorMixin", - SetRotation = "ModelScenelRotateButtonMixin", - SetScale = "HANDLE", - SetScript = "InboundContainerFrameMixin", - SetScrollMode = "BaseMenuDescriptionMixin", - SetScrollPercentage = "ScrollBarMixin", - SetSelected = "AccountNameMixin", - SetShadowColor = "FontableFrameMixin", - SetShadowOffset = "FontableFrameMixin", - SetShown = "ButtonGroupBaseMixin", - SetSize = "IndexRangeDataProviderMixin", - SetStartDelay = "AnimatedHealthLossMixin", - SetStartPoint = "LineMixin", - SetStatus = "CompactUnitFrameReadyCheckMixin", - SetStatusBarColor = "DamageMeterEntryMixin", - SetStripIntervalWhitespace = "SecondsFormatterMixin", - SetStyle = "ArtifactPowerButtonMixin", - SetTarget = "CharacterServicesFlowMixin", - SetText = "AutoScalingFontStringMixin", - SetTextColor = "FontableFrameMixin", - SetTextInsets = "ScrollingEditBoxMixin", - SetTexture = "AreaPOIEventPinMixin", - SetThickness = "LineMixin", - SetTooltipAnchorPoint = "AuraButtonSharedMixin", - SetType = "ClubFinderOptionsMixin", - SetUnit = "ArenaUnitFrameCcRemoverMixin", - SetValue = "BonusObjectiveTrackerProgressBarMixin", - SetVertexColor = "NamePlateBorderTemplateMixin", - SetVisibility = "AdventuresBoardAuraIconMixin", - SetWidth = "HANDLE", - Setup = "AchievementDisplayOverviewBulletMixin", - SetupColorPickerAndShow = "ColorPickerFrameMixin", - SetupMenu = "ClubFinderFilterDropdownMixin", - SetupTextureCoordinates = "BackdropTemplateMixin", - ShouldShow = "BackpackTokenFrameMixin", - Show = "EffectFactoryMixin", - ShowHighlighted = "EditModeSystemSelectionBaseMixin", - ShowNewLayoutDialog = "EditModeLayoutDialogMixin", - ShowSelected = "EditModeSystemSelectionBaseMixin", - ShowTooltip = "AssistedCombatRotationSpellFrameMixin", - ShowUIPanel = "CooldownViewerSettingsMixin", - Size = "t", - Start = "AnimatedShineMixin", - Status = "Class_TutorialBase", - Stop = "AdventuresFriendlyTargetingIndicatorMixin", - Switch = "CreditsFrameMixin", - Toggle = "BattlefieldMapMixin", - TriggerEvent = "CallbackRegistryMixin", - UNIT_CONNECTION = "CooldownSyncRelayMixin", - UNIT_HEALTH = "Class_LowHealthWatcher", - UNIT_PET = "GamepadFriendlyTargetingActionBarMixin", - UNIT_PORTRAIT_UPDATE = "GamepadFriendlyTargetingActionBarMixin", - UNIT_POWER_FREQUENT = "Class_EnhancedCombatTactics", - UNIT_SPELLCAST_INTERRUPTED = "Class_AbilityUse_Watcher", - UNIT_SPELLCAST_SUCCEEDED = "BoostTutorial", - UNIT_TARGETABLE_CHANGED = "Class_EnhancedCombatTactics_Ranged", - UPDATE_SHAPESHIFT_FORM = "Class_AddSpellToActionBarService", - UPDATE_VEHICLE_ACTIONBAR = "PetSpellFlyoutButtonMixin", - Unbind = "InputAxisBinding", - UnitPower = "WarlockPowerBar", - Unregister = "CallbackHandleContainerMixin", - UnregisterAllEvents = "Dispatcher", - UnregisterCallback = "CallbackRegistryMixin", - UnregisterEvent = "Dispatcher", - Update = "ActionBarActionButtonDerivedMixin", - UpdateAddOnMemoryUsage = "AddonListMixin", - UpdateAllAuras = "AuraContainerSharedMixin", - UpdateAuras = "AdventuresBoardAuraContainerMixin", - UpdateButtons = "BarberShopMixin", - UpdateColor = "HeaderSortButtonMixin", - UpdateControl = "HouseEditorInstructionMixin", - UpdateData = "GarrisonFollowerList", - UpdateDisplay = "AddonCompartmentMixin", - UpdateExperience = "AdventuresRewardsFollowerMixin", - UpdateFrame = "ManagedFrameContainerMixin", - UpdateHealthColor = "PersonalResourceDisplayMixin", - UpdatePresence = "CommunitiesMemberListEntryMixin", - UpdateRange = "GamepadPetActionFlyoutButtonMixin", - UpdateReadyCheck = "PartyMemberFrameMixin", - UpdateSearch = "TransmogSearchBoxMixin", - UpdateSettings = "EditModeSystemSettingsDialogMixin", - UpdateStatus = "ContributionMixin", - UpdateTick = "ArtifactBarMixin", - UpdateTooltip = "ArenaUnitFrameDebuffMixin", - Upgrade = "CovenantSanctumUpgradeTalentListMixin", - WrapTextInColorCode = "ColorMixin", - __index = "auraInstanceMapMetatable", - __newindex = "auraInstanceMapMetatable", - __tostring = "Object", - action = "MicroMenuButtonHandler", - initialize = "Class_TutorialBase", - }, - }, -} diff --git a/tests/helpers.lua b/tests/helpers.lua index 4cd0cd8..faec611 100644 --- a/tests/helpers.lua +++ b/tests/helpers.lua @@ -1,94 +1,24 @@ -- Shared helpers for specs: a fresh mocked client with the addon loaded. local Mock = dofile("tests/mock/wow.lua") local NewStubOUF = dofile("tests/mock/ouf.lua") +local Loader = require("wowmock.loader") local Helpers = { Mock = Mock } +-- The wow-ui-testing library folder, and the Blizzard UI source its pin names +-- (present after bash .wut/scripts/update-client-source.sh --sync). +Helpers.WutDir = package.searchpath("wowmock.loader", package.path):match("^(.*)/wowmock/loader%.lua$") +Helpers.ClientSource = Helpers.WutDir .. "/.client-source/forever" + -- Libraries that need the real client; tests use stand-ins instead. -local SKIP = { +Loader.Skip({ "Libs/oUF/", -- replaced by tests/mock/ouf.lua "Libs/LibEditMode/", -- optional at runtime (LibStub(..., true)) -} - -local function Skipped(path) - for _, pattern in ipairs(SKIP) do - if path:find(pattern, 1, true) then - return true - end - end - return false -end - --- Files are read and compiled once per run. Calling a compiled chunk again --- runs its main body afresh (new locals and closures), like a fresh load, so --- every addon load still starts from a clean state. -local chunks, includes, tocs = {}, {}, {} - -local function Compile(path) - local chunk = chunks[path] - if not chunk then - chunk = assert(loadfile(path)) - chunks[path] = chunk - end - return chunk -end - --- Only