{"id":10937,"date":"2022-02-26T19:43:55","date_gmt":"2022-02-26T19:43:55","guid":{"rendered":"https:\/\/daemonic.cc\/estore\/?page_id=10937"},"modified":"2026-11-24T16:08:39","modified_gmt":"2026-11-24T16:08:39","slug":"daemonic-api","status":"publish","type":"page","link":"https:\/\/daemonic.cc\/estore\/daemonic-api\/","title":{"rendered":"API Documentation"},"content":{"rendered":"<div class=\"wpb-content-wrapper\" id=\"wpb-content-root\">[vc_row][vc_column][vc_column_text]<\/p>\r\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis: 100%;\"><div class=\"wp-block wplmi-post-modified\" style=\"font-size: 14px; text-align: left\"><span class=\"wplmi-site-modified-prefix\">Last updated on: <\/span>November 24, 2026<\/div><\/div>\r\n<p><\/div>\r\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text css_params=&#8221;&#8221;]<\/p>\r\n<p><strong>Navigation Maps &amp; Extras<\/strong><\/p>\r\n<ul>\r\n<li><a href=\"https:\/\/mega.nz\/file\/BodjjRpS#m0KXPdp0wpHrgnq3JAUyPnkyR3YEjXvs1PX8VuDWx7c\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"link\" data-id=\"https:\/\/mega.nz\/file\/98NijSYS#beta6Izb3TUXcvKprMPf6NUi0S4N7TXe58C70LSRKF0\">Retail Maps<\/a><\/li>\r\n<li><a title=\"TBC\/Classic Maps\" href=\"https:\/\/mega.nz\/file\/IlcU3SZR#yOU_xTWwwCINHw-qiYbMNe2LRwGoOUvH8GorNMT8Y9w\" target=\"_blank\" rel=\"noopener\">Classic Maps<\/a><\/li>\r\n<li><a href=\"https:\/\/daemonic.dev\/downloads\/autoload-example1.lua\" data-type=\"URL\" data-id=\"https:\/\/daemonic.dev\/downloads\/autoload-example1.lua\">Autoloader Example 1<\/a>\u00a0(without HTTP)<\/li>\r\n<li><a href=\"https:\/\/daemonic.dev\/downloads\/autoload-example2.lua\" data-type=\"URL\" data-id=\"https:\/\/daemonic.dev\/downloads\/autoload-example2.lua\">Autoloader Example 2<\/a>\u00a0(with HTTP)<\/li>\r\n<li><a href=\"https:\/\/daemonic.dev\/downloads\/autologin.glue.lua\" data-type=\"URL\" data-id=\"https:\/\/daemonic.dev\/downloads\/autologin.glue.lua\">Autologin (Relogger)<\/a><\/li>\r\n<li><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=AmsTaFFix.daemonic-lua-api\">Daemonic VSCode Extension<\/a> by <a href=\"https:\/\/github.com\/AmsTaFFix\">AmsTaFFix<\/a>\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12689\" src=\"https:\/\/daemonic.cc\/estore\/wp-content\/uploads\/2022\/04\/24_0000.gif\" alt=\"\" width=\"22\" height=\"7\" \/><\/li>\r\n<\/ul>\r\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/6&#8243;][vc_column_text css_params=&#8221;&#8221;]<\/p>\r\n<ul>\r\n<li><strong>General<\/strong>\r\n<ul>\r\n<li><a href=\"#SecureCode\">SecureCode<\/a><\/li>\r\n<li><a href=\"#Interact\">Interact<\/a><\/li>\r\n<li><a href=\"#ClickPosition\">ClickPosition<\/a><\/li>\r\n<li><a href=\"#FaceDirection\">FaceDirection<\/a><\/li>\r\n<li><a href=\"#TraceLine\">TraceLine<\/a><\/li>\r\n<li><a href=\"#GetWowAccountId\">GetWowAccountId<\/a><\/li>\r\n<li><a href=\"#WorldToScreen\">WorldToScreen<\/a><\/li>\r\n<li><a href=\"#ScreenToWorld\">ScreenToWorld<\/a><\/li>\r\n<li><a href=\"#ObjectIsQuestObjective\">ObjectIsQuestObjective<\/a><\/li>\r\n<li><a href=\"#GetLastClickPosition\">GetLastClickPosition<\/a><\/li>\r\n<li><a href=\"#GetCorpsePosition\">GetCorpsePosition<\/a><\/li>\r\n<li><a href=\"#IsSpellPending\">IsSpellPending<\/a><\/li>\r\n<li><a href=\"#CancelPendingSpell\">CancelPendingSpell<\/a><\/li>\r\n<li><a href=\"#GetAngles\">GetAngles<\/a><\/li>\r\n<li><a href=\"#GetDistance2D\">GetDistance2D<\/a><\/li>\r\n<li><a href=\"#GetDistance3D\">GetDistance3D<\/a><\/li>\r\n<li><a href=\"#RequireCode\">RequireCode<\/a><\/li>\r\n<li><a href=\"#RequireCodeEnc\">RequireCodeEnc<\/a><\/li>\r\n<li><a href=\"#GetSpellDispelType\">GetSpellDispelType<\/a><\/li>\r\n<li><a href=\"#GameExpansion\">GameExpansion<\/a><\/li>\r\n<li><a href=\"#GameWindowSize\">GameWindowSize<\/a><\/li>\r\n<li><a href=\"#GetCameraData\">GetCameraData<\/a><\/li>\r\n<li><a href=\"#secretunwrap\">secretunwrap<\/a><\/li>\r\n<li><a href=\"#CombatLogGetCurrentEventInfo\">CombatLogGetCurrentEventInfo<\/a><\/li>\r\n<li><a href=\"#unwrap\">unwrap<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<li><strong>Units<\/strong>\r\n<ul>\r\n<li><a href=\"#GetUnitPosition\">GetUnitPosition<\/a><\/li>\r\n<li><a href=\"#GetUnitRawPosition\">GetUnitRawPosition<\/a><\/li>\r\n<li><a href=\"#UnitFacing\">UnitFacing<\/a><\/li>\r\n<li><a href=\"#UnitScale\">UnitScale<\/a><\/li>\r\n<li><a href=\"#UnitEffect\">UnitEffect<\/a><\/li>\r\n<li><a href=\"#UnitRawFacing\">UnitRawFacing<\/a><\/li>\r\n<li><a href=\"#UnitCreatureTypeId\">UnitCreatureTypeId<\/a><\/li>\r\n<li><a href=\"#SetTargetUnit\">SetTargetUnit<\/a><\/li>\r\n<li><a href=\"#ClearTargetUnit\">ClearTargetUnit<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<p>[\/vc_column_text][\/vc_column][vc_column width=&#8221;1\/6&#8243;][vc_column_text css_params=&#8221;&#8221;]<\/p>\r\n<ul>\r\n<li><strong>UnitFields<\/strong>\r\n<ul>\r\n<li><a href=\"#UnitField\">UnitPitch<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitSummonedBy<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitCreatedBy<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitTarget<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitHeight<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitFlags<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitFlags2<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitFlags3<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitFlags4<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitNpcFlags<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitDynamicFlags<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitAnimationFlags<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitIsSkinnable<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitBoundingRadius<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitCombatReach<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitIsLootable<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitCastingTarget<\/a><\/li>\r\n<li><a href=\"#UnitField\">GetDragonridingSpeed<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitIsMounted<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitIsOutdoors<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitIsSubmerged<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitStandStateType<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitIsSitting<\/a><\/li>\r\n<li><a href=\"#UnitField\">IsInteractable<\/a><\/li>\r\n<li><a href=\"#UnitField\">UnitSpecializationID<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<li><strong>Camera<\/strong>\r\n<ul>\r\n<li><a href=\"#GetCameraPosition\">GetCameraPosition<\/a><\/li>\r\n<li><a href=\"#GetCameraRotation\">GetCameraRotation<\/a><\/li>\r\n<li><a href=\"#SetCameraRotation\">SetCameraRotation<\/a><\/li>\r\n<li><a href=\"#SetPitch\">SetPitch<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<p>[\/vc_column_text][\/vc_column][vc_column width=&#8221;1\/6&#8243;][vc_column_text css_params=&#8221;&#8221;]<\/p>\r\n<ul>\r\n<li><strong>Objects<\/strong>\r\n<ul>\r\n<li><a href=\"#IsGuid\">IsGuid<\/a><\/li>\r\n<li><a href=\"#GetObjectCount\">GetObjectCount<\/a><\/li>\r\n<li><a href=\"#GetObjectWithIndex\">GetObjectWithIndex<\/a><\/li>\r\n<li><a href=\"#ObjectField\">ObjectField<\/a><\/li>\r\n<li><a href=\"#SetObjectField\">SetObjectField<\/a><\/li>\r\n<li><a href=\"#ObjectName\">ObjectName<\/a><\/li>\r\n<li><a href=\"#ObjectMover\">ObjectMover<\/a><\/li>\r\n<li><a href=\"#ObjectType\">ObjectType<\/a><\/li>\r\n<li><a href=\"#ObjectExists\">ObjectExists<\/a><\/li>\r\n<li><a href=\"#GameObjectType\">GameObjectType<\/a><\/li>\r\n<li><a href=\"#ObjectID\">ObjectID<\/a><\/li>\r\n<li><a href=\"#GetMissileCount\">GetMissileCount<\/a><\/li>\r\n<li><a href=\"#GetMissileWithIndex\">GetMissileWithIndex<\/a><\/li>\r\n<li><a href=\"#GetAuraCount\">GetAuraCount<\/a><\/li>\r\n<li><a href=\"#GetAuraWithIndex\">GetAuraWithIndex<\/a><\/li>\r\n<li><a href=\"#GetAllPrivateAuras\">GetAllPrivateAuras<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<li><strong>Movement<\/strong>\r\n<ul>\r\n<li><a href=\"#MoveTo\">MoveTo<\/a><\/li>\r\n<li><a href=\"#GetMapID\">GetMapID<\/a><\/li>\r\n<li><a href=\"#GetUnitMovementFlags\">GetUnitMovementFlags<\/a><\/li>\r\n<li><a href=\"#FindPath\">FindPath<\/a><\/li>\r\n<li><a href=\"#GetPathNode\">GetPathNode<\/a><\/li>\r\n<li><a href=\"#FindClosestPointOnMesh\">FindClosestPointOnMesh<\/a><\/li>\r\n<li><a href=\"#SetMapsPath\">SetMapsPath<\/a><\/li>\r\n<li><a href=\"#GetTileByPosition\">GetTileByPosition<\/a><\/li>\r\n<li><a href=\"#UnloadMaps\">UnloadMaps<\/a><\/li>\r\n<li><a href=\"#SendMovementHeartbeat\">SendMovementHeartbeat<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<li><strong>Network<\/strong>\r\n<ul>\r\n<li><a href=\"#Synchronous&amp;Asynchronous\">InetRequest<\/a><\/li>\r\n<li><a href=\"#Synchronous&amp;Asynchronous\">InetGetRequest<\/a><\/li>\r\n<li><a href=\"#Synchronous&amp;Asynchronous\">InetSync<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<p>[\/vc_column_text][\/vc_column][vc_column width=&#8221;1\/6&#8243;][vc_column_text css_params=&#8221;&#8221;]<\/p>\r\n<ul>\r\n<li><strong>Crypto<\/strong>\r\n<ul>\r\n<li><a href=\"#EncryptAutoLoad\">EncryptAutoLoad<\/a><\/li>\r\n<li><a href=\"#EncryptString\">EncryptString<\/a><\/li>\r\n<li><a href=\"#DecryptString\">DecryptString<\/a><\/li>\r\n<li><a href=\"#HashString\">HashString<\/a><\/li>\r\n<li><a href=\"#HmacString\">HmacString<\/a><\/li>\r\n<li><a href=\"#Base64EncodeString\">Base64EncodeString<\/a><\/li>\r\n<li><a href=\"#Base64DecodeString\">Base64DecodeString<\/a><\/li>\r\n<li><a href=\"#LoadString\">LoadString<\/a><\/li>\r\n<li><a href=\"#DecryptAndLoadString\">DecryptAndLoadString<\/a><\/li>\r\n<li><a href=\"#EncryptCode\">EncryptCode<\/a><\/li>\r\n<li><a href=\"#LoadStringEnc\">LoadStringEnc<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<li><strong>File System<\/strong>\r\n<ul>\r\n<li><a href=\"#ReadFile\">ReadFile<\/a><\/li>\r\n<li><a href=\"#WriteFile\">WriteFile<\/a><\/li>\r\n<li><a href=\"#RenameFile\">RenameFile<\/a><\/li>\r\n<li><a href=\"#GetWowDirectory\">GetWowDirectory<\/a><\/li>\r\n<li><a href=\"#GetExeDirectory\">GetExeDirectory<\/a><\/li>\r\n<li><a href=\"#GetDirectoryFiles\">GetDirectoryFiles<\/a><\/li>\r\n<li><a href=\"#GetDirectoryFolders\">GetDirectoryFolders<\/a><\/li>\r\n<li><a href=\"#FileExists\">FileExists<\/a><\/li>\r\n<li><a href=\"#CreateDirectory\">CreateDirectory<\/a><\/li>\r\n<li><a href=\"#DirectoryExists\">DirectoryExists<\/a><\/li>\r\n<li><a href=\"#IsWritablePath\">IsWritablePath<\/a><\/li>\r\n<li><a href=\"#DeleteFile\">DeleteFile<\/a><\/li>\r\n<li><a href=\"#DeleteDirectory\">DeleteDirectory<\/a><\/li>\r\n<li><a href=\"#RequireFile\">RequireFile<\/a><\/li>\r\n<li><a href=\"#RequireFileEnc\">RequireFileEnc<\/a><\/li>\r\n<li><a href=\"#CopyFile\">CopyFile<\/a><\/li>\r\n<li><a href=\"#CopyDirectory\">CopyDirectory<\/a><\/li>\r\n<li><a href=\"#RemoveDirectory\">RemoveDirectory<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<p>[\/vc_column_text][\/vc_column][vc_column width=&#8221;1\/6&#8243;][vc_column_text css_params=&#8221;&#8221;]<\/p>\r\n<ul>\r\n<li><strong>Misc<\/strong>\r\n<ul>\r\n<li><a href=\"#ResetAfk\">ResetAfk<\/a><\/li>\r\n<li><a href=\"#GetKeyState\">GetKeyState<\/a><\/li>\r\n<li><a href=\"#IsWindowActive\">IsWindowActive<\/a><\/li>\r\n<li><a href=\"#ActivateWindow\">ActivateWindow<\/a><\/li>\r\n<li><a href=\"#PlayWinSound\">PlayWinSound<\/a><\/li>\r\n<li><a href=\"#GetSessionID\">GetSessionID<\/a><\/li>\r\n<li><a href=\"#GetSessionIndex\">GetSessionIndex<\/a><\/li>\r\n<li><a href=\"#ReadMemory\">ReadMemory<\/a><\/li>\r\n<li><a href=\"#SetClipboardText\">SetClipboardText<\/a><\/li>\r\n<li><a href=\"#GetClipboardText\">GetClipboardText<\/a><\/li>\r\n<li><a href=\"#KillSession\">KillSession<\/a><\/li>\r\n<li><a href=\"#GetProductStatus\">GetProductStatus<\/a><\/li>\r\n<li><a href=\"#WipeString\">WipeString<\/a><\/li>\r\n<li><a href=\"#IsInWorld\">IsInWorld<\/a><\/li>\r\n<li><a href=\"#CompressString\">CompressString<\/a><\/li>\r\n<li><a href=\"#DecompressString\">DecompressString<\/a><\/li>\r\n<li><a href=\"#GetScreenshot\">GetScreenshot<\/a><\/li>\r\n<li><a href=\"#MinimizeWindow\">MinimizeWindow<\/a><\/li>\r\n<li><a href=\"#MoveWindow\">MoveWindow<\/a><\/li>\r\n<li><a href=\"#Draw\">Draw<\/a><\/li>\r\n<li><a href=\"#JsonEncode\">JsonEncode<\/a><\/li>\r\n<li><a href=\"#JsonDecode\">JsonDecode<\/a><\/li>\r\n<li><a href=\"#EnableAntiCapture\">EnableAntiCapture<\/a><\/li>\r\n<li><a href=\"#GetHWID\">GetHWID<\/a><\/li>\r\n<li><a href=\"#SetGlobalVar\">SetGlobalVar<\/a><\/li>\r\n<li><a href=\"#GetGlobalVar\">GetGlobalVar<\/a><\/li>\r\n<li><a href=\"#ReloadGame\">ReloadGame <\/a><\/li>\r\n<li><a href=\"#IsInGlue\">IsInGlue <\/a><\/li>\r\n<li><a href=\"#SetMouseover\">SetMouseover<\/a><\/li>\r\n<li><a href=\"#GetMouseover\">GetMouseover<\/a><\/li>\r\n<li><a href=\"#SetFocus\">SetFocus<\/a><\/li>\r\n<li><a href=\"#GetFocus\">GetFocus<\/a><\/li>\r\n<li><a href=\"#SetNPC\">SetNPC<\/a><\/li>\r\n<li><a href=\"#GetNPC\">GetNPC<\/a><\/li>\r\n<li><a href=\"#C_SecureTransfer\">C_SecureTransfer<\/a><\/li>\r\n<li><a href=\"#C_WowTokenSecure\">C_WowTokenSecure<\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text css_params=&#8221;&#8221;]<\/p>\r\n<h2 id=\"SecureCode\" class=\"wp-block-heading\">SecureCode<\/h2>\r\n<p><strong>Description:<\/strong> Allows you to unlock WoW protected APIs.<br \/>\r\n<strong>Usage: <\/strong>SecureCode(WoWProtectedAPI)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSecureCode(\"JumpOrAscendStart\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"Interact\" class=\"wp-block-heading\">Interact<\/h2>\r\n<p><strong>Description:<\/strong> Interact with any unit.<br \/>\r\n<strong>Usage: <\/strong>Interact(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nInteract(\"target\")\r\n-- or \r\nlocal guid = UnitGUID(\"target\")\r\nInteract(guid)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ClickPosition\" class=\"wp-block-heading\">ClickPosition<\/h2>\r\n<p><strong>Description:<\/strong> Left clicks a position in the world. This is mainly useful for casting area of effect spells.<br \/>\r\n<strong>Usage:<\/strong> ClickPosition(x, y, z)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y, z = GetUnitPosition(\"target\")\r\nClickPosition(x, y, z)\r\nprint(x, y, z)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"FaceDirection\" class=\"wp-block-heading\">FaceDirection<\/h2>\r\n<p><strong>Description:<\/strong> Sets the facing of active player towards his target.<br \/>\r\n<strong>Usage:<\/strong> FaceDirection(radians, update)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal function FaceUnit()\r\n   local ax, ay, az = GetUnitPosition(\"player\")\r\n   local bx, by, bz = GetUnitPosition(\"target\")\r\n   local dx, dy, dz = ax-bx, ay-by, az-bz\r\n   local radians = math.atan2(-dy, -dx)\r\n   if radians &lt; 0 then radians = radians + math.pi * 2 end\r\n   FaceDirection(radians) -- update by default is true, change it to false if you don't want to update movement.\r\nend\r\nFaceUnit()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"TraceLine\" class=\"wp-block-heading\">TraceLine<\/h2>\r\n<p><strong>Description:<\/strong> Traces a line from one point to another and checking if there is anything in player way<br \/>\r\n<strong>Usage:<\/strong> TraceLine(sx, sy, sz, ex, ey, ez, flags) \/\/ s=start point, e= ending point.<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Flags\r\n\r\nM2Collision = 0x1\r\nM2Render = 0x2\r\nWMOCollision = 0x10\r\nWMORender = 0x20\r\nTerrain = 0x100\r\nWaterWalkableLiquid = 0x10000\r\nLiquid = 0x20000\r\nEntityCollision = 0x100000<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal function Los()\r\n   local ax, ay, az = GetUnitPosition(\"player\")\r\n   local bx, by, bz = GetUnitPosition(\"target\")\r\n   local flags = bit.bor(0x10, 0x100, 0x1)\r\n   local hit,x,y,z = TraceLine(ax,ay,az+2.25,bx,by,bz+2.25,flags);\r\n   return hit == 0\r\nend\r\nprint(Los())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"UnitFacing\" class=\"wp-block-heading\">UnitFacing<\/h2>\r\n<p><strong>Description:<\/strong> Returns the direction a unit is facing.<br \/>\r\n<strong>Usage:<\/strong> UnitFacing(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal function IsUnitFacing()\r\n   local ax, ay, az = GetUnitPosition(\"player\")\r\n   local bx, by, bz = GetUnitPosition(\"target\")\r\n   local dx, dy, dz = ax-bx, ay-by, az-bz\r\n   local rotation = UnitFacing(\"player\");\r\n   local value = (dy*math.sin(-rotation) - dx*math.cos(-rotation)) \/\r\n   math.sqrt(dx*dx + dy*dy)\r\n   local isFacing = value &gt; 0.25\r\n   return isFacing\r\nend\r\nprint(IsUnitFacing())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"UnitScale\" class=\"wp-block-heading\">UnitScale<\/h2>\r\n<p><strong>Description:<\/strong> Returns the scale of a unit.<br \/>\r\n<strong>Usage:<\/strong> UnitScale(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(UnitScale('target'))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetKeyState\" class=\"wp-block-heading\">GetKeyState<\/h2>\r\n<p><strong>Description:<\/strong> Returns the state of a key such as &#8220;RALT&#8221;, &#8220;RCONTROL&#8221;, &#8220;RSHIFT&#8221;..etc and returns a boolean.<br \/>\r\n<strong>Usage:<\/strong> GetKeyState(key)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal isAltDown = (GetKeyState(\"LALT\") == 1)\r\nprint(isAltDown)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetWowAccountId\" class=\"wp-block-heading\">GetWowAccountId<\/h2>\r\n<p><strong>Description:<\/strong> Returns bnet account tag, id and wow account.<br \/>\r\n<strong>Usage:<\/strong> GetWowAccountId()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetWowAccountId())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetUnitPosition\" class=\"wp-block-heading\">GetUnitPosition<\/h2>\r\n<p><strong>Description:<\/strong> Returns unit position.<br \/>\r\n<strong>Usage:<\/strong> GetUnitPosition(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y, z = GetUnitPosition(\"player\")\r\nprint(x,y,z)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetCameraPosition\" class=\"wp-block-heading\">GetCameraPosition<\/h2>\r\n<p><strong>Description:<\/strong> Returns x, y, z camera position.<br \/>\r\n<strong>Usage:<\/strong> GetCameraPosition()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y, z = GetCameraPosition()\r\nprint(x,y,z)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetLastClickPosition\" class=\"wp-block-heading\">GetLastClickPosition<\/h2>\r\n<p><strong>Description:<\/strong> Returns last mouse click position.<br \/>\r\n<strong>Usage:<\/strong> GetLastClickPosition()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y, z = GetLastClickPosition()\r\nprint(x,y,z)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetCorpsePosition\" class=\"wp-block-heading\">GetCorpsePosition<\/h2>\r\n<p><strong>Description:<\/strong> Returns corpse position.<br \/>\r\n<strong>Usage:<\/strong> GetCorpsePosition()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y, z = GetCorpsePosition()\r\nprint(x,y,z)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"IsSpellPending\" class=\"wp-block-heading\">IsSpellPending<\/h2>\r\n<p><strong>Description:<\/strong> Checks if a cursor spell cast is pending.<br \/>\r\n<strong>Usage:<\/strong> IsSpellPending()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSpellfunc = function()\r\n  local pending = IsSpellPending()\r\n  if pending == 64 then\r\n    CancelPendingSpell()\r\n  end\r\nend\r\nSpellfunc()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"CancelPendingSpell\" class=\"wp-block-heading\">CancelPendingSpell<\/h2>\r\n<p><strong>Description:<\/strong> Cancels a cursor spell cast that is pending.<br \/>\r\n<strong>Usage:<\/strong> CancelPendingSpell()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSpellfunc = function()\r\n  local pending = IsSpellPending()\r\n  if pending == 64 then\r\n    CancelPendingSpell()\r\n  end\r\nend\r\nSpellfunc()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetAngles\" class=\"wp-block-heading\">GetAngles<\/h2>\r\n<p><strong>Description:<\/strong> Calculates angles between two units or two positions.<br \/>\r\n<strong>Usage:<\/strong> GetAngles(x1, y1, z1, x2, y2, z2) or GetAngles(unit1, unit2)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal facing, pitch = GetAngles(\"player\",\"target\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetCameraRotation\" class=\"wp-block-heading\">GetCameraRotation<\/h2>\r\n<p><strong>Description:<\/strong> Returns camera rotation.<br \/>\r\n<strong>Usage:<\/strong> GetCameraRotation()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y, z = GetCameraRotation()\r\nprint(x,y,z)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"SetCameraRotation\" class=\"wp-block-heading\">SetCameraRotation<\/h2>\r\n<p><strong>Description:<\/strong> Sets camera rotation.<br \/>\r\n<strong>Usage:<\/strong> SetCameraRotation(x,y,z)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSetCameraRotation(0, 0, 0)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"SetPitch\" class=\"wp-block-heading\">SetPitch<\/h2>\r\n<p><strong>Description:<\/strong> Sets the player vertical pitch, in radian.<br \/>\r\n<strong>Usage:<\/strong> SetPitch(angle)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSetPitch(1.5)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"WorldToScreen\" class=\"wp-block-heading\">WorldToScreen<\/h2>\r\n<p><strong>Description: <\/strong>Returns the screen location of a 3d game location on the screen.<br \/>\r\n<strong>Usage:<\/strong> WorldToScreen(x, y, z)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal function MainWorldToScreen(wX, wY, wZ)\r\n  local sX, sY, Visible = WorldToScreen(wX, wY, wZ)\r\n  if not Visible and (not sX or sX == 0) and (not sY or sY == 0) then\r\n    return false, false, false\r\n  end\r\n  return sX, -sY, Visible\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ScreenToWorld\" class=\"wp-block-heading\">ScreenToWorld<\/h2>\r\n<p><strong>Description: <\/strong>Returns the screen 2D coordinates to 3D world coordinates.<br \/>\r\n<strong>Usage:<\/strong> ScreenToWorld(x, y, flags)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Flags\r\n\r\nM2Collision = 0x1\r\nM2Render = 0x2\r\nWMOCollision = 0x10\r\nWMORender = 0x20\r\nTerrain = 0x100\r\nWaterWalkableLiquid = 0x10000\r\nLiquid = 0x20000\r\nEntityCollision = 0x100000<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y = GetCursorPosition()\r\nlocal flags = bit.bor(0x10, 0x100, 0x1)\r\nlocal wx, wy, wz = ScreenToWorld(x, y, flags)\r\nprint(wx, wy, wz)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ObjectIsQuestObjective\" class=\"wp-block-heading\">ObjectIsQuestObjective<\/h2>\r\n<p><strong>Description: <\/strong>Identifies GameObjects that are Quest Objectives<br \/>\r\n<strong>Usage:<\/strong> ObjectIsQuestObjective(object)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nfor i = 1, GetObjectCount(), 1 do\r\n  local object = GetObjectWithIndex(i)\r\n  if ObjectIsQuestObjective(object) then \r\n    print(object)\r\n  end\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"SetTargetUnit\" class=\"wp-block-heading\">SetTargetUnit<\/h2>\r\n<p><strong>Description: <\/strong>Sets a unit as a target.<br \/>\r\n<strong>Usage:<\/strong> SetTargetUnit(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSetTargetUnit(\"player\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"Synchronous&amp;Asynchronous\" class=\"wp-block-heading\">Synchronous and Asynchronous<\/h2>\r\n<p><strong>Description:<\/strong> Enables your bot to interact with HTTPS protocol.<br \/>\r\n<strong>Usage:<\/strong> Refer to below example<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Asynchronous Example:\r\n\r\nlocal function httpAsync(method, url, parameters, headers, callback)\r\n   local id = InetRequest(method, url, parameters, headers)\r\n   local function check()\r\n      local res, status = InetGetRequest(id)\r\n      if res then\r\n         callback(res, status)\r\n      else\r\n         C_Timer.After(0.04, check)\r\n      end\r\n   end\r\n   C_Timer.After(0.04, check)\r\nend\r\n\r\nlocal function httpHandler(res, status)\r\n    if status == 200 then\r\n      print(res)\r\n   else\r\n      print(\"Wrong Status '\" .. status .. \"' in response!\")\r\n   end\r\nend\r\n\r\nhttpAsync(\r\n   \"GET\",\r\n   \"example.com\/\", -- DO NOT USE PROTOCOL BEFORE THE DOMAIN\r\n   \"\",\r\n   \"\",\r\nhttpHandler)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"IsGuid\" class=\"wp-block-heading\">IsGuid<\/h2>\r\n<p><strong>Description:<\/strong> Verifies that a variable is a valid GUID. Returns 1 or nill.<br \/>\r\n<strong>Usage: <\/strong>IsGuid(guid)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\n-- GUID\r\nprint(IsGuid(\"Creature-X-XXXX-XXXX-XX-XXXXXX-XXXXXXXXXX\"))\r\n\r\n-- Adding UnitGUID\r\nprint(IsGuid(UnitGUID(\"player\")))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetObjectCount\" class=\"wp-block-heading\">GetObjectCount<\/h2>\r\n<p><strong>Description:<\/strong> Returns the count of all world objects, as well as the changes compared to the last call.<br \/>\r\n<strong>Usage:<\/strong> GetObjectCount()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetObjectCount())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetObjectWithIndex\" class=\"wp-block-heading\">GetObjectWithIndex<\/h2>\r\n<p><strong>Description:<\/strong> Returns a specific world object by its index in the saved memory objects from the previous call to&nbsp;<code>GetObjectCount<\/code>.<br \/>\r\n<strong>Usage:<\/strong> GetObjectWithIndex(index)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nfor i = 1, GetObjectCount(), 1 do\r\n   local guid = GetObjectWithIndex(i)\r\n   if IsGuid(guid) then\r\n      print(guid)\r\n   end\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ObjectField\" class=\"wp-block-heading\">ObjectField<\/h2>\r\n<p><strong>Description:<\/strong> Reads raw memory of a unit.<br \/>\r\n<strong>Usage:<\/strong> ObjectField(unit, offset, type)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Lua Types\r\nBool = 1\r\nChar = 2\r\nByte = 3\r\nShort = 4\r\nUShort = 5\r\nInt = 6\r\nUInt = 7\r\nLong = 8\r\nULong = 9\r\nFloat = 10\r\nDouble = 11\r\nStringType = 12\r\nIntPtr = 13\r\nUIntPtr = 14\r\nGUID = 15<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(ObjectField(\"player\", 0x18, 15)) -- Will print GUID<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"UnitField\" class=\"wp-block-heading\">UnitField &#8211; Category Only (Not API)<\/h2>\r\n<p><strong>Description:<\/strong> Returns unit field of API*.<br \/>\r\n<strong>Usage:<\/strong> API*(unit)<br \/>\r\n<strong>API*<\/strong>: Any listed API under <em>UnitField<\/em>.<br \/>\r\n<strong>Note:<\/strong> You can find unit defines <a title=\"here\" href=\"https:\/\/github.com\/ElunaLuaEngine\/ElunaTrinityWotlk\/blob\/master\/src\/server\/game\/Entities\/Unit\/UnitDefines.h\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(UnitPitch(\"target\"))\r\nprint(UnitSummonedBy(\"target\"))\r\nprint(UnitCreatedBy(\"target\"))\r\nprint(UnitTarget(\"target\"))\r\nprint(UnitHeight(\"target\"))\r\nprint(UnitFlags(\"target\"))\r\nprint(UnitFlags2(\"target\"))\r\nprint(UnitFlags3(\"target\"))\r\nprint(UnitFlags4(\"target\"))\r\nprint(UnitNpcFlags(\"target\"))\r\nprint(UnitBoundingRadius(\"target\"))\r\nprint(UnitCombatReach(\"target\"))\r\nprint(UnitDynamicFlags(\"target\"))\r\nprint(UnitAnimationFlags(\"target\"))\r\nprint(UnitIsSkinnable(\"target\"))\r\nprint(UnitIsLootable(\"target\"))\r\nprint(UnitCastingTarget(\"target\"))\r\nprint(UnitIsMounted(\"target\"))\r\nprint(UnitIsOutdoors(\"target\"))\r\nprint(UnitIsSubmerged(\"target\"))\r\nprint(UnitStandStateType(\"target\"))\r\nprint(UnitIsSitting(\"target\"))\r\nprint(IsInteractable(\"target\"))\r\nprint(UnitSpecializationID(\"player\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"UnitCreatureTypeId\" class=\"wp-block-heading\">UnitCreatureTypeId<\/h2>\r\n<p><strong>Description:<\/strong> Returns creature type.<br \/>\r\n<strong>Usage:<\/strong> UnitCreatureTypeId(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">Beast = 1\r\nDragonkin = 2\r\nDemon = 3\r\nElemental = 4\r\nGiant = 5\r\nUndead = 6\r\nHumanoid = 7\r\nCritter = 8\r\nMechanical = 9\r\nNot-specified = 10\r\nTotem = 11\r\nNon-combat Pet = 12\r\nGas Cloud = 13\r\nWild Pet = 14 -- Retail Only\r\nAberration = 15 -- Retail Only<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(UnitCreatureTypeId(\"target\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ObjectName\" class=\"wp-block-heading\">ObjectName<\/h2>\r\n<p><strong>Description:<\/strong> Returns the display name of a unit.<br \/>\r\n<strong>Usage:<\/strong> ObjectName(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(ObjectName(\"player\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ObjectType\" class=\"wp-block-heading\">ObjectType<\/h2>\r\n<p><strong>Description:<\/strong> Returns unit type.<br \/>\r\n<strong>Usage:<\/strong> ObjectType(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Object Types\r\n\r\nObject = 0\r\nItem = 1\r\nContainer = 2\r\nAzeriteEmpoweredItem = 3\r\nAzeriteItem = 4\r\nUnit = 5\r\nPlayer = 6\r\nActivePlayer = 7\r\nGameObject = 8\r\nDynamicObject = 9\r\nCorpse = 10\r\nAreaTrigger = 11\r\nSceneObject = 12\r\nConversation = 13\r\nAiGroup = 14\r\nScenario = 15\r\nLoot = 16\r\nInvalid = 17<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(ObjectType(\"player\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ObjectExists\" class=\"wp-block-heading\">ObjectExists<\/h2>\r\n<p><strong>Description:<\/strong> Checks if object exits.<br \/>\r\n<strong>Usage:<\/strong> ObjectExists(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(ObjectExists(\"target\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GameObjectType\" class=\"wp-block-heading\">GameObjectType<\/h2>\r\n<p><strong>Description:<\/strong> Returns game object type.<br \/>\r\n<strong>Usage:<\/strong> GameObjectType(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">Door = 0\r\nButton = 1\r\nQuestgiver = 2\r\nChest = 3 -- Herbs, Minerals, Chests\r\nBinder = 4\r\nGeneric = 5\r\nTrap = 6\r\nChair = 7\r\nSpellFocus = 8\r\nText = 9\r\nGoober = 10\r\nTransportElevator = 11\r\nAreaDamage = 12\r\nCamera = 13\r\nMapobject = 14\r\nMoTransportShip = 15\r\nDuelFlag = 16\r\nFishingNode = 17\r\nRitual = 18\r\nMailbox = 19\r\nDONOTUSE1 = 20\r\nGuardPost = 21\r\nSpellCaster = 22\r\nMeetingStone = 23\r\nFlagStand = 24\r\nFishingHole = 25\r\nFlagDrop = 26\r\nDONOTUSE2 = 27\r\nDONOTUSE3 = 28\r\nControlZone = 29\r\nAuraGenerator = 30\r\nDungeonDifficulty = 31\r\nBarberChair = 32\r\nDestructibleBuilding = 33\r\nGuildBank = 34\r\nTrapdoor = 35\r\nNewflag = 36\r\nNewflagdrop = 37\r\nGarrisonBuilding = 38\r\nGarrisonPlot = 39\r\nClientCreature = 40\r\nClientItem = 41\r\nCapturePoint = 42\r\nPhaseableMO = 43\r\nGarrisonMonument = 44\r\nGarrisonShipment = 45\r\nGarrisonMonumentPlaque = 46\r\nItemForge = 47\r\nUILink = 48\r\nKeystoneReceptacle = 49\r\nGatheringNode = 50\r\nChallengeModeReward = 51\r\nMulti = 52\r\nSeigableMulti = 53\r\nSeigableMo = 54\r\nPvpReward = 55\r\nPlayerChoiceChest = 56\r\nLegendaryForge = 57\r\nGearTalentTree = 58\r\nWeeklyRewardChest = 59\r\nClientModel = 60<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nfor i = 1, GetObjectCount(), 1 do\r\n   local guid = GetObjectWithIndex(i)\r\n   if ObjectType(guid) == 8 then\r\n      print(ObjectName(guid), GameObjectType(guid))\r\n   end\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ObjectID\" class=\"wp-block-heading\">ObjectID<\/h2>\r\n<p><strong>Description:<\/strong> Returns the id of an object.<br \/>\r\n<strong>Usage:<\/strong> ObjectID(object)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nfor i = 1, GetObjectCount(), 1 do\r\n   local guid = GetObjectWithIndex(i)\r\n   if ObjectType(guid) == 8 then\r\n      print(ObjectName(guid), GameObjectType(guid), ObjectID(guid))\r\n   end\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetMissileCount\" class=\"wp-block-heading\">GetMissileCount<\/h2>\r\n<p><strong>Description:<\/strong> Returns the number of missiles.<br \/>\r\n<strong>Usage:<\/strong> GetMissileCount()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetMissileCount())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetMissileWithIndex\" class=\"wp-block-heading\">GetMissileWithIndex<\/h2>\r\n<p><strong>Description:<\/strong> Returns the info of a specific missile.<br \/>\r\n<strong>Usage:<\/strong> GetObjectWithIndex(index)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal draw = Draw:New()\r\nDrawMissiles = function()\r\n   local missileCount = GetMissileCount()\r\n   draw:ClearCanvas()\r\n   draw:SetColor(0, 255, 0, 255)\r\n   if missileCount ~= 0 then\r\n      for i = 1, missileCount do\r\n         local spellID, spellVisualID, x, y, z, caster, sx, sy, sz, target, tx, ty, tz = GetMissileWithIndex(i)\r\n         local facing = GetAngles(sx, sy, sz, x, y, z)\r\n         if facing ~= 0 then\r\n            draw:Arrow(x, y, z, facing, 2)\r\n            draw:Text(\"Missile\", \"GameFontNormal\", x, y, z)\r\n         end\r\n      end\r\n   end\r\n   C_Timer.After(0.01, DrawMissiles)\r\nend\r\n\r\nDrawMissiles()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"MoveTo\" class=\"wp-block-heading\">MoveTo<\/h2>\r\n<p><strong>Description:<\/strong> Clicks to move.<br \/>\r\n<strong>Usage:<\/strong> MoveTo(x, y, z)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y, z = GetUnitPosition(\"target\")\r\nMoveTo(x, y, z)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetUnitMovementFlags\" class=\"wp-block-heading\">GetUnitMovementFlags<\/h2>\r\n<p><strong>Description: <\/strong>Returns unit movement flags.<br \/>\r\n<strong>Usage:<\/strong> GetUnitMovementFlags(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Movement Flags:\r\n\r\nForward = 0x1\r\nBackward = 0x2\r\nStrafeLeft = 0x4\r\nStrafeRight = 0x8\r\nTurnLeft = 0x10\r\nTurnRight = 0x20\r\nPitchUp = 0x40\r\nPitchDown = 0x80\r\nWalking = 0x100\r\nImmobilized = 0x400\r\nFalling = 0x800\r\nFallingFar = 0x1000\r\nSwimming = 0x100000\r\nAscending = 0x200000\r\nDescending = 0x400000\r\nCanFly = 0x800000\r\nFlying = 0x1000000<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetUnitMovementFlags(\"player\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"FindPath\" class=\"wp-block-heading\">FindPath<\/h2>\r\n<p><strong>Description:<\/strong> Finds a path between two positions for the given map ID<br \/>\r\n<strong>Usage:<\/strong> FindPath(mapId,x1, y1, z1, x2, y2, z2)<br \/>\r\n<strong>Note:<\/strong> By default, it will not swim in all liquids. To make it swim add a \u201ctrue\u201d parameter to end of FindPath parameters.<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nfunction navToTarget()\r\n   local px, py, pz = GetUnitPosition('player')\r\n   local tx, ty, tz = GetUnitPosition('target')\r\n   local mapId = GetMapID()\r\n   local PathCnt = FindPath(mapId, px, py, pz, tx, ty, tz)\r\n   if PathCnt == nil then\r\n      print('Invalid or nil arguments!')\r\n      return\r\n   end\r\n   if PathCnt == 0 then\r\n      print('Navigation Finished.')\r\n      return\r\n   end\r\n   if PathCnt == -1 then\r\n      print('Map files not exists or invalid!')\r\n      return\r\n   end\r\n   if PathCnt == -2 then\r\n      print('Out of memeory!')\r\n      return\r\n   end\r\n   if PathCnt == -3 then\r\n      print('Map caching...')\r\n   else\r\n      MoveTo(GetPathNode(2))\r\n   end\r\n   C_Timer.After(0.04, navToTarget)\r\nend\r\nnavToTarget()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetPathNode\" class=\"wp-block-heading\">GetPathNode<\/h2>\r\n<p><strong>Description:<\/strong> Returns a path with path index<br \/>\r\n<strong>Usage:<\/strong> GetPathNode(pathIndex) : x, y, z<br \/>\r\n<strong>Note: <\/strong>By default, it will not swim in all liquids. To make it swim add a &#8220;true&#8221; parameter to end of FindPath parameters.<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nfunction navToTarget()\r\n   local px, py, pz = GetUnitPosition('player')\r\n   local tx, ty, tz = GetUnitPosition('target')\r\n   local mapId = GetMapID()\r\n   local PathCnt = FindPath(mapId, px, py, pz, tx, ty, tz)\r\n   if PathCnt == nil then\r\n      print('Invalid or nil arguments!')\r\n      return\r\n   end\r\n   if PathCnt == 0 then\r\n      print('Navigation Finished.')\r\n      return\r\n   end\r\n   if PathCnt == -1 then\r\n      print('Map files not exists or invalid!')\r\n      return\r\n   end\r\n   if PathCnt == -2 then\r\n      print('Out of memeory!')\r\n      return\r\n   end\r\n   if PathCnt == -3 then\r\n      print('Map caching...')\r\n   else\r\n      MoveTo(GetPathNode(2))\r\n   end\r\n   C_Timer.After(0.04, navToTarget)\r\nend\r\nnavToTarget()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"SetMapsPath\" class=\"wp-block-heading\">SetMapsPath<\/h2>\r\n<p><strong>Description:<\/strong> Changes the default maps locations to any path you set.<br \/>\r\n<strong>Usage:<\/strong> SetMapsPath(path)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSetMapsPath(\"C:\\\\Maps\\\\\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ReadFile\" class=\"wp-block-heading\">ReadFile<\/h2>\r\n<p><strong>Description:<\/strong> Reads file and returns its content.<\/p>\r\n<p class=\"wp-block-paragraph\"><strong>Usage:<\/strong> ReadFile(path)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nReadFile(GetExeDirectory() .. \"example1.lua\")\r\n-- or\r\nReadFile(GetWowDirectory() .. \"example2.lua\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"WriteFile\" class=\"wp-block-heading\">WriteFile<\/h2>\r\n<p><strong>Description:<\/strong> Writes a string to a file.<\/p>\r\n<p class=\"wp-block-paragraph\"><strong>Usage:<\/strong> WriteFile(path, content, append)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nWriteFile(GetExeDirectory() .. \"example1.lua\", \"example1\", false)\r\n-- or\r\nWriteFile(GetWowDirectory() .. \"example2.lua\", \"example2\", false)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"RenameFile\" class=\"wp-block-heading\">RenameFile<\/h2>\r\n<p><strong>Description:<\/strong> Renames a file.<\/p>\r\n<p class=\"wp-block-paragraph\"><strong>Usage:<\/strong> RenameFile(currentName, newName)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nRenameFile(GetExeDirectory() .. \"example1.lua\", GetExeDirectory() .. \"example2.lua\")\r\n-- or\r\nRenameFile(GetWowDirectory() .. \"example2.lua\", GetWowDirectory() .. \"example1.lua\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetWowDirectory\" class=\"wp-block-heading\">GetWowDirectory<\/h2>\r\n<p><strong>Description:<\/strong> Shows the directory path of wow.<br \/>\r\n<strong>Usage:<\/strong> GetWowDirectory()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetWowDirectory())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetExeDirectory\" class=\"wp-block-heading\">GetExeDirectory<\/h2>\r\n<p><strong>Description:<\/strong> Returns Daemonic exe directory path<br \/>\r\n<strong>Usage:<\/strong> GetExeDirectory()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetExeDirectory())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetDirectoryFiles\" class=\"wp-block-heading\">GetDirectoryFiles<\/h2>\r\n<p><strong>Description: <\/strong>Lists files in directory.<br \/>\r\n<strong>Usage:<\/strong> GetDirectoryFolders(path, pattern)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetDirectoryFiles(GetExeDirectory() .. \"Example\", \"*\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetDirectoryFolders\" class=\"wp-block-heading\">GetDirectoryFolders<\/h2>\r\n<p><strong>Description: <\/strong>Lists folders in directory.<br \/>\r\n<strong>Usage:<\/strong> GetDirectoryFolders(path, pattern)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetDirectoryFolders(GetExeDirectory() .. \"Test\\\\\", \"*\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"FileExists\" class=\"wp-block-heading\">FileExists<\/h2>\r\n<p><strong>Description:<\/strong> Check if file exists in path.<br \/>\r\n<strong>Usage:<\/strong> FileExists(path)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(FileExists(GetExeDirectory() .. \"Example.lua\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"CreateDirectory\" class=\"wp-block-heading\">CreateDirectory<\/h2>\r\n<p><strong>Description: <\/strong>Create a directory in specified path.<br \/>\r\n<strong>Usage: <\/strong>CreateDirectory(path)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nCreateDirectory(GetExeDirectory() .. \"Example\")\r\n-- or\r\nCreateDirectory(GetWowDirectory() .. \"Example\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"DirectoryExists\" class=\"wp-block-heading\">DirectoryExists<\/h2>\r\n<p><strong>Description:<\/strong> Checks if directory exists in specified path.<br \/>\r\n<strong>Usage:<\/strong> DirectoryExists(path)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(DirectoryExists(GetExeDirectory() .. \"Example\"))\r\n-- or\r\nprint(DirectoryExists(GetWowDirectory() .. \"Example\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"IsWritablePath\" class=\"wp-block-heading\">IsWritablePath<\/h2>\r\n<p><strong>Description:<\/strong> Checks if path is writable.<br \/>\r\n<strong>Usage:<\/strong> IsWritablePath(path)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(IsWritablePath(GetExeDirectory() .. \"Example\"))\r\n-- or\r\nprint(IsWritablePath(GetWowDirectory() .. \"Example\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"DeleteFile\" class=\"wp-block-heading\">DeleteFile<\/h2>\r\n<p><strong>Description:<\/strong> Delete any targeted files in path.<br \/>\r\n<strong>Usage:<\/strong> DeleteFile(path)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nDeleteFile(GetExeDirectory() .. \"example1.lua\")\r\n-- or\r\nDeleteFile(GetWowDirectory() .. \"example2.lua\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"DeleteDirectory\" class=\"wp-block-heading\">DeleteDirectory<\/h2>\r\n<p><strong>Description:<\/strong> Delete any targeted directory in path.<br \/>\r\n<strong>Usage:<\/strong> DeleteDirectory(path)<br \/>\r\n<strong>Note:<\/strong> Directory must not contain any files to get deleted successfully.<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nDeleteDirectory(GetExeDirectory() .. \"example1\")\r\n-- or\r\nDeleteDirectory(GetWowDirectory() .. \"example2\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"EncryptAutoLoad\" class=\"wp-block-heading\">EncryptAutoLoad<\/h2>\r\n<p><strong>Description:<\/strong> Encrypt AutoLoad files for Daemonic client.<br \/>\r\n<strong>Usage:<\/strong> EncryptAutoLoad(inputFile path, outputFile path)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nEncryptAutoLoad(GetExeDirectory() .. \"files\\\\inputFile.lua\", GetExeDirectory() .. \"files\\\\outputFile.lua\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"EncryptString\" class=\"wp-block-heading\">EncryptString<\/h2>\r\n<p><strong>Description:<\/strong> Encrypt string using any of the three different encryption types shown below.<br \/>\r\n<strong>Usage:<\/strong> EncryptString(string, key, type, iv) &#8211; (iv) is optional.<br \/>\r\n<strong>Note:<\/strong> Key must be 32 character length. Third and Fourth parameters (type &amp; iv) are optional (type by default is 3). If (iv) is defined, type must be defined as well.<br \/>\r\n<strong>Types:<\/strong> 1. Encryption + Random Key, 2. Encryption + Compression + Key, 3. AES 256 Encryption + Key (default)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\n-- Simple example\r\nprint(EncryptString(\"test\", \"12345678901234567890123456789012\"))\r\n\r\n-- Advanced\r\nEncryptFile = function(inputFile, outputFile, Key)\r\n   S = EncryptString(ReadFile(inputFile), Key)\r\n   WriteFile(outputFile, S, false)\r\nend\r\n\r\nEncryptFile(GetExeDirectory() .. \"inputFile.lua\", GetExeDirectory() .. \"outputFile.lua\",  \"12345678901234567890123456789012\") \r\n-- Result is AES 256 encrypted outputFile.lua<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"DecryptString\" class=\"wp-block-heading\">DecryptString<\/h2>\r\n<p><strong>Description:<\/strong> Decrypt string.<br \/>\r\n<strong>Usage:<\/strong> DecryptString(string, key, type, iv) &#8211; (iv) is optional.<br \/>\r\n<strong>Note:<\/strong> Key must be 32 character length. Third and Fourth parameters (type &amp; iv) are optional (type by default is 3). If (iv) is defined, type must be defined as well.<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nDecryptFile = function(inputFile, outputFile, Key)\r\n   S = DecryptString(ReadFile(inputFile), Key)\r\n   WriteFile(outputFile, S, false)\r\nend\r\n\r\nDecryptFile(GetExeDirectory() .. \"outputFile.lua\", GetExeDirectory() .. \"outputFile2.lua\",  \"12345678901234567890123456789012\") \r\n-- Result is decrypted outputFile2.lua<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"HashString\" class=\"wp-block-heading\">HashString<\/h2>\r\n<p><strong>Description:<\/strong> Hash string using any of the three different Hash types as shown below.<br \/>\r\n<strong>Usage:<\/strong> HashString(string, type)<br \/>\r\n<strong>Types:<\/strong> 1. MD5, 2. SHA1, 3. SHA256 (default)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\n-- Simple example\r\nprint(HashString(\"test\", 3)) -- SHA256\r\n\r\n-- Advanced\r\nHashFile = function(inputFile, Type)\r\n   S = HashString(ReadFile(inputFile), Type)\r\n   return S\r\nend\r\n\r\nprint(HashFile(GetExeDirectory() .. \"inputFile.lua\",  3)) \r\n-- Result is SHA256 hashed inputFile.lua<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"HmacString\" class=\"wp-block-heading\">HmacString<\/h2>\r\n<p><strong>Description:<\/strong> Hash string using any of the three different Hash types as shown below.<br \/>\r\n<strong>Usage:<\/strong> HmacString(string, key, type)<br \/>\r\n<strong>Types:<\/strong> 1. HMAC-MD5, 2. HMAC-SHA1, 3. HMAC-SHA256 (default)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\n-- Simple example\r\nprint(HmacString(\"test\", \"12345678901234567890123456789012\", 3)) -- HMAC-SHA256\r\n\r\n-- Advanced\r\nHmacFile = function(inputFile, Key)\r\n   S = HmacString(ReadFile(inputFile), Key)\r\n   return S\r\nend\r\n\r\nprint(HmacFile(GetExeDirectory() .. \"inputFile.lua\", \"12345678901234567890123456789012\")) \r\n-- Result is HMAC-SHA256 inputFile.lua<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"Base64EncodeString\" class=\"wp-block-heading\">Base64EncodeString<\/h2>\r\n<p><strong>Description:<\/strong> Encode string to Base64.<br \/>\r\n<strong>Usage:<\/strong> Base64EncodeString(string)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(Base64EncodeString(\"Test\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"Base64DecodeString\" class=\"wp-block-heading\">Base64DecodeString<\/h2>\r\n<p><strong>Description:<\/strong> Decode Base64 string.<br \/>\r\n<strong>Usage:<\/strong> Base64DecodeString(string)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(Base64DecodeString(\"VGVzdA==\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"LoadString\" class=\"wp-block-heading\">LoadString<\/h2>\r\n<p><strong>Description:<\/strong> Loads lua string.<br \/>\r\n<strong>Usage:<\/strong> LoadString(string, debugName)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nLoader = LoadString(\"C_Timer.After(2, function() print('TEST') end)\")\r\nLoader() -- will print TEST after two seconds<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"DecryptAndLoadString\" class=\"wp-block-heading\">DecryptAndLoadString<\/h2>\r\n<p><strong>Description:<\/strong> Decrypt and loads lua string<br \/>\r\n<strong>Usage:<\/strong> DecryptAndLoadString(EncryptedluaCode, Key, Type, IV, debugName)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nLoader = DecryptAndLoadString(\"EpAzxgPMY8vftN8gZlR1N38krVgr38bCoJxls0f3Hcy0GQxv1pSenPF\/iTit4GTRZZ2rY1Ed5sgVUosPdn12UA==\", \"12345678901234567890123456789012\")\r\nLoader() -- will print TEST after two seconds<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ResetAfk\" class=\"wp-block-heading\">ResetAfk<\/h2>\r\n<p><strong>Description:<\/strong> Calling this will make your player not go AFK.<br \/>\r\n<strong>Usage:<\/strong> ResetAfk()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal function AntiAFK()\r\n   ResetAfk()\r\n   C_Timer.After(60, AntiAFK)\r\nend\r\nAntiAFK()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"IsWindowActive\" class=\"wp-block-heading\">IsWindowActive<\/h2>\r\n<p><strong>Description:<\/strong> Checks if game is active and foregrounded<br \/>\r\n<strong>Usage:<\/strong> IsWindowActive()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(IsWindowActive())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ActivateWindow\" class=\"wp-block-heading\">ActivateWindow<\/h2>\r\n<p><strong>Description:<\/strong> Force window to foreground.<br \/>\r\n<strong>Usage:<\/strong> ActivateWindow()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nC_Timer.After(5, function()\r\n    ActivateWindow()\r\nend)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"PlayWinSound\" class=\"wp-block-heading\">PlayWinSound<\/h2>\r\n<p><strong>Description:<\/strong> Plays .wave sound.<br \/>\r\n<strong>Usage:<\/strong> PlayWinSound(waveFilePath)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nPlayWinSound(GetExeDirectoy() .. \"start.wav\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetSessionID\" class=\"wp-block-heading\">GetSessionID<\/h2>\r\n<p><strong>Description:<\/strong> Returns a unique ID per game process. This ID is fixed until the game process is closed.<br \/>\r\n<strong>Usage:<\/strong> GetSessionID()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetSessionID())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetSessionIndex\" class=\"wp-block-heading\">GetSessionIndex<\/h2>\r\n<p><strong>Description:<\/strong> Returns the current session index.<br \/>\r\n<strong>Usage:<\/strong> GetSessionIndex()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal sidx = GetSessionIndex()\r\nprint(sidx)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ReadMemory\" class=\"wp-block-heading\">ReadMemory<\/h2>\r\n<p><strong>Description:<\/strong> Reads raw memory of any address.<br \/>\r\n<strong>Usage:<\/strong> ReadMemory(MemAddress, Offset, Type)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Lua Types\r\nBool = 1\r\nChar = 2\r\nByte = 3\r\nShort = 4\r\nUShort = 5\r\nInt = 6\r\nUInt = 7\r\nLong = 8\r\nULong = 9\r\nFloat = 10\r\nDouble = 11\r\nStringType = 12\r\nIntPtr = 13\r\nUIntPtr = 14\r\nGUID = 15<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(ReadMemory(0x12345678, 0, 14))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"SetClipboardText\" class=\"wp-block-heading\">SetClipboardText<\/h2>\r\n<p><strong>Description:<\/strong> Sets text to clipboard.<br \/>\r\n<strong>Usage:<\/strong> SetClipboardText(text)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSetClipboardText(\"Test\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetClipboardText\" class=\"wp-block-heading\">GetClipboardText<\/h2>\r\n<p><strong>Description:<\/strong> Returns text from clipboard.<br \/>\r\n<strong>Usage:<\/strong> GetClipboardText()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetClipboardText())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetDistance2D\" class=\"wp-block-heading\">GetDistance2D<\/h2>\r\n<p><strong>Description:<\/strong> Returns 2D distance between units\/objects.<br \/>\r\n<strong>Usage:<\/strong> GetDistance2D(x1, y1, z1, x2, y2, z2) or GetDistance2D(unit1, unit2)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nGetDistance2D(\"player\", \"target\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetDistance3D\" class=\"wp-block-heading\">GetDistance3D<\/h2>\r\n<p><strong>Description:<\/strong> Returns 3D distance between two units\/objects.<br \/>\r\n<strong>Usage:<\/strong> GetDistance3D(x1, y1, z1, x2, y2, z2) or GetDistance3D(unit1, unit2)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nGetDistance3D(\"player\", \"target\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetTileByPosition\" class=\"wp-block-heading\">GetTileByPosition<\/h2>\r\n<p><strong>Description:<\/strong> Returns player tile x,y coordinates.<br \/>\r\n<strong>Usage:<\/strong> GetTileByPosition(x,y,z)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y, z = GetUnitPosition(\"player\")\r\nprint(GetTileByPosition(x,y,z))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"UnloadMaps\" class=\"wp-block-heading\">UnloadMaps<\/h2>\r\n<p><strong>Description:<\/strong> Unload maps from memory.<br \/>\r\n<strong>Usage:<\/strong> UnloadMaps()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nUnloadMaps()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"KillSession\" class=\"wp-block-heading\">KillSession<\/h2>\r\n<p><strong>Description:<\/strong> Kills your session process.<br \/>\r\n<strong>Usage:<\/strong> KillSession()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nKillSession()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetProductStatus\" class=\"wp-block-heading\">GetProductStatus<\/h2>\r\n<p><strong>Description:<\/strong> Returns status of Daemonic product.<br \/>\r\n<strong>Usage:<\/strong> GetProductStatus(ProductNumber)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n-- 1: Retail\r\n-- 2: Wotlk &amp; Era (Classic)\r\n\r\nprint(GetProductStatus(1) == 0) -- returns true if you are using Daemonic Retail<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"IsInWorld\" class=\"wp-block-heading\">IsInWorld<\/h2>\r\n<p><strong>Description:<\/strong> Returns if player is in world.<br \/>\r\n<strong>Usage:<\/strong> IsInWorld()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nif IsInWorld() then\r\n  print(\"Player is in world..\")\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"WipeString\" class=\"wp-block-heading\">WipeString<\/h2>\r\n<p><strong>Description:<\/strong> Wipes string from game memory.<br \/>\r\n<strong>Usage:<\/strong> WipeString(string)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal key = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ123456\"\r\nWipeString(key)\r\nkey = nil<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetAuraCount\" class=\"wp-block-heading\">GetAuraCount<\/h2>\r\n<p><strong>Description:<\/strong> Returns the count of auras (including hidden ones).<br \/>\r\n<strong>Usage:<\/strong> GetAuraCount(unit, [spellId])<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal count = GetAuraCount('player')\r\nprint(count)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetAuraWithIndex\" class=\"wp-block-heading\">GetAuraWithIndex<\/h2>\r\n<p><strong>Description:<\/strong> Returns the spellID, count, duration and expiration time of a specific aura.<br \/>\r\n<strong>Usage:<\/strong> GetAuraWithIndex(index)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal count = GetAuraCount('player')\r\nif count then\r\n   for i = 1, count do\r\n      local splId, count, duration, expirationTime = GetAuraWithIndex(i)\r\n      local splName = GetSpellInfo(splId)\r\n      local dispelType = GetSpellDispelType(splId)\r\n      print(i, splName, splId, count, dispelType, duration, expirationTime)\r\n   end\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"CompressString\" class=\"wp-block-heading\">CompressString<\/h2>\r\n<p><strong>Description:<\/strong> Data compression.<br \/>\r\n<strong>Usage:<\/strong> CompressString(string)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal data = CompressString(\"Text to compress\")\r\nif DecompressString(data) == \"Text to compress\" then\r\n print(\"Decompress is ok\")\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"DecompressString\" class=\"wp-block-heading\">DecompressString<\/h2>\r\n<p><strong>Description:<\/strong> Data decompression.<br \/>\r\n<strong>Usage:<\/strong> DecompressString(string)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal data = CompressString(\"Text to compress\")\r\nif DecompressString(data) == \"Text to compress\" then\r\n print(\"Decompress is ok\")\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetSpellDispelType\" class=\"wp-block-heading\">GetSpellDispelType<\/h2>\r\n<p><strong>Description:<\/strong> Returns dispel type.<br \/>\r\n<strong>Usage:<\/strong> GetSpellDispelType(spellID)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal dispelName, dispelID = GetSpellDispelType(spellID)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetDragonridingSpeed\" class=\"wp-block-heading\">GetDragonridingSpeed (Retail Only)<\/h2>\r\n<p><strong>Description:<\/strong> Returns dragon riding horizontal and vertical speed.<br \/>\r\n<strong>Usage:<\/strong> GetDragonridingSpeed(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal horizontalMomentum, verticalMomentum = GetDragonridingSpeed(\"player\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ObjectMover\" class=\"wp-block-heading\">ObjectMover<\/h2>\r\n<p><strong>Description:<\/strong> Returns the transport the unit is moving on.<br \/>\r\n<strong>Usage:<\/strong> ObjectMover(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(ObjectMover('player'))\r\nprint(ObjectName(ObjectMover('player')))\r\nprint(GetUnitPosition(ObjectMover('player')))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"SetObjectField\" class=\"wp-block-heading\">SetObjectField<\/h2>\r\n<p><strong>Description:<\/strong> Sets any data for any given offset.<br \/>\r\n<strong>Usage:<\/strong> SetObjectField(unit, offset, type, data)<br \/>\r\n<strong>Note:<\/strong> Lua type must match ObjectField type.<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSetObjectField(\"player\", 0x11C, 10, 1.5) -- Will set player pitch to 1.5 (Retail)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GameExpansion\" class=\"wp-block-heading\">GameExpansion<\/h2>\r\n<p><strong>Description:<\/strong> Returns wow game expansion.<br \/>\r\n<strong>Usage:<\/strong> GameExpansion()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GameExpansion()) -- returns Retail, Classic, Classic_Era<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"EncryptCode\" class=\"wp-block-heading\">EncryptCode<\/h2>\r\n<p><strong>Description:<\/strong> Encrypt luaCode to be used with the following APIs:<br \/>\r\n&#8211; LoadStringEnc<br \/>\r\n&#8211; RequireCodeEnc<br \/>\r\n&#8211; RequireFileEnc<br \/>\r\n<strong>Usage:<\/strong> EncryptCode(luaCode)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal codes = EncryptCode(\"print('test')\")\r\nLoadStringEnc(codes)()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"LoadStringEnc\" class=\"wp-block-heading\">LoadStringEnc<\/h2>\r\n<p><strong>Description:<\/strong> Loads encrypted string from EncryptCode API.<br \/>\r\n<strong>Usage:<\/strong> LoadStringEnc(encryptedString, debugName)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal codes = EncryptCode(\"print('test')\")\r\nLoadStringEnc(codes)()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GameWindowSize\" class=\"wp-block-heading\">GameWindowSize<\/h2>\r\n<p><strong>Description:<\/strong> Returns actual widow size.<br \/>\r\n<strong>Usage:<\/strong> GameWindowSize()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal width, height, scale = GameWindowSize()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetCameraData\" class=\"wp-block-heading\">GetCameraData<\/h2>\r\n<p><strong>Description:<\/strong> Returns different camera data.<br \/>\r\n<strong>Usage:<\/strong> GetCameraData()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal camX, camY, camZ, matrixYX, matrixYY, matrixYZ, matrixZX, matrixZY, matrixZZ, matrixXX, matrixXY, matrixXZ, camFov, camYaw, camPitch, camRoll =  GetCameraData()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"UnitStandStateType\" class=\"wp-block-heading\">UnitStandStateType<\/h2>\r\n<p><strong>Description:<\/strong> Returns the unit stand state type.<br \/>\r\n<strong>Usage:<\/strong> UnitStandStateType(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSTAND\t\t\t\t= 0,\r\nSIT\t\t\t\t\t= 1,\r\nSIT_CHAIR\t\t\t= 2,\r\nSLEEP\t\t\t\t= 3,\r\nSIT_LOW_CHAIR\t\t= 4,\r\nSIT_MEDIUM_CHAIR\t= 5,\r\nSIT_HIGH_CHAIR\t\t= 6,\r\nDEAD\t\t\t\t= 7,\r\nKNEEL\t\t\t\t= 8,\r\nSUBMERGED\t\t\t= 9,\r\n\r\nprint(UnitStandStateType(\"player\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"SendMovementHeartbeat\" class=\"wp-block-heading\">SendMovementHeartbeat<\/h2>\r\n<p><strong>Description:<\/strong> Sends a heartbeat packet to the server.<br \/>\r\n<strong>Usage:<\/strong> SendMovementHeartbeat()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nFaceDirection(angle, false)\r\nSendMovementHeartbeat()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetScreenshot\" class=\"wp-block-heading\">GetScreenshot<\/h2>\r\n<p><strong>Description:<\/strong> Take screenshot of wow window and save it near unlocker exe.<br \/>\r\n<strong>Note:<\/strong> Filename format: MMDDYY_HHMMSS_mapID_X_Y_Z.<br \/>\r\n<strong>Usage:<\/strong> GetScreenshot(filepath)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nGetScreenshot() -- Will save the screenshot with the following format: MMDDYY_HHMMSS_mapID_X_Y_Z\r\nGetScreenshot(GetExeDirectory() .. \"GatherBot.jpg\") -- Will save the screenshot under the name of \"GatherBot\" in the provided path<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"MinimizeWindow\" class=\"wp-block-heading\">MinimizeWindow<\/h2>\r\n<p><strong>Description:<\/strong> Minimizes WoW window.<br \/>\r\n<strong>Usage:<\/strong> MinimizeWindow()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nMinimizeWindow()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetUnitRawPosition\" class=\"wp-block-heading\">GetUnitRawPosition<\/h2>\r\n<p><strong>Description:<\/strong> Returns the raw position of unit.<br \/>\r\n<strong>Usage:<\/strong> GetUnitRawPosition(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y, z = GetUnitRawPosition(\"player\")\r\nprint(x,y,z)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"UnitRawFacing\" class=\"wp-block-heading\">UnitRawFacing<\/h2>\r\n<p><strong>Description:<\/strong> Returns the raw direction a unit is facing.<br \/>\r\n<strong>Usage:<\/strong> UnitRawFacing(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(UnitRawFacing(\"player\"))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ClearTargetUnit\" class=\"wp-block-heading\">ClearTargetUnit<\/h2>\r\n<p><strong>Description:<\/strong> Clears current target.<br \/>\r\n<strong>Usage:<\/strong> ClearTargetUnit()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nClearTargetUnit()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetMapID\" class=\"wp-block-heading\">GetMapID<\/h2>\r\n<p><strong>Description:<\/strong> Returns current MapID.<br \/>\r\n<strong>Usage:<\/strong> GetMapID()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nprint(GetMapID())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"MoveWindow\" class=\"wp-block-heading\">MoveWindow<\/h2>\r\n<p><strong>Description:<\/strong> Moves and resizes game window to desired screen coordinates and size.<br \/>\r\n<strong>Usage:<\/strong> MoveWindow(x, y, w, h)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nMoveWindow(0, 0) -- will move window to top left\r\n\r\nMoveWindow(0, 0, 1360, 768) -- will move window to top left and resize window to 1360x768<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"UnitEffect\" class=\"wp-block-heading\">UnitEffect<\/h2>\r\n<p><strong>Description:<\/strong> Returns unit effect spellID and location (x,y,z).<br \/>\r\n<strong>Usage:<\/strong> UnitEffect(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nlocal x, y, z, spellID = UnitEffect(unit)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"CopyFile\" class=\"wp-block-heading\">CopyFile<\/h2>\r\n<p><strong>Description:<\/strong> Copies file from source path to destination.<br \/>\r\n<strong>Usage:<\/strong> CopyFile(SrcFile, DestFile)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nCopyFile(GetExeDirectory() .. \"file.lua\", GetWowDirectory() .. \"Interface\\\\AddOns\\\\file.lua\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"CopyDirectory\" class=\"wp-block-heading\">CopyDirectory<\/h2>\r\n<p><strong>Description:<\/strong> Copies directory and all included files and sub directories from source path to destination.<br \/>\r\n<strong>Usage:<\/strong> CopyDirectory(SrcDir, DestDir)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nCopyDirectory(GetExeDirectory() .. \"MyAddonFolder\", GetWowDirectory() .. \"Interface\\\\AddOns\\\\MyAddonFolder\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"RemoveDirectory\" class=\"wp-block-heading\">RemoveDirectory<\/h2>\r\n<p><strong>Description:<\/strong> Removes directory and all included files and sub directories.<br \/>\r\n<strong>Usage:<\/strong> RemoveDirectory(DirPath)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nRemoveDirectory(GetExeDirectory() .. \"MyAddonFolder\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"RequireCode\" class=\"wp-block-heading\">RequireCode<\/h2>\r\n<p><strong>Description:<\/strong> Runs lua codes provided in the code parameter.<br \/>\r\n<strong>Usage:<\/strong> RequireCode(code, debugname, [variables])<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- res1: Return code running status (true or false).\r\n-- res2: Returned data by code or error information or nil.\r\n-- debugname: Will be displayed in errors, e.g: file name.\r\n-- variables: Will be passed to the codes by order.\r\n\r\n-- Usage Example:\r\n\r\nlocal var1 = 1000\r\nlocal code = \"local var1 = ...; var1 = var1 + 1; return var1;\"\r\nlocal res1, res2 = RequireCode(code, \"testcode\", var1)\r\nif res1 then\r\n  print(\"result is:\", res2)\r\nelse\r\n  print(\"error is:\", res2)\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"RequireCodeEnc\" class=\"wp-block-heading\">RequireCodeEnc<\/h2>\r\n<p><strong>Description:<\/strong> Runs encrypted lua codes provided in the code parameter which is encrypted using &#8220;EncryptCode&#8221;.<br \/>\r\n<strong>Usage:<\/strong> RequireCodeEnc(code, debugname, [variables])<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- res1: Return code running status (true or false).\r\n-- res2: Returned data by code or error information or nil.\r\n-- debugname: Will be displayed in errors, e.g: file name.\r\n-- variables: Will be passed to the codes by order.\r\n\r\n-- Usage Example:\r\n\r\nlocal mybot = {}\r\nlocal res1, res2 = RequireCodeEnc(encryptedcode, \"testcode\", mybot)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"RequireFile\" class=\"wp-block-heading\">RequireFile<\/h2>\r\n<p><strong>Description:<\/strong> Runs lua file provided in the file parameter.<br \/>\r\n<strong>Usage:<\/strong> RequireFile(file, [variables])<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- res1: Return code running status (true or false).\r\n-- res2: Returned data by code or error information or nil.\r\n-- variables: Will be passed to the codes by order.\r\n-- File path must be relative and only from client directory and sub directories.\r\n\r\n-- Usage Example:\r\n  \r\nlocal mybot = {}\r\nlocal res1, res2 = RequireFile(\"file.lua\", mybot)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"RequireFileEnc\" class=\"wp-block-heading\">RequireFileEnc<\/h2>\r\n<p><strong>Description:<\/strong> Runs encrypted lua file provided in the file parameter which is encrypted using &#8220;EncryptCode&#8221;.<br \/>\r\n<strong>Usage:<\/strong> RequireFileEnc(file, [variables])<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- res1: Return code running status (true or false).\r\n-- res2: Returned data by code or error information or nil.\r\n-- variables: Will be passed to the codes by order.\r\n-- File path must be relative and only from client directory and sub directories.\r\n\r\n-- Usage Example:\r\n  \r\nlocal mybot = {}\r\nlocal res1, res2 = RequireFileEnc(\"encryptedfile.lua\", mybot)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"JsonEncode\" class=\"wp-block-heading\">JsonEncode<\/h2>\r\n<p><strong>Description:<\/strong> Encode lua table to json string.<br \/>\r\n<strong>Usage:<\/strong> JsonEncode(table)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n  \r\nlocal tbl = {sale = true}\r\nprint(JsonEncode(tbl))<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"JsonDecode\" class=\"wp-block-heading\">JsonDecode<\/h2>\r\n<p><strong>Description:<\/strong> Decode json string to lua table.<br \/>\r\n<strong>Usage:<\/strong> JsonDecode(string)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n  \r\nlocal tbl = JsonDecode('{\"sale\":true}')\r\nif tbl.sale then\r\n  print('sale is true')\r\nelse\r\n  print('sale is false')\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"Draw\" class=\"wp-block-heading\">Draw<\/h2>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n  \r\nfunction Draw:WorldToScreen(wx, wy, wz)\r\nfunction Draw:CameraPosition()\r\nfunction Draw:SetColor(r, g, b, a)\r\nfunction Draw:SetAlpha(a)\r\nfunction Draw:SetWidth(width)\r\nfunction Draw:HexToRGB(hex)\r\nfunction Draw:SetColorFromObject(object)\r\nfunction Draw:GetColorFromObject(object)\r\nfunction Draw:Distance(ax, ay, az, bx, by, bz)\r\nfunction Draw:Distance2D(ax, ay, bx, by)\r\nfunction Draw:RotateX(cx, cy, cz, px, py, pz, rot)\r\nfunction Draw:RotateY(cx, cy, cz, px, py, pz, rot)\r\nfunction Draw:RotateZ(cx, cy, cz, px, py, pz, rot)\r\nfunction Draw:Line(sx, sy, sz, ex, ey, ez, drawAlways)\r\nfunction Draw:Line2D(sx, sy, ex, ey)\r\nfunction Draw:Circle(x, y, z, radius, steps)\r\nfunction Draw:GroundCircle(x, y, z, radius, steps)\r\nfunction Draw:Outline(x, y, z, radius)\r\nfunction Draw:FilledCircle(x, y, z, radius)\r\nfunction Draw:Arrow(x, y, z, rot, size)\r\nfunction Draw:Cross(x, y, z, size)\r\nfunction Draw:Arc(x, y, z, size, arc, rot)\r\nfunction Draw:FilledArc(x, y, z, size, arc, rot)\r\nfunction Draw:Cylinder(x, y, z, radius, height)\r\nfunction Draw:Text(text, font, x, y, z, progress)\r\nfunction Draw:Rectangle(x, y, z, width, length, rot, offsx, offsy)\r\nfunction Draw:Cube(x, y, z, width, length, height, rot, offsx, offsy)\r\nfunction Draw:Pyramid(x, y, z, size, height, rot, offsx, offsy)\r\nfunction Draw:FilledRectangle(x, y, z, width, length, rot, offset)\r\nfunction Draw:Texture(config, x, y, z, alphaA)\r\nfunction Draw:ClearCanvas()\r\nfunction Draw:Update()\r\nfunction Draw:Helper()\r\nfunction Draw:Enable()\r\nfunction Draw:Disable()\r\nfunction Draw:Enabled()\r\nfunction Draw:Sync(callback)\r\nfunction Draw:New(canvas)<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetHWID\" class=\"wp-block-heading\">GetHWID<\/h2>\r\n<p><strong>Description:<\/strong> Gets hardware ID.<br \/>\r\n<strong>Usage:<\/strong> GetHWID()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n  \r\nprint(GetHWID())<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"EnableAntiCapture\" class=\"wp-block-heading\">EnableAntiCapture<\/h2>\r\n<p><strong>Description:<\/strong> Prevent screenshots and recordings.<br \/>\r\n<strong>Usage:<\/strong> EnableAntiCapture()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n  \r\nEnableAntiCapture()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"FindClosestPointOnMesh\" class=\"wp-block-heading\">FindClosestPointOnMesh<\/h2>\r\n<p><strong>Description:<\/strong> Finds closest point on mesh at a given threshold.<br \/>\r\n<strong>Usage:<\/strong> FindClosestPointOnMesh(mapid, x, y, z, dx, dy, dz)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n  \r\nlocal tx, ty, tz = GetUnitPosition('target')\r\nlocal mapId = GetMapID()\r\nlocal res, x, y, z = FindClosestPointOnMesh(mapId, tx, ty, tz, 0, 0, 200)\r\nif res == nil then\r\n  print('Invalid or nil arguments!')\r\nelseif res == 0 then\r\n  print('Not found any closest point!')\r\nelseif res == -1 then\r\n  print('Map files not exists or invalid!')\r\nelseif res == -2 then\r\n  print('Out of memeory!')\r\nelseif res == -3 then\r\n  print('Map caching...')\r\nelse\r\n  print(x, y, z)\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"SetGlobalVar\" class=\"wp-block-heading\">SetGlobalVar<\/h2>\r\n<p><strong>Description:<\/strong> Sets the value for a global variable (will not destroy after reload).<br \/>\r\n<strong>Usage:<\/strong> SetGlobalVar(name, data)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n  \r\nSetGlobalVar(\"test\", \"test data\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"GetGlobalVar\" class=\"wp-block-heading\">GetGlobalVar<\/h2>\r\n<p><strong>Description:<\/strong> Gets the value of the global variable previously set by SetGlobalVar.<br \/>\r\n<strong>Usage:<\/strong> GetGlobalVar(name)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n  \r\nlocal data = GetGlobalVar(\"test\")<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"ReloadGame\" class=\"wp-block-heading\">ReloadGame<\/h2>\r\n<p><strong>Description:<\/strong> Reloads the game.<br \/>\r\n<strong>Usage:<\/strong> ReloadGame()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n  \r\nReloadGame()<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"IsInGlue\" class=\"wp-block-heading\">IsInGlue<\/h2>\r\n<p><strong>Description:<\/strong> Return if account is in Glue Screen.<br \/>\r\n<strong>Usage:<\/strong> IsInGlue()<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n  \r\nif IsInGlue() then\r\n  -- you are in GlueScreen\r\nend<\/pre>\r\n<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><br \/>\r\n<\/p>\r\n<h2 id=\"SetMouseover\" class=\"wp-block-heading\">SetMouseover<\/h2>\r\n<p><strong>Description:<\/strong> Sets mouseover unit.<br \/>\r\n<strong>Usage:<\/strong> SetMouseover(unit)<\/p>\r\n<p class=\"wp-block-paragraph\"><br \/>\r\n<\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Lua&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;lua&quot;}\">-- Usage Example:\r\n\r\nSetMouseover(\"target\")\r\nprint(GetMouseover())\r\n<\/pre>\r\n<\/div>\r\n\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><!-- \/wp:post-content --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"GetMouseover\" class=\"wp-block-heading\">GetMouseover<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Gets mouseover unit.<br \/>\r\n<strong>Usage:<\/strong> GetMouseover(unit)<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\nSetMouseover(\"target\")\r\nprint(GetMouseover())\r\n<\/pre>\r\n<\/div>\r\n<!-- \/wp:codemirror-blocks\/code-block -->\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><!-- \/wp:spacer --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"SetFocus\" class=\"wp-block-heading\">SetFocus<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Sets focus unit.<br \/>\r\n<strong>Usage:<\/strong> SetFocus(unit)<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\nSetFocus(\"target\")\r\nprint(GetFocus())\r\n<\/pre>\r\n<\/div>\r\n<!-- \/wp:codemirror-blocks\/code-block -->\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><!-- \/wp:spacer --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"GetFocus\" class=\"wp-block-heading\">GetFocus<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Gets focus unit.<br \/>\r\n<strong>Usage:<\/strong> GetFocus(unit)<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\nSetFocus(\"target\")\r\nprint(GetFocus())\r\n<\/pre>\r\n<\/div>\r\n<!-- \/wp:codemirror-blocks\/code-block -->\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><!-- \/wp:spacer --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"SetNPC\" class=\"wp-block-heading\">SetNPC<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Sets NPC unit.<br \/>\r\n<strong>Usage:<\/strong> SetNPC(unit)<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\nSetNPC(\"target\")\r\nprint(GetNPC())\r\n<\/pre>\r\n<\/div>\r\n<!-- \/wp:codemirror-blocks\/code-block -->\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><!-- \/wp:spacer --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"GetNPC\" class=\"wp-block-heading\">GetNPC<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Gets NPC unit.<br \/>\r\n<strong>Usage:<\/strong> GetNPC(unit)<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\nSetNPC(\"target\")\r\nprint(GetNPC())\r\n<\/pre>\r\n<\/div>\r\n<!-- \/wp:codemirror-blocks\/code-block -->\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><!-- \/wp:spacer --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"secretunwrap\" class=\"wp-block-heading\">secretunwrap<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Unwrapping secret values returned by some WoW APIs.<br \/>\r\n<strong>Usage:<\/strong> secretunwrap(value)<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\nlocal uh = UnitHealth(\"player\")\r\nif issecretvalue(uh) then uh = secretunwrap(uh) end\r\nprint(\"Health + 10 : \", uh + 10)\r\n<\/pre>\r\n<\/div>\r\n<!-- \/wp:codemirror-blocks\/code-block -->\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<!-- \/wp:spacer -->\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><!-- \/wp:spacer --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"unwrap\" class=\"wp-block-heading\">unwrap<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Unwrapping any type of data.<br \/>\r\n<strong>Usage:<\/strong> unwrap(value)<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\nlocal myInt, myTable, myBool = unwrap(myInt, myTable, myBool)\r\n<\/pre>\r\n<\/div>\r\n<p><!-- \/wp:codemirror-blocks\/code-block --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"GetAllPrivateAuras\" class=\"wp-block-heading\">GetAllPrivateAuras<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Gets private auras of a unit.<br \/>\r\n<strong>Usage:<\/strong> GetAllPrivateAuras(unit)<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\nlocal aurasTable = GetAllPrivateAuras(\"player\")\r\n<\/pre>\r\n<\/div>\r\n<!-- \/wp:codemirror-blocks\/code-block -->\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><!-- \/wp:spacer --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"CombatLogGetCurrentEventInfo\" class=\"wp-block-heading\">CombatLogGetCurrentEventInfo<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Gets combat logs and events.<br \/>\r\n<strong>Usage:<\/strong> CombatLogGetCurrentEventInfo()<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\nGet combat logs and events\r\n\r\nlocal function OnEvent(self, event)\r\n  print(CombatLogGetCurrentEventInfo())\r\nend\r\n\r\nlocal frame = CreateFrame('Frame')\r\nSecureCode(frame.RegisterEvent,frame,\"COMBAT_LOG_EVENT_UNFILTERED\")\r\nframe:SetScript(\"OnEvent\", OnEvent)\r\n<\/pre>\r\n<\/div>\r\n<!-- \/wp:codemirror-blocks\/code-block -->\r\n<div class=\"wp-block-spacer\" style=\"height: 100px;\" aria-hidden=\"true\">&nbsp;<\/div>\r\n<p><!-- \/wp:spacer --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"C_SecureTransfer\" class=\"wp-block-heading\">C_SecureTransfer<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Handles secure and restricted transactions and transfers, such as trades, mail, and housing purchases.<br \/>\r\n<strong>Usage:<\/strong> C_SecureTransfer<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\n<\/pre>\r\n<\/div>\r\n<p><!-- \/wp:codemirror-blocks\/code-block --><!-- \/wp:spacer --><br \/>\r\n<!-- wp:heading --><\/p>\r\n<h2 id=\"C_WowTokenSecure\" class=\"wp-block-heading\">C_WowTokenSecure<\/h2>\r\n<p><!-- \/wp:heading --><!-- wp:paragraph --><strong>Description:<\/strong> Handles secure operations related to Token transactions, including token purchases and related confirmations.<br \/>\r\n<strong>Usage:<\/strong> C_WowTokenSecure<\/p>\r\n<p><!-- \/wp:paragraph --><br \/>\r\n<!-- wp:codemirror-blocks\/code-block {\"mode\":\"lua\",\"mime\":\"text\/x-lua\"} --><\/p>\r\n<div class=\"wp-block-codemirror-blocks-code-block code-block\">\r\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;lua&quot;,&quot;mime&quot;:&quot;text\/x-lua&quot;,&quot;theme&quot;:&quot;gruvbox-dark&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">-- Usage Example:\r\n\r\n<\/pre>\r\n<\/div>\r\n<p><!-- \/wp:codemirror-blocks\/code-block -->&nbsp;<\/p>\r\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_column_text]Description: Allows you to unlock WoW protected APIs. Usage: SecureCode(WoWProtectedAPI) Interact Description: Interact with any unit. Usage: Interact(unit) ClickPosition Description: Left clicks a position in the world. This is mainly useful for casting area of effect spells. Usage: ClickPosition(x, y, z) FaceDirection Description: Sets the facing of active player towards his target. Usage: FaceDirection(radians, update) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"class_list":["post-10937","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/daemonic.cc\/estore\/wp-json\/wp\/v2\/pages\/10937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daemonic.cc\/estore\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/daemonic.cc\/estore\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/daemonic.cc\/estore\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daemonic.cc\/estore\/wp-json\/wp\/v2\/comments?post=10937"}],"version-history":[{"count":8,"href":"https:\/\/daemonic.cc\/estore\/wp-json\/wp\/v2\/pages\/10937\/revisions"}],"predecessor-version":[{"id":28306,"href":"https:\/\/daemonic.cc\/estore\/wp-json\/wp\/v2\/pages\/10937\/revisions\/28306"}],"wp:attachment":[{"href":"https:\/\/daemonic.cc\/estore\/wp-json\/wp\/v2\/media?parent=10937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}