, , ,

Memory hack API v1.4

Published
» Способ реализации: vJass
» Тип: Наработка
» Версия Warcraft: 1.26a - 1.28f

Информация

» Благодарности
Для начала, хочу поблагодарить quq_CCCP за как моральную поддержку, так и за советы, скорее всего без него, я бы не взялся доделать эту карту.
Отдельное спасибо: Dracol1ch, Karaul0v, ENAlexey и leafdropn за их вклад в целом развитие как Мемхака, так и в целом за всю работу проделанную ими.
» Патчи
API полностью работает на патчах 1.26a - 1.27a. На патчах 1.27b - 1.28b библиотека ведёт нестабильно: иногда невозможно разблокировать память.
» Настройки парсеров
» pjass
Скачать и поместить в Директория-JNGP/jasshelper. Это версия от 20.02.2021. Последнюю версию всегда можно скачать здесь, находится по ссылке latest version в архиве без -src.
» vJass
Обязательно должна стоять галка напротив Disable script optimization. Debug Mode можно включать по желанию.
» cJass (если есть)
НЕ должна стоять галка напротив Enable AdicOptimizer. Остальные пункты можно включать и отключать по желанию.

Список API

» Core API
» BasicUtilsAPI
function floor takes real r returns real
function ceil takes real r returns real
function round takes real r returns real
function log takes integer number, integer base returns integer
function PowI takes integer x, integer power returns integer
function B2S takes boolean flag returns string
function CharToId takes string input returns integer
function StringToId takes string input returns integer
function IdToChar takes integer input returns string
function IdToString takes integer input returns string
function IntToHex takes integer i returns string
function PrintData takes string path, string s, boolean flag returns nothing
» TypecastAPI
function InitBytecode takes integer id,integer k returns nothing
function GetBytecodeAddress takes nothing returns integer
function InitArray takes integer vtable returns nothing
function InitArrayA takes integer index,integer valueA returns nothing
function InitArrayB takes integer index,integer valueB returns nothing
function WriteArrayBMemory takes integer addr,integer value returns nothing
function InitArrayC takes integer valueC returns nothing
function InitArrayD takes integer index,integer valueD returns nothing
function InitArrayE takes integer valueE returns nothing
function GetArrayAddress takes nothing returns integer
function GetArrayAAddress takes nothing returns integer
function GetArrayBAddress takes nothing returns integer
function GetArrayCAddress takes nothing returns integer
function GetArrayDAddress takes nothing returns integer
function GetArrayEAddress takes nothing returns integer
function setCode takes code c returns nothing
function setInt takes integer i returns nothing
function setStr takes string s returns nothing
function setBool takes boolean b returns nothing
function setHandle takes handle h returns nothing
function setUnit takes unit u returns nothing
function setAbility takes ability a returns nothing
function setTrig takes trigger t returns nothing
function C2I takes code c returns integer
function I2C takes integer i returns code
function SH2I takes string s returns integer
function I2SH takes integer i returns string
function B2I takes boolean b returns integer
function I2B takes integer i returns boolean
function H2I takes handle h returns integer
function I2H takes integer i returns handle
function U2I takes unit u returns integer
function I2U takes integer i returns unit
function A2I takes ability a returns integer
function I2A takes integer i returns ability
function T2I takes trigger t returns integer
function I2T takes integer i returns trigger
function RealToIndex takes real r returns integer
function CleanInt takes integer i returns integer
function IndexToReal takes integer i returns real
function CleanReal takes real r returns real
function GetRealFromMemory takes integer i returns real
function SetRealIntoMemory takes real r returns integer
function BitwiseNot takes integer i returns integer
» MemoryAPI
function GetByteFromInteger takes integer i,integer byteid returns integer
function CreateInteger1 takes integer byte1,integer byte2,integer byte3,integer byte4 returns integer
function CreateIntegerFromTwoByOffset takes integer LocalInteger1,integer LocalInteger2,integer offset returns integer
function CreateDoubleIntegerAndGetOne takes integer LocalInteger1,integer LocalInteger2,integer value,integer offset,boolean first returns integer
function ReadMemory takes integer address returns integer
function ReadRealMemorySafe takes integer addr returns integer
function ReadUnrealMemory takes integer address returns integer
function ReadRealMemory takes integer address returns integer
function ReadOffset takes integer pOff returns integer
function ReadOffsetUnsafe takes integer pOff returns integer
function ReadByte takes integer byte returns integer
function WriteMemory takes integer address,integer value returns nothing
function WriteRealMemorySafe takes integer addr,integer val returns nothing
function WriteUnrealMemory takes integer address,integer value returns nothing
function WriteRealMemory takes integer address,integer value returns nothing
function WriteOffset takes integer pOff,integer value returns nothing
function WriteOffsetUnsafe takes integer pOff,integer value returns nothing
function NewGlobal takes nothing returns integer
function SetGlobal takes nothing returns nothing
function Malloc takes integer bytes returns integer
function ConvertPointer takes integer ptr returns integer
function ReadRealPointer1LVL takes integer addr,integer offset1 returns integer
function WriteRealPointer1LVL takes integer addr,integer offset1,integer val returns nothing
function ReadRealPointer2LVL takes integer addr,integer offset1,integer offset2 returns integer
function WriteRealPointer2LVL takes integer addr,integer offset1,integer offset2,integer val returns nothing
function ReadRealPointer3LVL takes integer addr,integer offset1,integer offset2,integer offset3 returns integer
function WriteRealPointer3LVL takes integer addr,integer offset1,integer offset2,integer offset3,integer val returns nothing
function ReadRealPointer4LVL takes integer addr,integer offset1,integer offset2,integer offset3,integer offset4 returns integer
function WriteRealPointer4LVL takes integer addr,integer offset1,integer offset2,integer offset3,integer offset4,integer val returns nothing
function ReadRealPointer5LVL takes integer addr,integer offset1,integer offset2,integer offset3,integer offset4,integer offset5 returns integer
function WriteRealPointer5LVL takes integer addr,integer offset1,integer offset2,integer offset3,integer offset4,integer offset5,integer val returns nothing
function IsJassNativeExists takes integer nativeaddress returns boolean
function CreateJassNativeHook takes integer oldaddress,integer newaddress returns integer
function GetJassVM takes integer id returns integer
function GetJassTable takes nothing returns integer
function GetStringAddress takes string s returns integer
function InitMemoryArray takes integer id,integer val returns nothing
function TypecastMemoryArray takes nothing returns nothing
function GetMemoryArrayAddress takes nothing returns integer
function UnlockMemEx takes nothing returns nothing
function UnlockMemory takes nothing returns nothing
» BitwiseAPI
function GetGameTypeSupported takes nothing returns integer
function Player2Flag takes player p returns integer
function IsFlagBitSet takes integer flags,integer bit returns boolean
function ShiftLeftForBits takes integer byte,integer shiftval returns integer
function ShiftRightForBits takes integer byte,integer shiftval returns integer
function ShiftLeftForBytes takes integer byte,integer shiftval returns integer
function ShiftRightForBytes takes integer byte,integer shiftval returns integer
function BitwiseOr takes integer arg1,integer arg2 returns integer
function BitwiseXor takes integer arg1,integer arg2 returns integer
function BitwiseAnd takes integer arg1,integer arg2 returns integer
» CallsAPI
function fast_call_1 takes integer pFuncFastcallAddr,integer arg1 returns integer
function fast_call_2 takes integer pFuncFastcallAddr,integer arg1,integer arg2 returns integer
function fast_call_3 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3 returns integer
function fast_call_4 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3,integer arg4 returns integer
function fast_call_5 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5 returns integer
function fast_call_6 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6 returns integer
function fast_call_7 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7 returns integer
function fast_call_8 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8 returns integer
function fast_call_9 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8,integer arg9 returns integer
function fast_call_10 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8,integer arg9,integer arg10 returns integer
function fast_call_11 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8,integer arg9,integer arg10,integer arg11 returns integer
function fast_call_12 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8,integer arg9,integer arg10,integer arg11,integer arg12 returns integer
function fast_call_13 takes integer pFuncFastcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8,integer arg9,integer arg10,integer arg11,integer arg12,integer arg13 returns integer
function this_call_1 takes integer pfuncaddr,integer arg1 returns integer
function this_call_2 takes integer pfuncaddr,integer arg1,integer arg2 returns integer
function this_call_3 takes integer pfuncaddr,integer arg1,integer arg2,integer arg3 returns integer
function this_call_4 takes integer pfuncaddr,integer arg1,integer arg2,integer arg3,integer arg4 returns integer
function this_call_5 takes integer pfuncaddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5 returns integer
function this_call_6 takes integer pfuncaddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6 returns integer
function this_call_7 takes integer pfuncaddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7 returns integer
function this_call_8 takes integer pfuncaddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8 returns integer
function this_call_9 takes integer pfuncaddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8,integer arg9 returns integer
function this_call_10 takes integer pfuncaddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8,integer arg9,integer arg10 returns integer
function this_call_11 takes integer pfuncaddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8,integer arg9,integer arg10,integer arg11 returns integer
function this_call_12 takes integer pfuncaddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6,integer arg7,integer arg8,integer arg9,integer arg10,integer arg11,integer arg12 returns integer
function std_call_1 takes integer pFuncStdcallAddr,integer arg1 returns integer
function std_call_2 takes integer pFuncStdcallAddr,integer arg1,integer arg2 returns integer
function std_call_3 takes integer pFuncStdcallAddr,integer arg1,integer arg2,integer arg3 returns integer
function std_call_4 takes integer pFuncStdcallAddr,integer arg1,integer arg2,integer arg3,integer arg4 returns integer
function std_call_5 takes integer pFuncStdcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5 returns integer
function std_call_6 takes integer pFuncStdcallAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6 returns integer
function c_call_1 takes integer pFuncCdeclAddr,integer arg1 returns integer
function c_call_2 takes integer pFuncCdeclAddr,integer arg1,integer arg2 returns integer
function c_call_3 takes integer pFuncCdeclAddr,integer arg1,integer arg2,integer arg3 returns integer
function c_call_4 takes integer pFuncCdeclAddr,integer arg1,integer arg2,integer arg3,integer arg4 returns integer
function c_call_5 takes integer pFuncCdeclAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5 returns integer
function c_call_6 takes integer pFuncCdeclAddr,integer arg1,integer arg2,integer arg3,integer arg4,integer arg5,integer arg6 returns integer
function AllocateExecutableMemory takes integer size returns integer
function CopyMemory takes integer dest,integer src,integer size returns integer
function GetModuleHandle takes string nDllName returns integer
function GetModuleProcAddress takes string nDllName,string nProcName returns integer
function ReallocateCallMemory takes integer memory returns nothing
function AllocateCallMemory takes nothing returns nothing
» StringAPI
function ConvertNullTerminatedStringToString takes integer pNullTerminatedString returns string
function WriteNullTerminatedString takes string s,integer pAddr returns nothing
function SearchStringValueAddress takes string str returns integer
function SearchStringValue takes string str returns string
function ReplaceStringValue takes string str,integer newstraddress,integer str_len returns nothing
function sprintf_1 takes string format,integer arg1 returns string
function sprintf_2 takes string format,integer arg1,integer arg2 returns string
function sprintf_3 takes string format,integer arg1,integer arg2,integer arg3 returns string
function sprintf_4 takes string format,integer arg1,integer arg2,integer arg3,integer arg4 returns string
» GameDataAPI
function ConvertHandleId takes integer handleid returns integer
function ConvertHandle takes handle h returns integer
function HandleIdToObject takes integer handleid returns integer
function ObjectToHandleId takes integer address returns integer
function GetAgentType takes handle h returns integer
function ObjectToAbility takes integer pObject returns ability
function ObjectToUnit takes integer pObject returns unit
function GetAgentBaseDataById takes integer pAgentDataNode,integer agentId returns integer
function GetUnitAddressFloatsRelated takes integer pConvertedHandle,integer step returns integer
function GetUnitAddress takes unit u returns integer
function GetSomeAddress takes integer pAddr1,integer pAddr2 returns integer
function GetSomeAddressForAbility takes integer pAddr1,integer pAddr2 returns integer
» KernelAPI
function IsBadReadPtr takes integer pointer,integer size returns boolean
function GetLocalTime takes integer timeId returns integer
function GetCurrentProcessId takes nothing returns integer
function VirtualProtect takes integer pRealOffset,integer pMemSize,integer pProtectFlag returns integer
function ReadStringFromFile takes string sfile,string ssection,string skey,string sdefval returns string
function WriteStringToFile takes string sfile,string ssection,string skey,string sval returns nothing
function GetFileAttributes takes string s returns integer
function LoadLibrary takes string nDllName returns integer
function MessageBox takes string message,string caption returns nothing
function FindWindow takes string class,string window returns integer
function FindWindowEx takes integer hwid1,integer hwid2,string class,string window returns integer
function GetSystemMetrics takes integer id returns integer
function GetScreenWidth takes nothing returns integer
function GetScreenHeight takes nothing returns integer
function GetWindowRect takes integer hwnd returns integer
function GetWindowX takes integer hwnd returns integer
function GetWindowY takes integer hwnd returns integer
function ScreenToClient takes integer hwnd,integer lpPoint returns integer
function GetCursorPos takes nothing returns integer
function PostMessage takes integer hwnd,integer msg,integer wparam,integer lparam returns nothing
function ShellExecute takes string command,string path,string args returns nothing
function GetAsyncKeyState takes integer vk_key_code returns integer
function IsKeyPressed takes integer vk_key_code returns boolean
» MPQAPI
function FileExists takes string s returns boolean
function GetFileSizeFromMPQ takes string source returns integer
function ExportFileFromMPQ takes string source,string dest returns boolean
function LoadDllFromMPQ takes string source,string dest,string dllname returns boolean
» ObjectDataAPI
function GetARGBColour takes integer alpha,integer red,integer green,integer blue returns integer
function GetSpriteDataOffsetAddressR takes integer pObject,integer offset returns real
function SetSpriteDataOffsetAddressR takes integer pObject,integer offset,real r returns nothing
function IsObjectHidden takes integer pObject returns boolean
function ShowObject takes integer pObject,boolean flag returns nothing
function GetObjectTypeId takes integer pObj returns integer
function UpdateObjectColour takes integer pObject returns nothing
function SetObjectAlpha takes integer pObject,integer alpha returns nothing
function GetObjectColour takes integer pObject returns integer
function SetObjectColour takes integer pObject,integer colour returns nothing
function SetObjectColourEx takes integer pObject,integer red,integer green,integer blue,integer alpha returns nothing
function SetObjectVertexColour takes integer pObject,integer red,integer green,integer blue,integer alpha returns nothing
function GetObjectColourA takes integer pObject returns integer
function SetObjectColourA takes integer pObject,integer alpha returns nothing
function GetObjectColourR takes integer pObject returns integer
function SetObjectColourR takes integer pObject,integer red returns nothing
function GetObjectColourG takes integer pObject returns integer
function SetObjectColourG takes integer pObject,integer green returns nothing
function GetObjectColourB takes integer pObject returns integer
function SetObjectColourB takes integer pObject,integer blue returns nothing
function SetObjectAnimationByIndex takes integer pObject,integer index returns nothing
function SetObjectModel takes integer pObject,string model returns nothing
function GetObjectX takes integer pObject returns real
function SetObjectX takes integer pObject,real x returns nothing
function GetObjectY takes integer pObject returns real
function SetObjectY takes integer pObject,real y returns nothing
function GetObjectZ takes integer pObject returns real
function SetObjectZ takes integer pObject,real z returns nothing
function SetObjectPosition takes integer pObject,real x,real y,real z returns nothing
function GetObjectTimeScale takes integer pObject returns real
function SetObjectTimeScale takes integer pObject,real speed returns nothing
function GetObjectScale takes integer pObject returns real
function SetObjectScale takes integer pObject,real scale returns nothing
function SetObjectScaleEx takes integer pObject,real x,real y,real z returns nothing
function SetObjectSpaceRotation takes integer pObject,real yaw,real pitch,real roll returns nothing
function GetObjectRoll takes integer pObject returns real
function SetObjectRoll takes integer pObject,real angle returns nothing
function GetObjectPitch takes integer pObject returns real
function SetObjectPitch takes integer pObject,real angle returns nothing
function GetObjectFacing takes integer pObject returns real
function SetObjectFacing takes integer pObject,real angle returns nothing
function ResetObjectMatrix takes integer pObject returns nothing
» MemoryRestorerAPI
function AddNewOffsetToRestore takes integer offsetaddress,integer offsetdefaultdata returns nothing
function ChangeOffsetProtection takes integer pRealOffset,integer pMemSize,integer pProtectFlag returns integer
function PatchMemoryEx takes integer addr,integer val,integer size returns nothing
function PatchMemory takes integer addr,integer val returns nothing
function RestoreAllMemory takes nothing returns nothing
function InitExtrasPageDisplayOnExit takes integer pTriggerHandle returns nothing
function DisplayExtrasPageDisplayOnExit takes nothing returns nothing
» GameUIAPI
function GetGameUI takes integer bInit,integer bRelease returns integer
function GetRootFrame takes nothing returns integer
function GetUIWorldFrameWar3 takes nothing returns integer
function GetUIMinimap takes nothing returns integer
function GetUIInfoBar takes nothing returns integer
function GetUICommandBar takes nothing returns integer
function GetUIResourceBarFrame takes nothing returns integer
function GetUIUpperButtonBarFrame takes nothing returns integer
function GetUIUnknown1 takes nothing returns integer
function GetUIClickableBlock takes nothing returns integer
function GetUIHeroBar takes nothing returns integer
function GetUIPeonBar takes nothing returns integer
function GetUIMessage takes nothing returns integer
function GetUIUnitMessage takes nothing returns integer
function GetUIChatMessage takes nothing returns integer
function GetUITopMessage takes nothing returns integer
function GetUIPortrait takes nothing returns integer
function GetUITimeOfDayIndicator takes nothing returns integer
function GetUIChatEditBar takes nothing returns integer
function GetUICinematicPanel takes nothing returns integer
function GetUIUnknown2 takes nothing returns integer
function GetUIMinimapButton1 takes nothing returns integer
function GetUIMinimapButton2 takes nothing returns integer
function GetUIMinimapButton3 takes nothing returns integer
function GetUIMinimapButton4 takes nothing returns integer
function GetUIMinimapButton5 takes nothing returns integer
function GetUIFrameB takes nothing returns integer
function GetUIMouseBorders takes nothing returns integer
function GetUIFrameA takes nothing returns integer
function GetUISimpleConsole takes nothing returns integer
function GetPanelButton takes integer pFrame,integer row,integer column returns integer
function GetMinimapButton takes integer id returns integer
function GetUpperButtonBarButton takes integer id returns integer
function GetCommandBarButton takes integer row,integer column returns integer
function GetSkillBarButton takes integer id returns integer
function GetItemBarButton takes integer id returns integer
function GetHeroBarButton takes integer id returns integer
function GetHeroBarHealthBar takes integer id returns integer
function GetHeroBarManaBar takes integer id returns integer
function UpdateGameUI takes nothing returns nothing
function GetFrameType takes integer pFrame returns integer
function SetWar3MapMap takes string minimap returns integer
» GameUIButtonAPI
function IsCommandButton takes integer pButton returns boolean
function GetButtonData takes integer pCommandButton returns integer
function GetButtonGoldCost takes integer pCommandButton returns integer
function GetButtonLumberCost takes integer pCommandButton returns integer
function GetButtonManaCost takes integer pCommandButton returns integer
function GetButtonCooldown takes integer pCommandButton returns real
function IsButtonOnCooldown takes integer pCommandButton returns boolean
function AddFrameType takes string name,integer vtype,integer pVtable,integer pVTableObj returns nothing
» GameWindowAPI
function GetWindowWidth takes nothing returns real
function GetWindowHeight takes nothing returns real
function GetWindowCenterX takes nothing returns real
function GetWindowCenterY takes nothing returns real
function GetWarcraftWindow takes nothing returns integer
function FromPixelX takes integer i returns real
function FromPixelY takes integer i returns real
» StormDLLAPI
function StormAllocateMemory takes integer size,string name,integer unk_1,integer unk_2 returns integer
function StormFreeMemory takes integer addr,string name,integer unk_1,integer unk_2 returns integer
function StormGetMemorySize takes integer addr,string name,integer unk_1 returns integer
function StormReallocateMemory takes integer addr,integer size,string name,integer unk_1,integer unk_2 returns integer
» WenHaoAPI
function GetFuncAddr takes code f returns integer
function WHGetMouseX takes nothing returns real
function WHGetMouseY takes nothing returns real
function WHEXGetUnitAbility takes unit u,integer abilityId returns integer
function WHYDWEGetUnitAbilityState takes unit u,integer abilcode,integer data_type returns real
function WHYDWEGetUnitAbilityDataInteger takes unit u,integer abilcode,integer level,integer data_type returns integer
function WHYDWEGetUnitAbilityDataReal takes unit u,integer abilcode,integer level,integer data_type returns real
function WHYDWEGetUnitAbilityDataString takes unit u,integer abilcode,integer level,integer data_type returns string
function WHYDWESetUnitAbilityState takes unit u,integer abilcode,integer data_type,real value returns nothing
function WHYDWESetUnitAbilityDataInteger takes unit u,integer abilcode,integer level,integer data_type,integer value returns nothing
function WHYDWESetUnitAbilityDataReal takes unit u,integer abilcode,integer level,integer data_type,real value returns nothing
function WHYDWESetUnitAbilityDataString takes unit u,integer abilcode,integer level,integer data_type,string value returns nothing
function WHEXSetAbilityAEmeDataA takes integer ability_handle,integer value returns boolean
function WHYDWEUnitTransform takes unit u,integer abilcode,integer targetid returns nothing
function WHEXPauseUnit takes unit unit_handle,boolean flag returns nothing
function WHEXGetUnitString takes integer unitcode,integer data_type returns string
function WHEXSetUnitString takes integer unitcode,integer data_type,string value returns boolean
function WHEXGetUnitReal takes integer unitcode,integer data_type returns real
function WHEXSetUnitReal takes integer unitcode,integer data_type,real value returns boolean
function WHEXGetUnitInteger takes integer unitcode,integer data_type returns integer
function WHEXSetUnitInteger takes integer unitcode,integer data_type,integer value returns boolean
function WHEXGetUnitArrayString takes integer unitcode,integer data_type,integer index returns string
function WHEXSetUnitArrayString takes integer unitcode,integer data_type,integer index,string value returns boolean
function WHEXSetUnitFacing takes unit unit_handle,real angle returns nothing
function WHEXSetUnitCollisionType takes boolean enable,unit unit_handle,integer data_type returns nothing
function WHEXSetUnitMoveType takes unit unit_handle,integer data_type returns nothing
function WHYDWEUnitAddStun takes unit u returns nothing
function WHYDWEUnitRemoveStun takes unit u returns nothing
function WHEXGetEventDamageData takes integer data_type returns integer
function WHEXSetEventDamage takes real dmg returns boolean
function WHYDWEIsEventPhysicalDamage takes nothing returns boolean
function WHYDWEIsEventAttackDamage takes nothing returns boolean
function WHYDWEIsEventRangedDamage takes nothing returns boolean
function WHYDWEIsEventDamageType takes damagetype d_type returns boolean
function WHYDWEIsEventWeaponType takes weapontype w_type returns boolean
function WHYDWEIsEventAttackType takes attacktype a_type returns boolean
function WHYDWESetEventDamage takes real amount returns boolean
function WHYDWESetItemDataString takes integer iid,integer data_type,string text returns nothing
function WHYDWEGetItemDataString takes integer iid,integer data_type returns string
function WHEXSetEffectXY takes effect e,real x,real y returns nothing
function WHEXSetEffectZ takes effect e,real z returns nothing
function WHEXGetEffectX takes effect e returns real
function WHEXGetEffectY takes effect e returns real
function WHEXGetEffectZ takes effect e returns real
function WHEXSetEffectSize takes effect e,real size returns nothing
function WHEXGetEffectSize takes effect e returns real
function WHEXEffectMatRotateX takes effect e,real x returns nothing
function WHEXEffectMatRotateY takes effect e,real y returns nothing
function WHEXEffectMatRotateZ takes effect e,real z returns nothing
function WHEXEffectMatScale takes effect e,real x,real y,real z returns nothing
function WHEXEffectMatReset takes effect e returns nothing
function WHEXSetEffectSpeed takes effect e,real speed returns nothing
function WHEXSetTrackableXY takes trackable trk,real x,real y returns nothing
function WHEXGetTrackableX takes trackable trk returns real
function WHEXGetTrackableY takes trackable trk returns real
function WHEXExecuteScript takes string str returns string
function WHEXDisplayChat takes player p,integer chat_recipient,string message returns nothing
function WHYDWEDisplayChat takes player p,integer chat_recipient,string message returns nothing
function WHGetMapName takes nothing returns string
function WHGetGameVersion takes nothing returns integer
function WHGetPluginVersion takes nothing returns string
function WHLocalOrder takes integer order,integer flags returns nothing
function WHLocalPointOrder takes integer order,real x,real y,integer flags returns nothing
function WHLocalTargetOrder takes integer order,widget object,integer flags returns nothing
function WHGetPlayerSelectedUnit takes player p returns unit
function WHGetTargetUnit takes nothing returns unit
function WHGetTargetItem takes nothing returns item
function WHGetTargetDestructable takes nothing returns destructable
function WHSetUnitAbilityButtonShow takes unit u,integer id,boolean show returns nothing
function WHShowFpsText takes boolean Open returns nothing
function WHGetFps takes nothing returns real
function WHGetChatState takes nothing returns boolean
function WHGetMouseVectorX takes nothing returns real
function WHGetMouseVectorY takes nothing returns real
function WHGetWindowWidth takes nothing returns integer
function WHGetWindowHeight takes nothing returns integer
function WHHex takes integer i returns string
function WHCreateFont takes nothing returns integer
function WHDestroyFont takes integer l__font returns nothing
function WHGetFontWidth takes integer l__font returns integer
function WHSetFontWidth takes integer l__font,integer value returns nothing
function WHGetFontHeight takes integer l__font returns integer
function WHSetFontHeight takes integer l__font,integer value returns nothing
function WHGetFontWeight takes integer l__font returns integer
function WHSetFontWeight takes integer l__font,integer value returns nothing
function WHSetFontItalic takes integer l__font,boolean value returns nothing
function WHGetFontFaceName takes integer l__font returns string
function WHSetFontFaceName takes integer l__font,string value returns nothing
function WHCreateText takes integer l__font,string str,real x,real y,real time,integer color returns integer
function WHGetTextString takes integer text returns string
function WHSetTextString takes integer text,string str returns nothing
function WHGetTextX takes integer text returns real
function WHSetTextX takes integer text,real x returns nothing
function WHGetTextY takes integer text returns real
function WHSetTextY takes integer text,real y returns nothing
function WHGetTextTime takes integer text returns real
function WHSetTextTime takes integer text,real value returns nothing
function WHGetTextColor takes integer text returns integer
function WHSetTextColor takes integer text,integer value returns nothing
function WHCreateTexture takes string path,real x,real y,real width,real height,integer color,integer level returns integer
function WHDestroyTexture takes integer texture returns nothing
function WHGetTextureX takes integer texture returns real
function WHSetTextureX takes integer texture,real value returns nothing
function WHGetTextureY takes integer texture returns real
function WHSetTextureY takes integer texture,real value returns nothing
function WHGetTextureWidth takes integer texture returns real
function WHSetTextureWidth takes integer texture,real value returns nothing
function WHGetTextureHeight takes integer texture returns real
function WHSetTextureHeight takes integer texture,real value returns nothing
function WHGetTextureColor takes integer texture returns integer
function WHSetTextureColor takes integer texture,integer value returns nothing
function WHGetTextureLevel takes integer texture returns integer
function WHSetTextureLevel takes integer texture,integer value returns nothing
function WHGetTextureRotation takes integer texture returns real
function WHSetTextureRotation takes integer texture,real value returns nothing
function WHGetTexturePixelWidth takes integer texture returns real
function WHGetTexturePixelHeight takes integer texture returns real
function WHGetTextureSrcRect takes integer texture returns rect
function WHSetTextureSrcRect takes integer texture,rect value returns nothing
function WHSetTexture takes integer texture,string value returns nothing
function WHSetTextureShow takes integer texture,boolean value returns nothing
function WHSetTextureTrigger takes integer texture,boolean value returns nothing
function WHEnableTextureTrigger takes integer texture returns nothing
function WHDisableTextureTrigger takes integer texture returns nothing
function WHGetTextureCenterX takes integer texture returns real
function WHGetTextureCenterY takes integer texture returns real
function WHGetTextureMinX takes integer texture returns real
function WHGetTextureMinY takes integer texture returns real
function WHGetTextureMaxX takes integer texture returns real
function WHGetTextureMaxY takes integer texture returns real
function WHTextureAddEvent takes integer texture,integer order,code wCallBack,code lCallBack returns integer
function WHTextureRemoveEvent takes integer texture,integer Event returns nothing
function WHSetKeyboard takes integer Key,boolean up returns nothing
function WHClickKeyboard takes integer Key returns nothing
function WHGetEventIndex takes nothing returns integer
function WHGetTriggerKeyboard takes nothing returns integer
function WHGetTriggerTexture takes nothing returns integer
function WHGetTriggerEvent takes nothing returns integer
function WHGetTriggerKeyboardAction takes nothing returns boolean
function WHShowConsole takes boolean show returns nothing
function WHGetLittleMapX takes nothing returns real
function WHSetLittleMapX takes real value returns nothing
function WHGetLittleMapY takes nothing returns real
function WHSetLittleMapY takes real value returns nothing
» Frame API
» FrameTypes
    1 = BackdropFrame
    2 = ButtonFrame
    3 = ChatMode
    4 = CommandButton
    5 = CursorFrame
    6 = EditBox
    7 = Frame
    8 = FloatingFrame
    9 = GameUI
  10 = HeroBarButton
  11 = HighlightFrame
  12 = LayoutFrame
  13 = MessageFrame
  14 = Minimap
  15 = ModelFrame
  16 = PortraitButton
  17 = ScreenFrame
  18 = SimpleButton
  19 = SimpleFontString
  20 = SimpleFrame
  21 = SimpleGlueFrame
  22 = ???
  23 = SimpleMessageFrame
  24 = Slider
  25 = SpriteFrame
  26 = StatBar
  27 = TextArea
  28 = TextButtonFrame
  29 = TextFrame
  30 = UberToolTipWar3
  31 = WorldFrameWar3
  32 = GlueButtonWar3
  33 = GlueTextButtonWar3
  34 = GlueCheckBoxWar3
  35 = GluePopupMenuWar3
  36 = GlueEditBoxWar3
  37 = SlashChatBox
  38 = TimerTextFrame
  39 = SimpleStatusBar
  40 = StatusBar
  41 = UpperButtonBar
  42 = ResourceBar
  43 = SimpleConsole
  44 = PeonBar
  45 = HeroBar
  46 = TimeOfDayIndicator
  47 = InfoBar
  48 = TimeCover
  49 = ProgressIndicator
  50 = HeroLevelBar
  51 = BuildTimeIndicator
  52 = InfoPanelDestructableDetail
  53 = InfoPanelItemDetail
  54 = InfoPanelIconAlly
  55 = InfoPanelIconHero
  56 = InfoPanelIconGold
  57 = InfoPanelIconFood
  58 = InfoPanelIconRank
  59 = InfoPanelIconArmor
  60 = InfoPanelIconDamage
  61 = InfoPanelCargoDetail
  62 = InfoPanelBuildingDetail
  63 = InfoPanelUnitDetail
  64 = SimpleTexture
