reforged-types
Generated page
This page is generated from packages/reforged-types/CHANGELOG.md by docs:collect. Edit the source, not this page.
1.0.0-alpha.3
Minor Changes
- #352
34afe2cThanks @wyller! -BlzFrameGetParentnow returnsframehandle | undefined: the Nullability sweep saw it return nothing for a destroyed frame on 3.0.0.24268. Check its result before you use it, asFrame.getParent()already does. Sixteen more Natives keep their non-null return, now backed by the sweep:CreateTimer,CreateTrigger,CreateRegion,CreateCameraSetup,GetLocalPlayer,Location,Rect,Condition,Filter,And,Or,Not,GetOwningPlayer,GetUnitLoc,CameraSetupGetDestPositionLocandTriggerAddAction. Each carries a@remarkswith the cases measured.Trigger.addActiondrops a check for anilthe game never returned.
1.0.0-alpha.2
Patch Changes
- #310
0640604Thanks @wyller! -GameCache.restoreUnitreturns the restored unit as aUnit, and throwsreforged-ts: failed to create Unit (<key>)when the game creates none, instead of returning the rawunithandle orundefined.GameCache.storetakes aUnitinstead of the rawunithandle.GetStoredStringis typedstring, notstring | undefined: the game returns""for a missing key.
1.0.0-alpha.1
Patch Changes
- #209
7aa0edeThanks @phmilk! - The README's "For AI agents" line links the documentation of this version as Markdown for a language model:llms.txt, one link per page, andllms-full.txt, every page in one file. A prerelease links the working tree's docs,https://phmilk.github.io/reforged-ts/docs/next/llms.txt; a stable release links the docs version of its library minor,/docs/<major.minor>/llms.txt.
1.0.0-alpha.0
Major Changes
- #159
05eda1aThanks @phmilk! - First release under this name, for Warcraft III 3.0.0 and later.reforged-tsis the fork of w3ts 3.0.2;reforged-types,reforged-testandeslint-plugin-reforgedare new packages.
Patch Changes
- #133
8c2a87aThanks @wyller! - Mark the 3.0.0 Natives that return a per-client value@asyncand list them inasync-natives.json: the keyboard and mouse pollsBlzIsKeyPressed,BlzIsMetaKeyPressed,BlzIsMouseButtonPressed,BlzGetMouseScreenPosXandBlzGetMouseScreenPosY; the local camera'sGetCameraFieldControlledByInputandBlzCameraGetCameraType; and the resolution-dependent conversionsBlzPixelToFrameX,BlzPixelToFrameY,BlzFrameToPixelXandBlzFrameToPixelY.