v1.1.15.218
ㅤ
UjAPI.dll
1. Новые Константы:
constant frameeventtype FRAMEEVENT_FRAME_ITEM_CHANGED = ConvertFrameEventType(10)
constant controlstyleflag CONTROL_STYLE_DRAW = ConvertControlStyleFlag(32)
2. Новые Нативные Функции:
native BitwiseShiftLeftLogical takes integer i, integer bitsToShift returns integer
native BitwiseShiftRightLogical takes integer i, integer bitsToShift returns integer
//
native CountUnitAbilities takes unit whichUnit, boolean alsoCountBuffs returns integer
native CountUnitBuffs takes unit whichUnit returns integer
//
native GetBuffOwningAbility takes buff whichbuff returns ability // experimental
native SetBuffOwningAbility takes buff whichBuff, ability whichAbility returns nothing // experimental
//
native SetProjectileSourceAbility takes projectile whichProjectile, ability whichAbility returns nothing
//
native GetFrameChildrenCountEx takes framehandle whichFrame, integer listId returns integer // listId: CFrames: 0 for default | 1 for layouts (will return CLayer) | CSimpleFrames 0 - 6 | CSimpleRegions any number, as they only have 1 child node.
native GetFrameChildEx takes framehandle whichFrame, integer listId, integer index returns framehandle
native GetFrameTextAlignmentValue takes framehandle whichFrame, integer id returns real // CSimpleFontString: 0 - x, 1 - y | CTextFrame: 0 - x, 1 - y, 2 - x Shadow, 3 - y Shadow, 4 = FontJustificationOffset
native SetFrameTextAlignmentValue takes framehandle whichFrame, integer id, real offset returns nothing
native GetTriggerFrameTargetFrame takes nothing returns framehandle
3. Исправлена поддержка отрицательных чисел с сеттерами цифровых полей, ранее они обрабатывались без знака.
4. CListBox API теперь работает с CMenu.
5. CListBox API теперь работает с CPopupMenu.
6. CListBox API теперь работает с CRadioGroup.
7. GetFrameTextColourEx теперь работает с CListBoxItem.
8. SetFrameTextColourEx теперь работает с CListBoxItem.
9. SetFrameFont теперь работает с CTimerTextFrame.
10. SetFrameFont теперь работает с CListBoxItem.
11. SetFrameTextAlignment теперь работает с CTimerTextFrame.
12. SetFrameTextAlignment теперь работает с CListBoxItem.
13. SetFrameTextVerticalAlignment теперь работает с CTimerTextFrame.
14. SetFrameTextVerticalAlignment теперь работает с CListBoxItem.
15. SetFrameTextHorizontalAlignment теперь работает с CTimerTextFrame.
16. SetFrameTextHorizontalAlignment теперь работает с CListBoxItem.
17. FRAMEEVENT_POPUPMENU_ITEM_CHANGED теперь работает с CListBox.
18. AddFrameListItem теперь работает с CRadioGroup.
19. FRAMEEVENT_POPUPMENU_ITEM_CHANGED теперь работает с CRadioGroup.
20. Исправлено SetLightningTargetX устанавливающее x источника, вместо цели.
21. Исправлено SetLightningTargetY устанавливающее y источника, вместо цели.
22. Исправлено SetLightningTargetZ устанавливающее z источника, вместо цели.
23. Исправлено SetLightningTargetPositionLoc устанавливающее позицию источника, вместо цели.
24. Исправлено GroupContainsUnit всегда возвращающее true.
25. Перенесён весь внутренний код jFramea API во FrameAPI. Это пометка для себя, данное изменение не должно повлиять ни на что.
26. Исправлено BlzSetUnitMaxMana устанавливающее максимальное здоровье вместо маны.
27. Исправлено не работающее SetFrameTextHorizontalAlignment.
28. Исправлено SetFrameTextColourEx для CSimpleFontString.
Launcher
1. CLI теперь может обрабатывать эти warcraft 3 комманды: d3d, opengl, swtnl, classic, datadir, gametype, fullscreen.
2. Добавлена опция Dev Mode для AngelScript.
3. Добавлена опция Console для AngelScript.
4. Добавлена опция No Warnings для AngelScript.
5. Добавлена опция "dev" CLI команда для AngelScript.
6. Добавлена опция "console" CLI команда для AngelScript.
7. Добавлена опция "nowarnings" CLI команда для AngelScript.
8. Добавлен модуль FastMenu.dll в Modules.
9. Добавлена опция Fast Menu для Launcher.
10. Добавлена -fastmenu CLI команда для Launcher.
Ред. Unryze
v1.0.1.9
native ForceHasPlayer takes force whichForce, player whichPlayer returns boolean
native ForceCountPlayers takes force whichForce returns integer
native GetUnitBuff takes unit whichUnit, integer buffId returns buff
native GetUnitBuffLevel takes unit whichUnit, integer buffId returns integer
native GetBuffLevel takes buff whichBuff returns integer
native RefreshBuff takes buff whichBuff returns boolean
native SetBuffDuration takes buff whichBuff, real duration returns boolean
Пометка: сторонние "запускаторы" не поддерживают мульти-окно и War3Lua дебаг режим, для их работы нужно запускать игру через war3.exe и прочее.
Ред. Unryze
v1.0.2.12
native SaveFrameHandle takes hashtable table, integer parentKey, integer childKey, framehandle whichFrame returns boolean
native LoadFrameHandle takes hashtable table, integer parentKey, integer childKey returns framehandle
native GetEventPreDamage takes nothing returns real
type abilityintegerfield extends handle
type abilityrealfield extends handle
type abilitybooleanfield extends handle
type abilitystringfield extends handle
type abilityintegerlevelfield extends handle
type abilityreallevelfield extends handle
type abilitybooleanlevelfield extends handle
type abilitystringlevelfield extends handle
type abilityintegerlevelarrayfield extends handle
type abilityreallevelarrayfield extends handle
type abilitybooleanlevelarrayfield extends handle
type abilitystringlevelarrayfield extends handle
type unitintegerfield extends handle
type unitrealfield extends handle
type unitbooleanfield extends handle
type unitstringfield extends handle
type unitweaponintegerfield extends handle
type unitweaponrealfield extends handle
type unitweaponbooleanfield extends handle
type unitweaponstringfield extends handle
type itemintegerfield extends handle
type itemrealfield extends handle
type itembooleanfield extends handle
type itemstringfield extends handle
Ред. Unryze
v1.0.3.15
native BitwiseNOT takes integer i returns integer
native BitwiseAND takes integer bit1, integer bit2 returns integer
native BitwiseOR takes integer bit1, integer bit2 returns integer
native BitwiseXOR takes integer bit1, integer bit2 returns integer
native BitwiseShiftLeft takes integer bit1, integer bitsToShift returns integer
native BitwiseShiftRight takes integer bit1, integer bitsToShift returns integer
native Id2String takes integer i returns string
native String2Id takes string idString returns integer
native GetUnitBaseDescriptionById takes integer unitTypeId returns string
native SetUnitBaseDescriptionById takes integer unitTypeId, string name returns nothing
native GetUnitBaseIconById takes integer unitTypeId returns string
native SetUnitBaseIconById takes integer unitTypeId, string name returns nothing
native GetUnitBaseDescription takes unit whichUnit returns string
native SetUnitBaseDescription takes unit whichUnit, string name returns nothing
native GetUnitBaseIcon takes unit whichUnit returns string
native SetUnitBaseIcon takes unit whichUnit, string name returns nothing
native GetItemBaseDescriptionById takes takes integer itemId returns string
native SetItemBaseDescriptionById takes integer itemId, string name returns nothing
native GetItemBaseDescription takes item whichItem returns string
native SetItemBaseDescription takes item whichItem, string name returns nothing
native GroupGetUnitByIndex takes group whichGroup, integer index returns unit
native GroupForEachUnit takes group whichGroup returns unit
native GroupAddGroupEx takes group destGroup, group sourceGroup returns integer
native GroupRemoveGroupEx takes group destGroup, group sourceGroup returns integer
Ред. Unryze
v1.0.4.22
native I2C takes integer i returns code
native C2I takes code c returns integer
native MathRound takes real r returns integer
native MathRealRound takes real r returns real
native MathRealFloor takes real r returns real
native MathRealCeil takes real r returns real
native MathRealAbs takes real r returns real
native MathRealLog takes real r returns real
native MathRealLn takes real r returns real
native MathIntegerAbs takes integer i returns integer
native MathIntegerLog takes integer i returns real
native MathIntegerLn takes integer i returns real
native StringContains takes string s, string whichString returns boolean
native StringFind takes string s, string whichString returns integer
native StringFindFirstOf takes string s, string whichString returns integer
native StringFindFirstNotOf takes string s, string whichString returns integer
native StringFindLastOf takes string s, string whichString returns integer
native StringFindLastNotOf takes string s, string whichString returns integer
native IsOperationLimitEnabled takes nothing returns boolean
native EnableOperationLimit takes boolean enable returns nothing
native ExecuteFuncEx takes string funcName returns nothing
native GetUnitDamageReduction takes unit whichUnit returns real
native IsUnitAbilityVisible takes unit whichUnit, integer abilityId returns integer
native ShowUnitAbility takes unit whichUnit, integer abilityId, boolean flag returns nothing
native SilenceAbility takes ability whicAbility, boolean hide, boolean disable returns nothing
native UnsilenceAbility takes ability whicAbility, boolean show, boolean enable returns nothing
Пометка: пока что реализованы не все ивенты, а так же эти ивенты пока что локальные, однако скоро они будут работать и в мультиплеере.
Ред. Unryze
v1.0.5.31
type timetype extends handle
constant native ConvertTimeType takes integer i returns timetype
constant timetype TIME_TYPE_YEAR = ConvertTimeType( 0 )
constant timetype TIME_TYPE_MONTH = ConvertTimeType( 1 )
constant timetype TIME_TYPE_DAY_OF_WEEK = ConvertTimeType( 2 )
constant timetype TIME_TYPE_DAY = ConvertTimeType( 3 )
constant timetype TIME_TYPE_HOUR = ConvertTimeType( 4 )
constant timetype TIME_TYPE_MINUTE = ConvertTimeType( 5 )
constant timetype TIME_TYPE_SECOND = ConvertTimeType( 6 )
constant timetype TIME_TYPE_MILLISECOND = ConvertTimeType( 7 )
native GetSystemTime takes timetype whichTimeType returns integer
native GetLocalTime takes timetype whichTimeType returns integer
native ExecuteCode takes code c returns nothing
native SyncInteger takes string variableName returns nothing
native SyncReal takes string variableName returns nothing
native SyncBoolean takes string variableName returns nothing
native SyncString takes string variableName returns nothing
native SyncHandle takes string variableName returns nothing
native SyncSavedInteger takes hashtable table, integer parentKey, integer childKey returns nothing
native SyncSavedReal takes hashtable table, integer parentKey, integer childKey returns nothing
native SyncSavedBoolean takes hashtable table, integer parentKey, integer childKey returns nothing
native SyncSavedHandle takes hashtable table, integer parentKey, integer childKey returns nothing
native SyncSavedString takes hashtable table, integer parentKey, integer childKey returns nothing
Ред. Unryze
v1.0.6.34
constant variabletype VARIABLE_TYPE_UNKNOWN = ConvertVariableType(1)
constant variabletype VARIABLE_TYPE_NULL = ConvertVariableType(2)
constant variabletype VARIABLE_TYPE_CODE = ConvertVariableType(3)
constant variabletype VARIABLE_TYPE_INTEGER = ConvertVariableType(4)
constant variabletype VARIABLE_TYPE_REAL = ConvertVariableType(5)
constant variabletype VARIABLE_TYPE_STRING = ConvertVariableType(6)
constant variabletype VARIABLE_TYPE_HANDLE = ConvertVariableType(7)
constant variabletype VARIABLE_TYPE_BOOLEAN = ConvertVariableType(8)
constant variabletype VARIABLE_TYPE_INTEGER_ARRAY = ConvertVariableType(9)
constant variabletype VARIABLE_TYPE_REAL_ARRAY = ConvertVariableType(10)
constant variabletype VARIABLE_TYPE_STRING_ARRAY = ConvertVariableType(11)
constant variabletype VARIABLE_TYPE_HANDLE_ARRAY = ConvertVariableType(12)
constant variabletype VARIABLE_TYPE_BOOLEAN_ARRAY = ConvertVariableType(13)
native GetSyncedVariableName takes nothing returns string
native GetSyncedInteger takes nothing returns integer
native GetSyncedReal takes nothing returns real
native GetSyncedString takes nothing returns string
native GetSyncedHandle takes nothing returns handle
native GetSyncedBoolean takes nothing returns boolean
native TriggerRegisterPlayerVariableSyncEvent takes trigger whichTrigger, player whichPlayer, string variableName returns event
native GetSyncSavedVariableType takes nothing returns variabletype
native GetSyncSavedHashtable takes nothing returns hashtable
native GetSyncSavedParentKey takes nothing returns integer
native GetSyncSavedChildKey takes nothing returns integer
native TriggerRegisterPlayerHashtableDataSyncEvent takes trigger whichTrigger, player whichPlayer, hashtable whichHashtable returns event
native GetTriggerFrameVariableType takes nothing returns variabletype
native GetTriggerFrameInteger takes nothing returns integer
native GetTriggerFrameReal takes nothing returns real
native GetTriggerFrameBoolean takes nothing returns boolean
native GetTriggerFrameString takes nothing returns string
native GetMouseScreenX takes nothing returns real
native GetMouseScreenY takes nothing returns real
native SetMouseScreenX takes real x returns nothing
native SetMouseScreenY takes real y returns nothing
native SetMouseScreenPosition takes real x, real y returns nothing
native GetMouseScreenPixelX takes nothing returns integer
native GetMouseScreenPixelY takes nothing returns integer
native SetMouseScreenPixelX takes integer x returns nothing
native SetMouseScreenPixelY takes integer y returns nothing
native SetMouseScreenPixelPosition takes integer x, integer y returns nothing
native GetMouseWorldX takes nothing returns real
native GetMouseWorldY takes nothing returns real
native GetMouseWorldZ takes nothing returns real
native UnsilenceAbility takes ability whichAbility, boolean show, boolean enable returns nothing
Ред. Unryze
v1.0.7.36
v1.0.8.39
constant oskeytype OSKEY_LBUTTON = ConvertOsKeyType(0x01)
constant oskeytype OSKEY_RBUTTON = ConvertOsKeyType(0x02)
constant oskeytype OSKEY_CANCEL = ConvertOsKeyType(0x03)
constant oskeytype OSKEY_MBUTTON = ConvertOsKeyType(0x04)
constant oskeytype OSKEY_XBUTTON1 = ConvertOsKeyType(0x05)
constant oskeytype OSKEY_XBUTTON2 = ConvertOsKeyType(0x06)
constant oskeytype OSKEY_UNDEFINED = ConvertOsKeyType(0x07)
constant integer META_KEY_NONE = 0
constant integer META_KEY_SHIFT = 1
constant integer META_KEY_CONTROL = 2
constant integer META_KEY_ALT = 4
constant integer META_KEY_WINDOWS = 8
constant playerevent EVENT_PLAYER_MOUSE_DOWN = ConvertPlayerEvent(305)
constant playerevent EVENT_PLAYER_MOUSE_UP = ConvertPlayerEvent(306)
constant playerevent EVENT_PLAYER_MOUSE_MOVE = ConvertPlayerEvent(307)
constant playerevent EVENT_PLAYER_SYNC_DATA = ConvertPlayerEvent(309) currently not active
constant playerevent EVENT_PLAYER_KEY = ConvertPlayerEvent(311)
constant playerevent EVENT_PLAYER_KEY_DOWN = ConvertPlayerEvent(312)
constant playerevent EVENT_PLAYER_KEY_UP = ConvertPlayerEvent(313)
native SetFrameSpriteAnimationWithRarityByIndex takes framehandle whichFrame, integer animIndex, integer rarity returns nothing
native SetFrameSpriteAnimationByIndex takes framehandle whichFrame, integer animIndex returns nothing
native QueueFrameSpriteAnimationByIndex takes framehandle whichFrame, integer animIndex returns nothing
native SetFrameSpriteAnimationWithRarity takes framehandle whichFrame, string animationName, integer rarity returns nothing
native SetFrameSpriteAnimation takes framehandle whichFrame, string animationName returns nothing
native QueueFrameSpriteAnimation takes framehandle whichFrame, string animationName returns nothing
native GetTriggerSyncPrefix takes nothing returns string
native GetTriggerSyncData takes nothing returns string
native SendSyncData takes string prefix, string data returns boolean
native TriggerRegisterPlayerSyncEvent takes trigger whichTrigger, player whichPlayer, string prefix, boolean fromServer returns event
native GetTriggerPlayerKey takes nothing returns oskeytype
native GetTriggerPlayerMetaKey takes nothing returns integer
native GetTriggerPlayerIsKeyDown takes nothing returns boolean
native TriggerRegisterPlayerKeyEvent takes trigger whichTrigger, player whichPlayer, oskeytype whichKey, integer whichMetaKey, boolean isKeyDown returns event
native PauseUnitEx takes unit whichUnit, boolean flag returns nothing this is pretty much a copy of SetUnitStunned
native GetTriggerPlayerMouseWorldX takes nothing returns real
native GetTriggerPlayerMouseWorldY takes nothing returns real
native GetTriggerPlayerMouseWorldZ takes nothing returns real
native GetTriggerPlayerMouseScreenX takes nothing returns real
native GetTriggerPlayerMouseScreenY takes nothing returns real
v1.0.9.44
constant mousebuttontype MOUSE_BUTTON_TYPE_MIDDLE = ConvertMouseButtonType(2)
constant mousebuttontype MOUSE_BUTTON_TYPE_RIGHT = ConvertMouseButtonType(3)
native GetFrameSpriteScale takes framehandle whichFrame returns real
native SetFrameSpriteScale takes framehandle whichFrame, real scale returns nothing
native GetFrameSpriteTimeScale takes framehandle whichFrame returns real
native SetFrameSpriteTimeScale takes framehandle whichFrame, real timescale returns nothing
native GetFrameSpriteColour takes framehandle whichFrame returns integer
native SetFrameSpriteColour takes framehandle whichFrame, integer colour returns boolean
native SetFrameSpriteAlpha takes framehandle whichFrame, integer alpha returns boolean
native SetFrameSpriteVertexColour takes framehandle whichFrame, integer red, integer green, integer blue, integer alpha returns boolean
native SetFrameSpriteOrientationEx takes framehandle whichFrame, real yaw, real pitch, real roll, integer eulerOrder returns boolean
native GetFrameSpriteYaw takes framehandle whichFrame returns real
native SetFrameSpriteYaw takes framehandle whichFrame, real yaw returns boolean
native GetFrameSpriteFacing takes framehandle whichFrame returns real
native SetFrameSpriteFacing takes framehandle whichFrame, real facing returns boolean
native GetFrameSpritePitch takes framehandle whichFrame returns real
native SetFrameSpritePitch takes framehandle whichFrame, real pitch returns boolean
native GetFrameSpriteRoll takes framehandle whichFrame returns real
native SetFrameSpriteRoll takes framehandle whichFrame, real roll returns boolean
native SetFrameSpriteOrientation takes framehandle whichFrame, real yaw, real pitch, real roll returns nothing
native SetFrameSpriteModel takes framehandle whichFrame, string modelName returns nothing
native SetFrameSpriteModelEx takes framehandle whichFrame, string modelName, integer playerColour returns nothing
v1.0.10.49
type playermissileevent extends eventid
constant playermissileevent EVENT_PLAYER_MISSILE_HIT = ConvertPlayerMissileEvent(601)
native IsMissileVisible takes missile whichMissile returns boolean
native SetMissileVisibility takes missile whichMissile, boolean visibility returns nothing
native GetMissileX takes missile whichMissile returns real
native SetMissileX takes missile whichMissile, real x returns nothing
native GetMissileY takes missile whichMissile returns real
native SetMissileY takes missile whichMissile, real y returns nothing
native GetMissileZ takes missile whichMissile returns real
native SetMissileZ takes missile whichMissile, real z returns nothing
native GetMissileHeight takes missile whichMissile returns real
native SetMissileHeight takes missile whichMissile, real height returns nothing
native GetMissilePositionLocation takes missile whichMissile returns location
native SetMissilePositionWithZ takes missile whichMissile, real x, real y, real z returns nothing
native SetMissilePosition takes missile whichMissile, real x, real y returns nothing
native SetMissilePositionLocation takes missile whichMissile, location loc returns nothing
native GetMissileScale takes missile whichMissile returns real
native SetMissileScale takes missile whichMissile, real scale returns nothing
native GetMissileTimeScale takes missile whichMissile returns real
native SetMissileTimeScale takes missile whichMissile, real timescale returns nothing
native GetMissileColour takes missile whichMissile returns integer
native SetMissileColour takes missile whichMissile, integer colour returns boolean
native SetMissileAlpha takes missile whichMissile, integer alpha returns boolean
native SetMissileVertexColour takes missile whichMissile, integer red, integer green, integer blue, integer alpha returns boolean
native SetMissileAnimationWithRarityByIndex takes missile whichMissile, integer animIndex, raritycontrol rarity returns nothing
native SetMissileAnimationWithRarity takes missile whichMissile, string animation, raritycontrol rarity returns nothing
native SetMissileAnimationByIndex takes missile whichMissile, integer animIndex returns nothing
native SetMissileAnimation takes missile whichMissile, string animation returns nothing
native QueueMissileAnimationByIndex takes missile whichMissile, integer animIndex returns nothing
native QueueMissileAnimation takes missile whichMissile, string animation returns nothing
native ResetMissileMatrix takes missile whichMissile returns nothing
native SetMissileOrientationEx takes missile whichMissile, real yaw, real pitch, real roll, integer eulerOrder returns boolean
native GetMissileYaw takes missile whichMissile returns real
native SetMissileYaw takes missile whichMissile, real yaw returns boolean
native GetMissileFacing takes missile whichMissile returns real
native SetMissileFacing takes missile whichMissile, real facing returns boolean
native GetMissilePitch takes missile whichMissile returns real
native SetMissilePitch takes missile whichMissile, real pitch returns boolean
native GetMissileRoll takes missile whichMissile returns real
native SetMissileRoll takes missile whichMissile, real roll returns boolean
native SetMissileOrientation takes missile whichMissile, real yaw, real pitch, real roll returns nothing
native SetMissileModel takes missile whichMissile, string modelName returns nothing
native SetMissileModelEx takes missile whichMissile, string modelName, integer playerColour returns nothing
native GetMissileSource takes missile whichMissile returns unit
native SetMissileSource takes missile whichMissile, unit whichUnit returns nothing
native GetMissileTarget takes missile whichMissile returns widget
native SetMissileTarget takes missile whichMissile, widget whichWidget returns nothing
native GetMissileAttackType takes missile whichMissile returns attacktype
native SetMissileAttackType takes missile whichMissile, attacktype whichAttackType returns nothing
native GetMissileDamage takes missile whichMissile returns real
native SetMissileDamage takes missile whichMissile, real damage returns nothing
native GetMissileSpeed takes missile whichMissile returns real
native SetMissileSpeed takes missile whichMissile, real speed returns nothing
native GetMissileArc takes missile whichMissile returns real
native SetMissileArc takes missile whichMissile, real arc returns nothing
native GetMissileWeaponType takes missile whichMissile returns weapontype
native SetMissileWeaponType takes missile whichMissile, weapontype whichWeaponType returns nothing
native GetMissileDamageType takes missile whichMissile returns damagetype
native SetMissileDamageType takes missile whichMissile, damagetype whichDamageType returns nothing
native GetMissileDamageFlags takes missile whichMissile returns integer
native SetMissileDamageFlags takes missile whichMissile, integer flags returns nothing
native SaveMissileHandle takes hashtable whichHashtable, integer parentKey, integer childKey, missile whichMissile returns boolean
native LoadMissileHandle takes hashtable whichHashtable, integer parentKey, integer childKey returns missile
native GetTriggerMissile takes nothing returns missile
native GetTriggerMissileSource takes nothing returns unit
native GetTriggerMissileTarget takes nothing returns unit
native TriggerRegisterPlayerMissileEvent takes trigger whichTrigger, player whichPlayer, playermissileevent whichMissileEvent returns event