» FrameAPI
function GetFrameByName takes string name,integer id returns integer
function CreateFrameEx takes string baseframe,integer parent,integer point,integer relativepoint,integer id returns integer
function CreateFrame takes string baseframe,integer parent,integer id returns integer
function CreateSimpleFrame takes integer parent returns integer
function GetUnitFramePosition takes integer pUnit returns boolean
function HideFrame takes integer pFrame returns integer
function ShowFrame takes integer pFrame returns integer
function SetFrameAlpha takes integer pFrame,integer alpha returns integer
function SetLayerFont takes integer pFrame,string filename,real height,integer flag returns integer
function SetFrameTooltip takes integer pFrame,integer pTooltip returns integer
function SetFrameFocus takes integer pFrame,boolean flag returns integer
function SetFrameCageMouse takes integer pFrame,boolean flag returns integer
function SetFrameAbsolutePoint takes integer pFrame,integer point,real x,real y returns integer
function SetFramePoint takes integer pFrame,integer point,integer pParentFrame,integer relativePoint,real x,real y returns integer
function ClearFrameAllPoints takes integer pFrame returns integer
function SetFrameWidth takes integer pFrame,real width returns integer
function SetFrameHeight takes integer pFrame,real height returns integer
function SetFrameAllPoints takes integer pFrame,integer relativeframe returns integer
function SetFrameSize takes integer pFrame,real width,real height returns integer
function SetLayoutFrameScale takes integer pFrame,real scale returns integer
function SetFrameVertexColour takes integer pFrame,integer colour returns integer
function SetFrameVertexColourEx takes integer pFrame,integer alpha,integer red,integer blue,integer green returns integer
function GetFrameSkinByName takes string name,integer id returns integer
function DestroyFrame takes integer pFrame returns integer
function GetFrameState takes integer pFrame,integer state returns boolean
function IsFrameEnabled takes integer pFrame returns boolean
function SetFrameState takes integer pFrame,boolean flag returns integer
function EnableFrame takes integer pFrame returns integer
function DisableFrame takes integer pFrame returns integer
function GetFrameTextByName takes string name,integer id returns string
function SetFrameTextColour takes integer pFrame,integer colour returns integer
function SetFrameTextColourEx takes integer pFrame,integer alpha,integer red,integer blue,integer green returns integer
function FindLayerUnderCursor takes nothing returns integer
function ClickFrame takes integer pFrame returns integer
function SetFrameModel takes integer pFrame,string model,integer modeltype,boolean flag returns integer
function GetFrameAlpha takes integer pFrame returns integer
function UpdateFrame takes integer pFrame returns integer
function SetFrameStepValue takes integer pFrame,real step returns nothing
function GetFrameParent takes integer pFrame returns integer
function SetFrameParent takes integer pFrame,integer pParentFrame returns integer
function GetFrameName takes integer pFrame returns string
function SetFrameTexture takes integer pFrame,string texturepath,boolean flag returns integer
function SetFrameScale takes integer pFrame,real scale returns integer
function GetFrameValue takes integer pFrame returns real
function SetFrameValue takes integer pFrame,real value returns integer
function SetFrameMinMaxValue takes integer pFrame,real minval,real maxval returns integer
function SetFrameFont takes integer pFrame,string filename,real height,integer flag returns integer
function GetFrameWidth takes integer pFrame returns real
function GetFrameHeight takes integer pFrame returns real
function GetFramePoint takes integer pFrame,integer point returns integer
function GetFramePointParent takes integer pFrame,integer point returns integer
function GetFramePointRelativePoint takes integer pFrame,integer point returns integer
function GetFramePointX takes integer pFrame,integer point returns real
function GetFramePointY takes integer pFrame,integer point returns real
function GetFrameTextMaxLength takes integer pFrame returns integer
function SetFrameMaxTextLength takes integer pFrame,integer length returns nothing
function GetFrameTextLength takes integer pFrame returns integer
function GetFrameText takes integer pFrame returns string
function SetFrameText takes integer pFrame,string text returns integer
function IsReplay takes nothing returns boolean
function SetAllyCheckbox takes integer mode returns nothing
function EnableAllyCheckbox takes nothing returns nothing
function DisableAllyCheckbox takes nothing returns nothing
function DisableSaveGameMenu takes nothing returns nothing // Thus, this function MUST be called with a delay after map init.
» CFrameAPI
function LoadTOCFile takes string filename returns integer
function GetCFrameByName takes string name,integer id returns integer
function CreateCFrameEx takes string baseframe,integer parent,integer point,integer relativepoint,integer id returns integer
function CreateCFrame takes string baseframe,integer parent,integer id returns integer
function GetFrameLayoutByType takes integer pFrame,integer fid returns integer
function GetFrameLayout takes integer pFrame returns integer
function IsFrameLayoutByType takes integer pFrame,integer fid returns boolean
function IsFrameLayout takes integer pFrame returns boolean
» CFrameBackDropAPI
function LoadCBackDropFrameTexture takes string texturepath,boolean create returns integer
function SetCBackDropFrameTexture takes integer pFrame,string texturepath,boolean flag returns integer
» CFrameEditBoxAPI
function SetCEditBoxFocus takes integer pFrame,boolean flag returns integer
function SetCEditBoxFont takes integer pFrame,string filename,real height,integer flag returns integer
function GetCEditBoxText takes integer pFrame returns string
function SetCEditBoxText takes integer pFrame,string text returns integer
» CLayerAPI
function FindCLayerUnderCursorEx takes integer pActiveLayer,integer pMouseEvent returns integer
function FindCLayerUnderCursor takes nothing returns integer
function SetCLayerOwner takes integer pFrame,integer pParentFrame returns integer
function HideCLayer takes integer pFrame returns integer
function ShowCLayer takes integer pFrame returns integer
function SetCLayerAlpha takes integer pFrame,integer alpha returns integer
function SetCLayerFont takes integer pFrame,string filename,real height,integer flag returns integer
function SetCLayerTooltip takes integer pFrame,integer pTooltip returns integer
» CLayoutFrameAPI
function SetCLayoutFrameAbsolutePoint takes integer pFrame,integer point,real offsetX,real offsetY returns integer
function SetCLayoutFrameCageMouse takes integer pFrame,boolean flag returns integer
function ClearCLayoutFrameAllPoints takes integer pFrame returns integer
function SetCLayoutFrameWidth takes integer pFrame,real width returns integer
function SetCLayoutFrameHeight takes integer pFrame,real height returns integer
function SetCLayoutFrameAllPoints takes integer pFrame,integer relativeframe returns integer
function SetCLayoutFrameSize takes integer pFrame,real width,real height returns integer
function SetCLayoutFramePoint takes integer pFrame,integer point,integer pParentFrame,integer relativePoint,real x,real y returns integer
function SetCLayoutFrameScale takes integer pFrame,real scale returns integer
function GetCLayoutFrameHeight takes integer pFrame returns real
» CModelFrameAPI
Использовать на свой страх и риск!
function AddCModelFrameModel takes integer pFrame,string model,integer modeltype returns integer
function GetCModelFrameHeight takes integer pFrame returns real
» CSimpleButtonAPI
function CreateCSimpleButton takes integer pParent returns integer
function DestroyCSimpleButton takes integer pButton returns boolean // Использовать на свой страх и риск!
function SetCSimpleButtonStateTexture takes integer pButton,integer state,string texturepath returns boolean
function SetCSimpleButtonState takes integer pButton,integer state returns boolean
» CSimpleFontAPI
function CreateCSimpleFont takes integer pParent returns integer
function GetCSimpleFontByName takes string name,integer id returns integer
function GetCSimpleFontTextByName takes string name,integer id returns string
function SetCSimpleFontStringScale takes integer pFrame,real scale returns integer
function SetCSimpleFontStringFont takes integer pFrame,string filename,real height,integer flag returns integer
function GetCSimpleFontStringHeight takes integer pFrame returns real
function SetCSimpleFontText takes integer pFrame,string text returns integer
» CSimpleFrameAPI
function CreateCSimpleFrame takes integer pParent returns integer
function CreateCSimpleConsole takes string baseCSimpleConsole,integer parent,integer id returns integer
function GetCSimpleFrameByName takes string name,integer id returns integer
function SetCSimpleFrameScale takes integer pCSimpleFrame,real scale returns integer
function SetCSimpleFramePriority takes integer pCSimpleFrame,integer priority returns integer
function SetCSimpleFrameParent takes integer pCSimpleFrame,integer pParentCSimpleFrame returns integer
» CSimpleGlueAPI
function SetCSimpleGlueFrameScale takes integer pFrame,real scale returns integer
» CSimpleMessageFrameAPI
function SetCSimpleMessageFrameFont takes integer pFrame,string filename,real height,integer flag returns integer
» CSimpleRegionAPI
function SetCSimpleRegionVertexColour takes integer pFrame,integer colour returns integer
function SetCSimpleRegionVertexColourEx takes integer pFrame,integer alpha,integer red,integer blue,integer green returns integer
» CSimpleStatusBarAPI
function SetCSimpleStatusBarTexture takes integer pFrame,string texturepath,boolean flag returns integer
function SetCSimpleStatusBarValue takes integer pFrame,real value returns integer
function SetCSimpleStatusBarMinMaxValue takes integer pFrame,real minval,real maxval returns integer
» CSimpleTextureAPI
function CreateCSimpleTexture takes integer pParent returns integer
function FillCSimpleTexture takes integer pFrame,integer colour returns integer
function GetCSimpleTextureByName takes string name,integer id returns integer
function SetCSimpleTextureTexture takes integer pFrame,string texturepath,boolean flag returns integer
» CSliderAPI
function SetCSliderCurrentValue takes integer pFrame,real value returns integer
» CSpriteFrameAPI
function SetCSpriteFrameArt takes integer pFrame,string model,integer modeltype,boolean flag returns integer
function GetCSpriteFrameHeight takes integer pFrame returns real
function SetCSpriteFrameScale takes integer pFrame,real scale returns integer
» CStatusBarAPI
function SetCStatusBarArt takes integer pFrame,string model,integer modeltype returns integer
function SetCStatusBarValue takes integer pFrame,real value returns integer
function SetCStatusBarMinMaxValue takes integer pFrame,real minval,real maxval returns integer
» CTextAreaAPI
function SetCTextAreaText takes integer pFrame,string text returns integer
» CTextFrameAPI
function SetCTextFrameTextColour takes integer pFrame,integer colour returns integer
function SetCTextFrameTextColourEx takes integer pFrame,integer alpha,integer red,integer blue,integer green returns integer
function GetCTextFrameHeight takes integer pFrame returns real
function SetCTextFrameText takes integer pFrame,string text returns integer
» AbilityAPI
» AbilityAddressAPI
function GetAbilityBaseDataByAddress takes integer pAbil returns integer
function GetAddressAbilityTypeId takes integer pAbil returns integer
function GetAddressAbilityBaseId takes integer pAbil returns integer
function GetAddressAbilityOrderId takes integer pAbil returns integer
function IsAddressAbilityOnCooldown takes integer pAbil returns boolean
function IsAddressAbilitySafe takes integer pAbil returns boolean
function IsAddressAbilityUsable takes integer pAbil returns boolean
function GetAddressAbilityCastpoint takes integer pAbil returns real
function SetAddressAbilityCastpoint takes integer pAbil,real dur returns nothing
function GetAddressAbilityBackswing takes integer pAbil returns real
function SetAddressAbilityBackswing takes integer pAbil,real dur returns nothing
function GetAddressAbilityManaCost takes integer pAbil,integer level returns integer
function SetAddressAbilityManaCost takes integer pAbil,integer level,integer mc returns nothing
function GetAddressAbilityCooldownStamp takes integer pAbil returns real
function GetAddressAbilityCurrentCooldown takes integer pAbil returns real
function SetAddressAbilityCooldown takes integer pAbil,real seconds,string mode returns nothing
function StartAddressAbilityCooldown takes integer pAbil,real cd returns boolean
function GetAddressAbilityCastTime takes integer pAbil returns real
function SetAddressAbilityCastTime takes integer pAbil,real r returns nothing
function SetAddressAbilityDisabled takes integer pAbil,integer count returns nothing
function GetAddressAbilityDisabled takes integer pAbil returns integer
function SetAddressAbilityHidden takes integer pAbil,integer count returns nothing
function AddAddressAbilityHidden takes integer pAbil,integer d returns nothing
function GetAddressAbilityDisabledEx takes integer pAbil returns integer
function SetAddressAbilityDisabledEx takes integer pAbil,integer count returns nothing
function ShowAddressAbility takes integer pAbil,boolean flag returns nothing
function SilenceAddressAbility takes integer pAbil returns nothing
function UnsilenceAddressAbility takes integer pAbil returns nothing
» AbilityBaseAPI
function GetAbilityBaseDataById takes integer aid returns integer
function GetAbilityBaseDataByIdCaching takes integer aid returns integer
function GetAbilityBaseUIById takes integer aid returns integer
function GetAbilityBaseUICaching takes integer aid returns integer
function SetAbilityBaseHotkeyParam takes integer aid,integer off,integer newVal returns nothing
function GetAbilityBaseHotkeyParam takes integer aid,integer off returns integer
function SetAbilityBaseIntegerParam takes integer aid,integer off,integer newVal returns nothing
function GetAbilityBaseIntegerParam takes integer aid,integer off returns integer
function SetAbilityBaseRealParam takes integer aid,integer off,real newVal returns nothing
function GetAbilityBaseRealParam takes integer aid,integer off returns real
function SetAbilityBaseBoolParam takes integer aid,integer off,boolean flag returns nothing
function GetAbilityBaseBoolParam takes integer aid,integer off returns boolean
function GetAbilityBaseStringParam takes integer aid,integer off returns string
function SetAbilityBaseStringParam takes integer aid,integer off,string newVal returns nothing
function GetAbilityBaseStringParam2 takes integer aid,integer off,integer lvl returns string
function SetAbilityBaseStringParam2 takes integer aid,integer off,string newVal,integer lvl returns nothing
function GetAbilityBaseMaxLevel takes integer aid returns integer
function GetAbilityBaseManaCost takes integer aid,integer level returns integer
function SetAbilityBaseManaCost takes integer aid,integer level,integer cost returns nothing
function GetAbilityBaseCooldown takes integer aid,integer level returns real
function SetAbilityBaseCooldown takes integer aid,integer level,real cool returns nothing
function GetAbilityBaseEffectSound takes integer aid returns string
function SetAbilityBaseEffectSound takes integer aid,string s returns nothing
function GetAbilityBaseGlobalMessage takes integer aid returns string
function SetAbilityBaseGlobalMessage takes integer aid,string s returns nothing
function GetAbilityBaseGlobalSound takes integer aid returns string
function SetAbilityBaseGlobalSound takes integer aid,string s returns nothing
function GetAbilityBaseButtonX takes integer aid returns integer
function SetAbilityBaseButtonX takes integer aid,integer newX returns nothing
function GetAbilityBaseButtonY takes integer aid returns integer
function SetAbilityBaseButtonY takes integer aid,integer newY returns nothing
function GetAbilityBaseUnButtonX takes integer aid returns integer
function SetAbilityBaseUnButtonX takes integer aid,integer newX returns nothing
function GetAbilityBaseUnButtonY takes integer aid returns integer
function SetAbilityBaseUnButtonY takes integer aid,integer newY returns nothing
function GetAbilityBaseResearchButtonX takes integer aid returns integer
function SetAbilityBaseResearchButtonX takes integer aid,integer newX returns nothing
function GetAbilityBaseResearchButtonY takes integer aid returns integer
function SetAbilityBaseResearchButtonY takes integer aid,integer newY returns nothing
function GetAbilityBaseMissileSpeed takes integer aid returns real
function SetAbilityBaseMissileSpeed takes integer aid,real speed returns nothing
function GetAbilityBaseMissileArc takes integer aid returns real
function SetAbilityBaseMissileArc takes integer aid,real arc returns nothing
function IsAbilityMissileHoming takes integer aid returns boolean
function SetAbilityBaseMissileHoming takes integer aid,boolean homing returns nothing
function GetAbilityBaseSpellDetails takes integer aid returns integer
function SetAbilityBaseSpellDetails takes integer aid,integer det returns nothing
function GetAbilityBaseHotkeyId takes integer aid returns integer
function SetAbilityBaseHotkeyId takes integer aid,integer newVal returns nothing
function GetAbilityBaseUnHotkeyId takes integer aid returns integer
function SetAbilityBaseUnHotkeyId takes integer aid,integer newVal returns nothing
function GetAbilityBaseResearchHotkeyId takes integer aid returns integer
function SetAbilityBaseResearchHotkeyId takes integer aid,integer newVal returns nothing
function GetAbilityBaseTip takes integer aid,integer lvl returns string
function SetAbilityBaseTip takes integer aid,integer lvl,string s returns nothing
function GetAbilityBaseUbertip takes integer aid,integer lvl returns string
function SetAbilityBaseUbertip takes integer aid,integer lvl,string s returns nothing
function SetAbilityBaseHotkeyCommon takes integer aid,integer newVal returns nothing
» AbilityNormalAPI
function GetAbilityBaseUI takes ability abil returns integer
function GetAbilityBaseId takes ability a returns integer
function GetAbilityOrderId takes ability a returns integer
function IsAbilityOnCooldown takes ability a returns boolean
function IsAbilitySafe takes ability a returns boolean
function IsAbilityUsable takes ability a returns boolean
function GetAbilityCastpoint takes ability a returns real
function SetAbilityCastpoint takes ability a,real dur returns nothing
function GetAbilityBackswing takes ability a returns real
function SetAbilityBackswing takes ability a,real dur returns nothing
function GetAbilityManaCost takes ability a,integer level returns integer
function SetAbilityManaCost takes ability a,integer level,integer mc returns nothing
function GetAbilityCooldownStamp takes ability a returns real
function GetAbilityCurrentCooldown takes ability a returns real
function SetAbilityCooldown takes ability a,real seconds,string mode returns nothing
function AddAbilityCooldown takes ability a,real seconds returns nothing
function ReduceAbilityCooldown takes ability a,real seconds returns nothing
function ResetAbilityCooldown takes ability a returns nothing
function StartAbilityCooldown takes ability a,real cd returns nothing
function GetAbilityCastTime takes ability a returns real
function SetAbilityCastTime takes ability a,real r returns nothing
function SetAbilityDisabled takes ability a,integer count returns nothing
function GetAbilityDisabled takes ability a returns integer
function SetAbilityHidden takes ability a,integer count returns nothing
function AddAbilityHidden takes ability a,integer count returns nothing
function GetAbilityDisabledEx takes ability a returns integer
function SetAbilityDisabledEx takes ability a,integer count returns nothing
function SilenceAbility takes ability a returns nothing
function UnsilenceAbility takes ability a returns nothing
function ShowAbility takes ability a,boolean flag returns nothing
» AbilityUnitAPI
function GetUnitAbilityReal takes integer pUnit,integer aid,integer unk1,integer unk2,integer unk3,integer unk4 returns integer
function GetUnitAbilityData takes unit u,integer aid,integer flag returns integer
function GetUnitAbility takes unit u,integer aid returns integer
function GetUnitAbilityBase takes unit u,integer aid returns integer
function GetUnitAbilityOrderId takes unit u,integer aid returns integer
function IsUnitAbilityOnCooldown takes unit u,integer aid returns boolean
function IsUnitAbilitySafe takes unit u,integer aid returns boolean
function IsUnitAbilityUsable takes unit u,integer aid returns boolean
function GetUnitAbilityCastpoint takes unit u,integer aid returns real
function SetUnitAbilityCastpoint takes unit u,integer aid,real dur returns nothing
function GetUnitAbilityBackswing takes unit u,integer aid returns real
function SetUnitAbilityBackswing takes unit u,integer aid,real dur returns nothing
function GetUnitAbilityManaCost takes unit u,integer aid,integer level returns integer
function SetUnitAbilityManaCost takes unit u,integer aid,integer level,integer mc returns nothing
function GetUnitAbilityCooldownStamp takes unit u,integer aid returns real
function GetUnitAbilityCurrentCooldown takes unit u,integer aid returns real
function SetUnitAbilityCooldown takes unit u,integer aid,real seconds,string mode returns nothing
function AddUnitAbilityCooldown takes unit u,integer aid,real seconds returns nothing
function ReduceUnitAbilityCooldown takes unit u,integer aid,real seconds returns nothing
function ResetUnitAbilityCooldown takes unit u,integer aid returns nothing
function StartUnitAbilityCooldown takes unit u,integer aid,real cd returns nothing
function GetUnitAbilityCastTime takes unit u,integer aid returns real
function SetUnitAbilityCastTime takes unit u,integer aid,real r returns nothing
function SetUnitAbilityDisabled takes unit u,integer aid,integer count returns nothing
function GetUnitAbilityDisabled takes unit u,integer aid returns integer
function SetUnitAbilityHidden takes unit u,integer aid,integer count returns nothing
function AddUnitAbilityHidden takes unit u,integer aid,integer count returns nothing
function GetUnitAbilityDisabledEx takes unit u,integer aid returns integer
function SetUnitAbilityDisabledEx takes unit u,integer aid,integer count returns nothing
function SilenceUnitAbility takes unit u,integer aid returns nothing
function UnsilenceUnitAbility takes unit u,integer aid returns nothing
function ShowUnitAbility takes unit u,integer aid,boolean flag returns nothing
» CastAbility
function CastAbilityPosition takes integer aid,unit source,real targX,real targY returns nothing
function CastAbilityTarget takes integer aid,unit source,widget target returns nothing
// else spells which deals damage immediately on cast will interference with damage-related functions
function CastAbilityTargetGround takes integer aid,unit source,integer lvl,real targX,real targY,boolean remove returns nothing
function CastAbilityTargetWidget takes integer aid,unit source,widget target,integer lvl,boolean remove returns nothing
function CastAbilityTargetSelf takes integer aid,unit source,integer lvl returns nothing
» Agent API
» WidgetAPI
function GetTerrainZ takes real axisX,real axisY returns real
function GetWidgetTerrainZ takes widget Widget returns real
function SetWidgetCoordinates takes widget Widget,real x,real y returns integer
function SetWidgetPosition takes widget Widget,real x,real y returns integer
function SetDestructablePosition takes destructable dest,real x,real y returns integer
» EffectAPI
function IsEffectHidden takes effect e returns boolean
function ShowEffect takes effect e,boolean flag returns nothing
function SetEffectAlpha takes effect e,integer alpha returns nothing
function GetEffectColour takes effect e returns integer
function SetEffectColour takes effect e,integer colour returns nothing
function SetEffectColourEx takes effect e,integer red,integer green,integer blue,integer alpha returns nothing
function SetEffectVertexColour takes effect e,integer red,integer green,integer blue,integer alpha returns nothing
function GetEffectColourA takes effect e returns integer
function SetEffectColourA takes effect e,integer alpha returns nothing
function GetEffectColourR takes effect e returns integer
function SetEffectColourR takes effect e,integer red returns nothing
function GetEffectColourG takes effect e returns integer
function SetEffectColourG takes effect e,integer green returns nothing
function GetEffectColourB takes effect e returns integer
function SetEffectColourB takes effect e,integer blue returns nothing
function SetEffectAnimationByIndex takes effect e,integer index returns nothing
function SetEffectModel takes effect e,string model returns nothing
function GetEffectX takes effect e returns real
function SetEffectX takes effect e,real x returns nothing
function GetEffectY takes effect e returns real
function SetEffectY takes effect e,real y returns nothing
function GetEffectZ takes effect e returns real
function SetEffectZ takes effect e,real z returns nothing
function SetEffectPosition takes effect e,real x,real y,real z returns nothing
function GetEffectTimeScale takes effect e returns real
function SetEffectTimeScale takes effect e,real speed returns nothing
function GetEffectScale takes effect e returns real
function SetEffectScale takes effect e,real scale returns nothing
function SetEffectScaleEx takes effect e,real x,real y,real z returns nothing
function SetEffectSpaceRotation takes effect e,real yaw,real pitch,real roll returns nothing
function GetEffectRoll takes effect e returns real
function SetEffectRoll takes effect e,real angle returns nothing
function GetEffectPitch takes effect e returns real
function SetEffectPitch takes effect e,real angle returns nothing
function GetEffectFacing takes effect e returns real
function SetEffectFacing takes effect e,real angle returns nothing
function ResetEffectMatrix takes effect e returns nothing
» TrackableAPI
function IsTrackableHidden takes trackable track returns boolean
function ShowTrackable takes trackable track,boolean flag returns nothing
function SetTrackableAlpha takes trackable track,integer alpha returns nothing
function GetTrackableColour takes trackable track returns integer
function SetTrackableColour takes trackable track,integer colour returns nothing
function SetTrackableColourEx takes trackable track,integer red,integer green,integer blue,integer alpha returns nothing
function SetTrackableVertexColour takes trackable track,integer red,integer green,integer blue,integer alpha returns nothing
function GetTrackableColourA takes trackable track returns integer
function SetTrackableColourA takes trackable track,integer alpha returns nothing
function GetTrackableColourR takes trackable track returns integer
function SetTrackableColourR takes trackable track,integer red returns nothing
function GetTrackableColourG takes trackable track returns integer
function SetTrackableColourG takes trackable track,integer green returns nothing
function GetTrackableColourB takes trackable track returns integer
function SetTrackableColourB takes trackable track,integer blue returns nothing
function SetTrackableAnimationByIndex takes trackable track,integer index returns nothing
function SetTrackableModel takes trackable track,string model returns nothing
function GetTrackableX takes trackable track returns real
function SetTrackableX takes trackable track,real x returns nothing
function GetTrackableY takes trackable track returns real
function SetTrackableY takes trackable track,real y returns nothing
function GetTrackableZ takes trackable track returns real
function SetTrackableZ takes trackable track,real z returns nothing
function SetTrackablePosition takes trackable track,real x,real y,real z returns nothing
function GetTrackableTimeScale takes trackable track returns real
function SetTrackableTimeScale takes trackable track,real speed returns nothing
function GetTrackableScale takes trackable track returns real
function SetTrackableScale takes trackable track,real scale returns nothing
function SetTrackableScaleEx takes trackable track,real x,real y,real z returns nothing
function SetTrackableSpaceRotation takes trackable track,real yaw,real pitch,real roll returns nothing
function GetTrackableRoll takes trackable track returns real
function SetTrackableRoll takes trackable track,real angle returns nothing
function GetTrackablePitch takes trackable track returns real
function SetTrackablePitch takes trackable track,real angle returns nothing
function GetTrackableFacing takes trackable track returns real
function SetTrackableFacing takes trackable track,real angle returns nothing
function ResetTrackableMatrix takes trackable track returns nothing
» Item API
» ItemBaseAPI
function GetItemBaseDataById takes integer iid returns integer
function GetItemBaseData takes item Item returns integer
function GetItemBaseDataByIdCaching takes integer iid returns integer
function GetItemBaseDataCaching takes item it returns integer
function GetItemBaseTypeIdById takes integer iid returns integer
function GetItemBaseTypeId takes item it returns integer
function GetItemBaseGoldCostById takes integer iid returns integer
function GetItemBaseGoldCost takes item it returns integer
function SetItemBaseGoldCostById takes integer iid,integer cost returns nothing
function SetItemBaseGoldCost takes item it,integer cost returns nothing
function GetItemBaseLumberCostById takes integer iid returns integer
function GetItemBaseLumberCost takes item it returns integer
function SetItemBaseLumberCostById takes integer iid,integer cost returns nothing
function SetItemBaseLumberCost takes item it,integer cost returns nothing
function GetItemBaseLevelById takes integer iid returns integer
function GetItemBaseLevel takes item it returns integer
function SetItemBaseLevelById takes integer iid,integer level returns nothing
function SetItemBaseLevel takes item it,integer lvl returns nothing
function IsItemBaseSellableById takes integer iid returns boolean
function IsItemBaseSellable takes item it returns boolean
function IsItemBasePawnableById takes integer iid returns boolean
function IsItemBasePawnable takes item it returns boolean
function IsItemBaseDroppableById takes integer iid returns boolean
function IsItemBaseDroppable takes item it returns boolean
function IsItemBaseDroppedOnDeathById takes integer iid returns boolean
function IsItemBaseDroppedOnDeath takes item it returns boolean
» ItemNormalAPI
function StartAddressItemCooldown takes integer pUnit,integer pItem,real cd returns nothing
function SetAddressItemIdType takes integer pItem,integer id returns nothing
function SetAddressItemModel takes integer pItem,string model returns nothing
function GetAddressItemLife takes integer pItem returns real
function SetAddressItemLife takes integer pItem,real life returns nothing
function GetAddressItemMaxLife takes integer pItem returns real
function SetAddressItemMaxLife takes integer pItem,real life returns nothing
function StartItemCooldown takes unit u,item it,real cd returns nothing
function SetItemIdType takes item it,integer id returns nothing
function SetItemModel takes item it,string model returns nothing
function GetItemLife takes item it returns real
function SetItemLife takes item it,real life returns nothing
function GetItemMaxLife takes item it returns real
function SetItemMaxLife takes item it,real life returns nothing
» Unit API
» UnitBaseAPI
function GetUnitBaseDataById takes integer uid returns integer
function GetUnitBaseData takes unit u returns integer
function GetUnitBaseDataByIdCaching takes integer uid returns integer
function GetUnitBaseDataCaching takes unit u returns integer
function GetUnitBaseUIDataById takes integer uid returns integer
function GetUnitBaseUIData takes unit u returns integer
function GetUnitBaseUIDataByIdCaching takes integer uid returns integer
function GetUnitBaseUIDataCaching takes unit u returns integer
function GetUnitBaseUIIntegerParam takes integer uid,integer includedLevel,integer offset returns integer
function SetUnitBaseUIIntegerParam takes integer uid,integer includedLevel,integer offset,integer val returns nothing
function GetUnitBaseUIStringParam takes integer uid,integer includedLevel,integer offset returns string
function SetUnitBaseUIStringParam takes integer uid,integer includedLevel,integer offset,string val returns nothing
function GetUnitBasePortraitById takes integer uid returns string
function SetUnitBasePortraitById takes integer uid,string model returns nothing
function GetUnitBaseMissileArtById takes integer uid,string path returns string
function SetUnitBaseMissileArtById takes integer uid,string model returns nothing
function GetUnitBaseMissileSpeedById takes integer uid,integer index returns real
function SetUnitBaseMissileSpeedById takes integer uid,integer index,real speed returns nothing
function GetUnitBaseColorById takes integer uid returns integer
function GetUnitBaseModelById takes integer uid returns string
function SetUnitBaseModelById takes integer uid,string model returns nothing
function GetUnitBaseTipById takes integer uid returns string
function SetUnitBaseTipById takes integer uid,string text returns nothing
function GetUnitBaseUbertipById takes integer uid returns string
function SetUnitBaseUbertipById takes integer uid,string text returns nothing
function GetUnitBaseHotkeyById takes integer uid returns integer
function SetUnitBaseHotkeyById takes integer uid,integer key returns nothing
function GetUnitBaseModel takes unit u returns string
function SetUnitBaseModel takes unit u,string model returns nothing
function GetUnitBasePortrait takes unit u returns string
function SetUnitBasePortrait takes unit u,string model returns nothing
function GetUnitBaseMissileArt takes unit u,string model returns string
function SetUnitBaseMissileArt takes unit u,string model returns nothing
function GetUnitBaseMissileSpeed takes unit u,integer index returns real
function SetUnitBaseMissileSpeed takes unit u,integer index,real speed returns nothing
function GetUnitBaseColor takes unit u returns integer
function GetUnitBaseTip takes unit u returns string
function SetUnitBaseTip takes unit u,string text returns nothing
function GetUnitBaseUbertip takes unit u returns string
function SetUnitBaseUbertip takes unit u,string text returns nothing
function GetUnitBaseHotkey takes unit u returns integer
function SetUnitBaseHotkey takes unit u,integer key returns nothing
function GetHeroBasePrimaryAttributeById takes integer uid returns integer
function SetHeroBasePrimaryAttributeById takes integer uid,integer index returns nothing
function GetHeroBasePrimaryAttribute takes unit u returns integer
function SetHeroBasePrimaryAttribute takes unit u,integer index returns nothing
» UnitNormalAPI
function GetUnitTypeIdReal takes unit u returns integer
function SetUnitTypeId takes unit u,integer i returns nothing
function MorphUnitToTypeId takes unit u,integer id returns integer
// This function imitates spells like Metamorphosis etc, but without additional leaks.
function GetHeroNeededXPForLevel takes unit u,integer level returns integer
function GetHeroNeededXP takes unit u returns integer
function GetUnitVertexColour takes unit u returns integer
function GetUnitVertexColourA takes unit u returns integer
function GetUnitVertexColourR takes unit u returns integer
function GetUnitVertexColourG takes unit u returns integer
function GetUnitVertexColourB takes unit u returns integer
function SetUnitModel takes unit u,string model returns nothing
function SetUnitTexture takes unit u,string texturepath,integer textureId returns integer
function GetUnitImpactZ takes unit u returns real
function SetUnitImpactZ takes unit u,real impactZ returns nothing
function RedrawUnit takes unit u returns nothing
function IsAttackDisabled takes unit u returns boolean
function UnitDisableAttack takes unit u returns nothing
function UnitEnableAttack takes unit u returns nothing
function GetUnitCritterFlag takes unit u returns integer
function SetUnitCritterFlag takes unit u,integer id returns nothing
function GetUnitTimedLife takes unit u returns real
function SetUnitTimedLife takes unit u,real dur returns nothing
function SetUnitPhased takes unit u returns nothing
function UnitApplySilence takes unit u,boolean flag returns nothing
function UnitDisableAbilities takes unit u,boolean flag returns nothing
function UnitSetStunFlag takes unit u,boolean add returns nothing
function IsUnitStunned takes unit u returns boolean
function UnitApplyStun takes unit u returns nothing
function IsUnitMovementDisabled takes unit u returns boolean
function SetUnitControl takes unit u,integer flagval,integer moveval,integer atackval,integer invval returns nothing
function UnitDisableControl takes unit u returns nothing
function UnitEnableControl takes unit u returns nothing
function UnitRemoveMovementDisables takes unit u returns nothing
function SetUnitMovement takes integer pData,boolean flag returns nothing
function UnitEnableMovement takes unit u returns nothing
function UnitDisableMovement takes unit u returns nothing
function UnitDisableMovementEx takes unit u,boolean disable returns nothing
function IsUnitInventoryDisabled takes unit u returns boolean
function UnitEnableInventory takes unit u,boolean flag returns nothing
function GetAddressLocustFlags takes integer pAddr1,integer pAddr2 returns integer
function SetLocustFlags takes unit u,integer i returns nothing
function UnitEnableTruesightImmunity takes unit u returns nothing
function UnitDisableTruesightImmunity takes unit u returns nothing
function GetUnitFlags takes unit u returns integer
function SetUnitFlags takes unit u,integer i returns nothing
function AddUnitFlags takes unit u,integer i returns nothing
function GetUnitFlags_2 takes unit u returns integer
function SetUnitFlags_2 takes unit u,integer i returns nothing
function AddUnitFlags_2 takes unit u,integer i returns nothing
function GetUnitVisibilityClass takes unit u returns integer
function SetUnitVisibleByPlayer takes unit u,player p,integer c returns nothing
function IsUnitInvulnerable takes unit u returns boolean
function GetUnitInvulnerableCounter takes unit u returns integer
function SetUnitInvulnerableCounter takes unit u,integer i returns nothing
function ModifyInvulnerableCounter takes unit u,integer diff returns nothing
function IsUnitInvulnerable2 takes unit u returns boolean
function SetUnitFacingInstant takes unit u,real a returns nothing
function GetUnitMoveType takes unit u returns integer
function SetUnitMoveType takes unit u,integer m_type returns nothing
function GetHeroPrimaryAttribute takes unit u returns integer
function SetHeroPrimaryAttribute takes unit u,integer i returns nothing
function GetUnitAttackAbility takes unit u returns integer
function SetUnitAttackAbility takes unit u,integer pAddr returns nothing
function GetUnitAttackOffsetValue takes unit u,integer pOff returns integer
function GetUnitNextAttackTimestamp takes unit u returns real
function UnitResetAttackCooldown takes unit u returns boolean
function UnitNullifyCurrentAttack takes unit u returns string
function AddUnitExtraAttack takes unit u returns boolean
function GetUnitAttackTypeByIndex takes unit u,integer index returns integer
function GetUnitAttackType1 takes unit u returns integer
function GetUnitAttackType2 takes unit u returns integer
function SetUnitAttackOffsetValue takes unit u,integer offset,integer val returns nothing
function SetUnitAttackTypeByIndex takes unit u,integer i,integer attacknum returns nothing
function SetUnitAttackType1 takes unit u,integer i returns nothing
function SetUnitAttackType2 takes unit u,integer i returns nothing
function GetUnitWeaponSound takes unit u returns integer
function SetUnitWeaponSound takes unit u,integer i returns nothing
function GetUnitWeaponType takes unit u returns integer
function SetUnitWeaponType takes unit u,integer i returns nothing
function GetUnitBaseDamage takes unit u returns integer
function SetUnitBaseDamage takes unit u,integer i returns nothing
function AddUnitBaseDamage takes unit u,integer bonus returns nothing
function GetUnitBonusDamage takes unit u returns integer
function SetUnitBonusDamage takes unit u,integer i returns nothing
function AddUnitBonusDamage takes unit u,integer i returns nothing
function GetUnitTotalDamage takes unit u returns integer
function GetUnitBaseAttributeDamage takes unit u returns integer
function SetUnitBaseAttributeDamage takes unit u,integer i returns nothing
function GetUnitDamageDicesSideCount takes unit u returns integer
function SetUnitDamageDicesSideCount takes unit u,integer i returns nothing
function GetUnitDamageDicesCount takes unit u returns integer
function SetUnitDamageDicesCount takes unit u,integer i returns nothing
function GetUnitAttackRangeByIndex takes unit u,integer index returns real
function SetUnitAttackRangeByIndex takes unit u,integer index,real r returns nothing
function GetUnitAttackRange1 takes unit u returns real
function SetUnitAttackRange1 takes unit u,real r returns nothing
function GetUnitAttackRange2 takes unit u returns real
function SetUnitAttackRange2 takes unit u,real r returns nothing
function GetUnitBATByIndex takes unit u,integer index returns real
function SetUnitBATByIndex takes unit u,integer index,real r returns nothing
function GetUnitBAT1 takes unit u returns real
function SetUnitBAT1 takes unit u,real r returns nothing
function GetUnitBAT2 takes unit u returns real
function SetUnitBAT2 takes unit u,real r returns nothing
function GetUnitAttackPointByIndex takes unit u,integer index returns real
function SetUnitAttackPointByIndex takes unit u,integer index,real r returns nothing
function GetUnitAttackPoint1 takes unit u returns real
function SetUnitAttackPoint1 takes unit u,real r returns nothing
function GetUnitAttackPoint2 takes unit u returns real
function SetUnitAttackPoint2 takes unit u,real r returns nothing
function GetUnitAttackEnabledIndex takes unit u returns integer
function GetUnitAttackBackswing takes unit u returns real
function SetUnitAttackBackswing takes unit u,real r returns nothing
function GetUnitAttackSpeed takes unit u returns real
function SetUnitAttackSpeed takes unit u,real r returns nothing
function AddUnitAttackSpeed takes unit u,real r returns nothing
function GetUnitAttackDamage takes unit u returns real
function GetUnitArmourType takes unit u returns integer
function SetUnitArmourType takes unit u,integer id returns nothing
function GetUnitArmour takes unit u returns real
function SetUnitArmour takes unit u,real r returns nothing
function AddUnitArmour takes unit u,real value returns nothing
function GetUnitTimeScale takes unit u returns real
function GetUnitBaseMoveSpeed takes unit u returns real
function GetUnitBonusMoveSpeed takes unit u returns real
function SetUnitBonusMoveSpeed takes unit u,real r returns boolean
function AddUnitBonusMovespeed takes unit u,real r returns nothing
function SetUnitMaxLife takes unit u,real newhp returns nothing
function AddUnitMaxLife takes unit u,real value returns nothing
function SetUnitMaxMana takes unit u,real newmp returns nothing
function AddUnitMaxMana takes unit u,real value returns nothing
function GetWidgetLifeRegen takes widget u returns real
function GetUnitLifeRegen takes unit u returns real
function SetUnitLifeRegen takes unit u,real r returns nothing
function AddUnitLifeRegen takes unit u,real r returns nothing
function GetUnitManaRegen takes unit u returns real
function SetUnitManaRegen takes unit u,real r returns nothing
function AddUnitManaRegen takes unit u,real r returns nothing
» Misc
» ConstantsAPI
function IsOPLimitEnabled takes nothing returns boolean
function EnableOPLimit takes boolean flag returns nothing
» UIAPI
function SetUIFramePoint takes integer pFrame,integer point,integer pParentFrame,integer relativePoint,real x,real y returns integer
function HideUI takes nothing returns nothing
function ShowUI takes nothing returns nothing
function EditBlackBorders takes real topX,real topY,real botX,real botY returns nothing
function HideBlackBorders takes nothing returns nothing
function ShowBlackBorders takes nothing returns nothing
function EditMiniMap takes integer point,real topX,real topY,real botX,real botY returns nothing
function HideMiniMap takes nothing returns nothing
function ShowMiniMap takes nothing returns nothing
function EditCommandBarButton takes integer row,integer column,integer anchor,real offsetX,real offsetY,real width,real height returns nothing
function EditItemBarButton takes integer buttonId,integer anchor,real offsetX,real offsetY,real width,real height returns nothing
function EditMinimapButton takes integer buttonId,integer anchor,real offsetX,real offsetY,real width,real height returns nothing
function EditUpperButtonBarButton takes integer buttonId,integer anchor,real offsetX,real offsetY,real width,real height returns nothing
function EditHeroBarButton takes integer buttonId,integer anchor,real offsetX,real offsetY,real width,real height returns nothing
function EditHeroBarHealthBar takes integer buttonId,integer anchor,real offsetX,real offsetY,real width,real height returns nothing
function EditHeroBarManaBar takes integer buttonId,integer anchor,real offsetX,real offsetY,real width,real height returns nothing
function EditTooltip takes integer anchor,real offsetX,real offsetY,real width returns nothing
function ShowAllUI takes nothing returns nothing
function HideAllUI takes nothing returns nothing
function ToggleUI takes nothing returns nothing
» PlayerAPI
function GetRealPlayerById takes integer i returns integer
function GetLocalPlayerIdReal takes nothing returns integer
function GetLocalPlayerReal takes nothing returns integer
function GetPlayerSelectedUnitReal takes integer realplayer returns integer
function SetPlayerSelectedUnitReal takes integer realplayer,integer pConvertedHandle returns nothing
function GetOrderPlayerId takes unit u returns integer
» GroupAPI
function GetAddressGroupUnitCount takes integer pObj returns integer
function GetAddressGroupAddressUnitByIndex takes integer pObj,integer index returns integer
function GetGroupUnitCount takes group g returns integer
function GetUnitFromGroupByIndex takes group g,integer index returns unit
function GetRandomUnitFromGroup takes group g returns unit
function ForEach takes group g returns unit
» MouseAPI
function GetCursorX takes nothing returns integer
function GetCursorY takes nothing returns integer
function GetCursorXRelative takes nothing returns integer
function GetCursorYRelative takes nothing returns integer
function GetMouseWorldEnv takes nothing returns integer
function GetMouseWorldX takes nothing returns real
function GetMouseWorldY takes nothing returns real
function GetMouseWorldZ takes nothing returns real

Изменено PT153

  • Верно расставлены блоки nocjass, тем самым теперь можно использовать cJass в карте.
  • Убраны все комментарии от доисторического TESH.
  • Исправлена функция AddUnitFlags_2.
  • Удалены все пустые функции инициализации триггеров.
  • Все табы заменены на пробелы.
  • В Init_MemoryHack добавлены статичные ифы для опциональных библиотек.


Views: 501

» Лучшие комментарии


PT153 #53 - 4 weeks ago 0
Голосов: +0 / -0
скрины настроек я кидал выше
Причём тут они, в КОДЕ должны быть расставлены флаги.
quq_CCCP:
там сметь vjass + cjass
А разве где-то скидывали карту? Если нет cJass в карте, то AdicParser можно выключить. В любом случае тут проблема в том, что флаги не проставлены или не работают.
quq_CCCP #54 - 4 weeks ago 0
Голосов: +0 / -0
PT153, ну само собой в лс, то бы читоры визжали от радости =)