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.14.65
native GetImageType takes image whichImage returns integer
native GetImageX takes image whichImage returns real
native SetImageX takes image whichImage, real sizeX returns nothing
native GetImageY takes image whichImage returns real
native SetImageY takes image whichImage, real sizeY returns nothing
native GetImageZ takes image whichImage returns real
native SetImageZ takes image whichImage, real sizeZ returns nothing
native GetImagePositionLocation takes image whichImage returns location
native SetImagePositionLocation takes image whichImage, location whichLocation returns nothing
native GetImageOriginX takes image whichImage returns real
native SetImageOriginX takes image whichImage, real originX returns nothing
native GetImageOriginY takes image whichImage returns real
native SetImageOriginY takes image whichImage, real originY returns nothing
native SetImageOrigin takes image whichImage, real originX, real originY returns nothing
native GetImageSizeX takes image whichImage returns real
native SetImageSizeX takes image whichImage, real sizeX returns nothing
native GetImageSizeY takes image whichImage returns real
native SetImageSizeY takes image whichImage, real sizeY returns nothing
native SetImageSize takes image whichImage, real size returns nothing
native SetImageSizeEx takes image whichImage, real sizeX, real sizeY returns nothing
native GetImageColour takes image whichImage returns integer
native IsImageRendered takes image whichImage returns boolean
native IsImageRenderAlways takes image whichImage returns boolean
native IsImageRenderAboveWater takes image whichImage returns boolean
native IsImageVisible takes image whichImage returns boolean
native GetImageConstantHeight takes image whichImage returns real
native GetImageTexture takes image whichImage returns string
native SetImageTexture takes image whichImage, string imagePath returns nothing
Пометка: причина была в виду С++ оптимизации, которая просто на просто очищала данные быстрее, чем они до конца были использованы.
Пометка: данная ошибка была добавлена в виду "велосипедного" метода имплементации экспериментальной функции SetAbilityOrderId.
native JNDailyCheckToday takes string MapId, string UserId, string SecretKey, string Character, string DailyType returns string
native JNDailyCheckTodayList takes string MapId, string UserId, string SecretKey, string Character, string DailyType returns string
native JNDailyCountWeek takes string MapId, string UserId, string SecretKey, string Character, string DailyType, string WeekDay returns string
native JNDailyCountWeekList takes string MapId, string UserId, string SecretKey, string Character, string DailyType, string WeekDay returns string
native JNDailyCountMonth takes string MapId, string UserId, string SecretKey, string Character, string DailyType returns string
native JNDailyCountMonthList takes string MapId, string UserId, string SecretKey, string Character, string DailyType returns string
Ред. Unryze
v1.0.15.67
constant abilitybooleanfield ABILITY_BF_HOMING = ConvertAbilityBooleanField('amho')
constant itemintegerfield ITEM_IF_TINTING_COLOR = ConvertItemIntegerField('icol')
constant itemintegerfield ITEM_IF_LEVEL_UNCLASSIFIED = ConvertItemIntegerField('ilvo')
constant itemintegerfield ITEM_IF_GOLD_COST = ConvertItemIntegerField('igol')
constant itemintegerfield ITEM_IF_LUMBER_COST = ConvertItemIntegerField('ilum')
constant itemintegerfield ITEM_IF_PRIORITY = ConvertItemIntegerField('ipri')
constant itemintegerfield ITEM_IF_STOCK_REPLENISH_INTERVAL = ConvertItemIntegerField('istr')
constant itemintegerfield ITEM_IF_STOCK_START_DELAY = ConvertItemIntegerField('isst')
constant itembooleanfield ITEM_BF_IGNORE_COOLDOWN = ConvertItemBooleanField('iicd')
constant itembooleanfield ITEM_BF_VALID_FOR_TRANSFORMATION = ConvertItemBooleanField('imor')
constant itemrealfield ITEM_RF_SELECTION_SIZE = ConvertItemRealField('issc')
constant itemstringfield ITEM_SF_NAME = ConvertItemStringField('unam')
constant itemstringfield ITEM_SF_DESCRIPTION = ConvertItemStringField('ides')
constant itemstringfield ITEM_SF_TOOLTIP_NORMAL = ConvertItemStringField('utip')
constant itemstringfield ITEM_SF_TOOLTIP_EXTENDED = ConvertItemStringField('utub')
constant unitintegerfield ITEM_IF_GOLD_COST = ConvertItemIntegerField('igol')
constant unitintegerfield ITEM_IF_LUMBER_COST = ConvertItemIntegerField('ilum')
constant unitintegerfield ITEM_IF_STOCK_MAXIMUM = ConvertItemIntegerField('isto')
constant unitintegerfield UNIT_IF_TINTING_COLOR = ConvertUnitIntegerField('ucol')
constant unitintegerfield UNIT_IF_PROPER_NAMES_COUNT = ConvertUnitIntegerField('upru') Get Only
constant unitrealfield UNIT_RF_SIGHT_RADIUS_DAY = ConvertUnitRealField('usid')
constant unitrealfield UNIT_RF_SIGHT_RADIUS_NIGHT = ConvertUnitRealField('usin')
constant unitstringfield UNIT_SF_TOOLTIP_NORMAL = ConvertUnitStringField('utip')
constant unitstringfield UNIT_SF_TOOLTIP_EXTENDED = ConvertUnitStringField('utub')
constant unitstringfield UNIT_SF_PROPER_NAME = ConvertUnitStringField('uprn')
native GetHandleBaseTypeId takes handle whichHandle returns integer this returns '+w3u' from unit, if it was passed as handle, and so on.
native GetHandleBaseTypeName takes handle whichHandle returns string this returns CUnit from unit, if it was passed as handle, and so on.
native GetFilterHandle takes nothing returns handle
native GetEnumHandle takes nothing returns handle
native EnumHandlesOfType takes integer handleBaseTypeId, boolexpr filter, code handlerFunc returns nothing
native SetImageOrigin takes image whichImage, real origin returns nothing
native SetAbilityRemainingCooldown takes ability whichAbility, real cooldown returns boolean
native SetUnitPointValueByType takes integer unitType, integer newPointValue returns nothing
native EnumDestructablesInRange takes real x, real y, real radius, boolexpr filter, code handlerFunc returns nothing
native EnumItemsInRange takes real x, real y, real radius, boolexpr filter, code handlerFunc returns nothing
native GetTriggerSpecialEffect takes nothing returns effect
native GetFilterSpecialEffect takes nothing returns effect
native GetEnumSpecialEffect takes nothing returns effect
native EnumSpecialEffectsInRange takes real x, real y, real radius, boolexpr filter, code handlerFunc returns nothing
native GetTriggerTrackable takes nothing returns trackable
native GetFilterTrackable takes nothing returns trackable
native GetEnumTrackable takes nothing returns trackable
native EnumTrackablesInRange takes real x, real y, real radius, boolexpr filter, code handlerFunc returns nothing
native IsMissileAlive takes missile whichMissile returns boolean
native GetFilterMissile takes nothing returns missile
native GetEnumMissile takes nothing returns missile
native EnumMissilesInRange takes real x, real y, real radius, boolexpr filter, code handlerFunc returns nothing
native ResetAbilityFieldData takes ability whichAbility returns boolean Restores original ability data, meaning it reverts any and all changes made by Field API. Returns true if reset was needed.
native GetUnitAttackRemainingDamagePoint takes unit whichUnit returns real
native SetUnitAttackRemainingDamagePoint takes unit whichUnit real time returns nothing
native GetUnitAttackRemainingBackswing takes unit whichUnit returns real
native SetUnitAttackRemainingBackswing takes unit whichUnit real time returns nothing
native GetAbilityBaseManaCostById takes integer aid, integer level returns integer
native SetAbilityBaseManaCostById takes integer aid, integer level, integer manaCost returns nothing
native GetAbilityBaseCooldownById takes integer aid, integer level returns real
native SetAbilityBaseCooldownById takes integer aid, integer level, real cooldown returns nothing
native GetAbilityBaseHotkeyById takes integer aid returns oskeytype
native SetAbilityBaseHotkeyById takes integer aid, oskeytype whichKey returns nothing
native GetAbilityBaseUnHotkeyById takes integer aid returns oskeytype
native SetAbilityBaseUnHotkeyById takes integer aid, oskeytype whichKey returns nothing
native GetAbilityBaseResearchHotkeyById takes integer aid returns oskeytype
native SetAbilityBaseResearchHotkeyById takes integer aid, oskeytype whichKey returns nothing
native GetAbilityBaseEffectSoundById takes integer aid returns string
native SetAbilityBaseEffectSoundById takes integer aid, string text returns nothing
native GetAbilityBaseGlobalMessageById takes integer aid returns string
native SetAbilityBaseGlobalMessageById takes integer aid, string text returns nothing
native GetAbilityBaseGlobalSoundById takes integer aid returns string
native SetAbilityBaseGlobalSoundById takes integer aid, string text returns nothing
native GetAbilityBaseButtonXById takes integer aid returns integer
native SetAbilityBaseButtonXById takes integer aid, integer positionX returns nothing
native GetAbilityBaseButtonYById takes integer aid returns integer
native SetAbilityBaseButtonYById takes integer aid, integer positionY returns nothing
native GetAbilityBaseUnButtonXById takes integer aid returns integer
native SetAbilityBaseUnButtonXById takes integer aid, integer positionX returns nothing
native GetAbilityBaseUnButtonYById takes integer aid returns integer
native SetAbilityBaseUnButtonYById takes integer aid, integer positionY returns nothing
native GetAbilityBaseResearchButtonXById takes integer aid returns integer
native SetAbilityBaseResearchButtonXById takes integer aid, integer positionX returns nothing
native GetAbilityBaseResearchButtonYById takes integer aid returns integer
native SetAbilityBaseResearchButtonYById takes integer aid, integer positionY returns nothing
native GetAbilityBaseMissileSpeedById takes integer aid returns real
native SetAbilityBaseMissileSpeedById takes integer aid, real missileSpeed returns nothing
native GetAbilityBaseMissileArcById takes integer aid returns real
native SetAbilityBaseMissileArcById takes integer aid, real missileArc returns nothing
native GetAbilityBaseIsMissileHomingById takes integer aid returns boolean
native SetAbilityBaseIsMissileHomingById takes integer aid, boolean ishoming returns nothing
native GetAbilityBaseSpellDetailsById takes integer aid returns integer
native SetAbilityBaseSpellDetailsById takes integer aid, integer level returns nothing
native GetAbilityBaseTipById takes integer aid, integer level returns string
native SetAbilityBaseTipById takes integer aid, integer level, string text returns nothing
native GetAbilityBaseUnTipById takes integer aid, integer level returns string
native SetAbilityBaseUnTipById takes integer aid, integer level, string text returns nothing
native GetAbilityBaseUberTipById takes integer aid, integer level returns string
native SetAbilityBaseUberTipById takes integer aid, integer level, string text returns nothing
native GetAbilityBaseUnUberTipById takes integer aid, integer level returns string
native SetAbilityBaseUnUberTipById takes integer aid, integer level, string text returns nothing
native SetAbilityBaseHotkeyByIdEx takes integer aid, oskeytype whichKey returns nothing
Item API
native GetItemBaseNameById takes integer itemId returns string
native SetItemBaseNameById takes integer itemId, string name returns nothing
native GetItemBaseDescriptionById takes integer itemId returns string
native SetItemBaseDescriptionById takes integer itemId, string name returns nothing
native GetItemBaseIconById takes integer itemId returns string
native SetItemBaseIconById takes integer itemId, string path returns nothing
native GetItemBaseHotkeyById takes integer itemId returns oskeytype
native SetItemBaseHotkeyById takes integer itemId, oskeytype whichKey returns nothing
native GetItemBaseTipById takes integer itemId returns string
native SetItemBaseTipById takes integer itemId, string tip returns nothing
native GetItemBaseUberTipById takes integer itemId returns string
native SetItemBaseUberTipById takes integer itemId, string tip returns nothing
native GetItemBaseGoldCostById takes integer itemId returns integer
native SetItemBaseGoldCostById takes integer itemId, integer goldcost returns nothing
native GetItemBaseLumberCostById takes integer itemId returns integer
native SetItemBaseLumberCostById takes integer itemId, integer lumbercost returns nothing
native GetItemBaseStockMaximumById takes integer itemId returns integer
native SetItemBaseStockMaximumById takes integer itemId, integer stockMax returns nothing
native GetItemBaseStockReplenishIntervalById takes integer itemId returns real
native SetItemBaseStockReplenishIntervalById takes integer itemId, real replenishInterval returns nothing
native GetItemBaseStockStartDelayById takes integer itemId returns real
native SetItemBaseStockStartDelayById takes integer itemId, real stockStartDelay returns nothing
native GetItemBasePriorityById takes integer itemId returns integer
native SetItemBasePriorityById takes integer itemId, integer priority returns nothing
native GetItemBaseLevelById takes integer itemId returns integer
native SetItemBaseLevelById takes integer itemId, integer level returns nothing
native GetItemBaseOldLevelById takes integer itemId returns integer
native SetItemBaseOldLevelById takes integer itemId, integer oldlevel returns nothing
native GetItemBaseClassificationById takes integer itemId returns integer
native SetItemBaseClassificationById takes integer itemId, integer classifictaionId returns nothing
native GetItemBaseIsMorphById takes integer itemId returns boolean
native SetItemBaseIsMorphById takes integer itemId, boolean flag returns nothing
native GetItemBaseIsPickRandomById takes integer itemId returns boolean
native SetItemBaseIsPickRandomById takes integer itemId, boolean flag returns nothing
native GetItemBaseChargesById takes integer itemId returns integer
native SetItemBaseChargesById takes integer itemId, integer charges returns nothing
native GetItemBaseCooldownIdById takes integer itemId returns integer
native SetItemBaseCooldownIdById takes integer itemId, integer cooldownId returns nothing
native GetItemBaseIsIgnoreCooldownById takes integer itemId returns boolean
native SetItemBaseIsIgnoreCooldownById takes integer itemId, boolean flag returns nothing
native GetItemBaseIsPowerUpById takes integer itemId returns boolean
native SetItemBaseIsPowerUpById takes integer itemId, boolean flag returns nothing
native GetItemBaseIsPawnableById takes integer itemId returns boolean
native SetItemBaseIsPawnableById takes integer itemId, boolean flag returns nothing
native GetItemBaseIsUsableById takes integer itemId returns boolean
native SetItemBaseIsUsableById takes integer itemId, boolean flag returns nothing
native GetItemBaseIsPerishableById takes integer itemId returns boolean
native SetItemBaseIsPerishableById takes integer itemId, boolean flag returns nothing
native GetItemBaseIsDroppableById takes integer itemId returns boolean
native SetItemBaseIsDroppableById takes integer itemId, boolean flag returns nothing
native GetItemBaseIsDroppableOnDeathById takes integer itemId returns boolean
native SetItemBaseIsDroppableOnDeathById takes integer itemId, boolean flag returns nothing
native GetItemBaseIsSellableById takes integer itemId returns boolean
native SetItemBaseIsSellableById takes integer itemId, boolean flag returns nothing
Unit API
native GetUnitBasePrimaryStatById takes integer unitTypeId returns heroattribute
native SetUnitBasePrimaryStatById takes integer unitTypeId, heroattribute whichHeroAttribute returns nothing
native GetUnitBaseGoldCostById takes integer unitTypeId returns integer
native SetUnitBaseGoldCostById takes integer unitTypeId, integer goldCost returns nothing
native GetUnitBaseDaySightById takes integer unitTypeId returns real
native SetUnitBaseDaySightById takes integer unitTypeId, real daySight returns nothing
native GetUnitBaseNightSightById takes integer unitTypeId returns real
native SetUnitBaseNightSightById takes integer unitTypeId, real nightSight returns nothing
native GetUnitBaseColourById takes integer unitTypeId returns integer
native SetUnitBaseColourById takes integer unitTypeId, integer colour returns nothing
native GetUnitBaseColourAById takes integer unitTypeId returns integer
native SetUnitBaseColourAById takes integer unitTypeId, integer colourA returns nothing
native GetUnitBaseColourRById takes integer unitTypeId returns integer
native SetUnitBaseColourRById takes integer unitTypeId, integer colourR returns nothing
native GetUnitBaseColourGById takes integer unitTypeId returns integer
native SetUnitBaseColourGById takes integer unitTypeId, integer colourG returns nothing
native GetUnitBaseColourBById takes integer unitTypeId returns integer
native SetUnitBaseColourBById takes integer unitTypeId, integer colourB returns nothing
native GetUnitBaseNameById takes integer unitTypeId returns string
native SetUnitBaseNameById takes integer unitTypeId, string name returns nothing
native GetUnitBaseProperNameById takes integer unitTypeId, integer properNameIndex returns string
native SetUnitBaseProperNameById takes integer unitTypeId, integer properNameIndex, string properName returns nothing
native GetUnitBaseDescriptionById takes integer unitTypeId returns string
native SetUnitBaseDescriptionById takes integer unitTypeId, string name returns nothing
native GetUnitBaseModelById takes integer unitTypeId returns string
native SetUnitBaseModelById takes integer unitTypeId, string modelName returns nothing
native GetUnitBasePortraitById takes integer unitTypeId returns string
native SetUnitBasePortraitById takes integer unitTypeId, string portraitName returns nothing
native GetUnitBaseHotkeyById takes integer unitTypeId returns oskeytype
native SetUnitBaseHotkeyById takes integer unitTypeId, oskeytype whichKey returns nothing
native GetUnitBaseIconById takes integer unitTypeId returns string
native SetUnitBaseIconById takes integer unitTypeId, string name returns nothing
native GetUnitBaseAwakenTipById takes integer unitTypeId returns string
native SetUnitBaseAwakenTipById takes integer unitTypeId, string awakenTip returns nothing
native GetUnitBaseTipById takes integer unitTypeId returns string
native SetUnitBaseTipById takes integer unitTypeId, string tip returns nothing
native GetUnitBaseUberTipById takes integer unitTypeId returns string
native SetUnitBaseUberTipById takes integer unitTypeId, string uberTip returns nothing
native GetUnitBaseReviveTipById takes integer unitTypeId returns string
native SetUnitBaseReviveTipById takes integer unitTypeId, string reviveTip returns nothing
native GetUnitBaseShadowTexById takes integer unitTypeId returns string
native SetUnitBaseShadowTexById takes integer unitTypeId, string shadowTexture returns nothing
native GetUnitBaseMissileArtById takes integer unitTypeId, integer attackIndex returns string
native SetUnitBaseMissileArtById takes integer unitTypeId, integer attackIndex, string missleArt returns nothing
native GetUnitBaseMissileSpeedById takes integer unitTypeId, integer attackIndex returns real
native SetUnitBaseMissileSpeedById takes integer unitTypeId, integer attackIndex, real realValue returns nothing
native GetUnitBaseMissileArcById takes integer unitTypeId, integer attackIndex returns real
native SetUnitBaseMissileArcById takes integer unitTypeId, integer attackIndex, real realValue returns nothing
native GetUnitBaseSelectionScaleById takes integer unitTypeId returns real
native SetUnitBaseSelectionScaleById takes integer unitTypeId, real realValue returns nothing
Пометка: эта проблема всё так же была связана с новым экспериментальным методом SetAbilityOrderId... :(
ABILITY_SLF_TARGET
ABILITY_SLF_SPECIAL
ABILITY_SLF_EFFECT
ABILITY_SLF_AREA_EFFECT
ABILITY_SLF_LIGHTNING_EFFECTS
ABILITY_SLF_MISSILE_ART
ABILITY_SLF_TOOLTIP_LEARN
ABILITY_SLF_TOOLTIP_LEARN_EXTENDED
ABILITY_SLF_TOOLTIP_NORMAL
ABILITY_SLF_TOOLTIP_TURN_OFF
ABILITY_SLF_TOOLTIP_NORMAL_EXTENDED
ABILITY_SLF_TOOLTIP_TURN_OFF_EXTENDED
SetUnitAttackState
UnitCancelCurrentAttackByIndex
Изменены:
GetUnitNextAttackTimeStampByIndex -> GetUnitAttackRemainingCooldown | Now it returns actual remaining time.
SetUnitNextAttackTimeStampByIndex -> SetUnitAttackRemainingCooldown | Now it sets actual remaining time.
UnitResetAttackCooldownByIndex -> UnitResetAttack
UnitAddExtraAttackByIndex -> UnitFinishAttack
Добавлены:
native GetUnitAttackRemainingDamagePoint takes unit whichUnit returns real
native SetUnitAttackRemainingDamagePoint takes unit whichUnit real time returns nothing
native GetUnitAttackRemainingBackswing takes unit whichUnit returns real
native SetUnitAttackRemainingBackswing takes unit whichUnit real time returns nothing
Пометка: включение этого режима, даст UjAPI возможность выписывать в консоль всевозможные Jass ошибки (если карта имеет синтаксические ошибки в Jass) или же ошибки с файлами.
Ред. Unryze
v1.0.16.69
constant itemstringfield ITEM_SF_ICON = ConvertItemStringField('iico')
constant unitstringfield UNIT_SF_ICON_NORMAL = ConvertUnitStringField('uico')
constant unitstringfield UNIT_SF_ICON_SCORE_SCREEN = ConvertUnitStringField('ussi')
constant unitstringfield UNIT_SF_MODEL = ConvertUnitStringField('umdl')
constant unitstringfield UNIT_SF_PORTRAIT = ConvertUnitStringField('upor')
constant unitstringfield UNIT_SF_SPECIAL = ConvertUnitStringField('uspa')
constant unitstringfield UNIT_SF_TOOLTIP_AWAKEN = ConvertUnitStringField('uawt')
constant unitstringfield UNIT_SF_TOOLTIP_REVIVE = ConvertUnitStringField('utpr')
native SaveHandle takes hashtable table, integer parentKey, integer childKey, handle whichHandle returns boolean
native SaveAttackTypeHandle takes hashtable table, integer parentKey, integer childKey, attacktype whichAttackType returns boolean
native SaveDamageTypeHandle takes hashtable table, integer parentKey, integer childKey, damagetype whichDamageType returns boolean
native SaveWeaponTypeHandle takes hashtable table, integer parentKey, integer childKey, weapontype whichWeaponType returns boolean
native LoadHandle takes hashtable table, integer parentKey, integer childKey returns handle
native LoadAttackTypeHandle takes hashtable table, integer parentKey, integer childKey returns attacktype
native LoadDamageTypeHandle takes hashtable table, integer parentKey, integer childKey returns damagetype
native LoadWeaponTypeHandle takes hashtable table, integer parentKey, integer childKey returns weapontype
native GetAnimationName takes animtype whichAnim returns string
native QueueImmediateOrderById takes unit whichUnit, integer order returns boolean
native QueuePointOrderById takes unit whichUnit, integer order, real x, real y returns boolean
native QueueTargetOrderById takes unit whichUnit, integer order, widget targetWidget returns boolean
native QueueInstantPointOrderById takes unit whichUnit, integer order, real x, real y, widget instantTargetWidget returns boolean
native QueueInstantTargetOrderById takes unit whichUnit, integer order, widget targetWidget, widget instantTargetWidget returns boolean
native QueueBuildOrderById takes unit whichPeon, integer unitId, real x, real y returns boolean
native QueueNeutralImmediateOrderById takes player forWhichPlayer, unit neutralStructure, integer unitId returns boolean
native QueueNeutralPointOrderById takes player forWhichPlayer, unit neutralStructure, integer unitId, real x, real y returns boolean
native QueueNeutralTargetOrderById takes player forWhichPlayer, unit neutralStructure, integer unitId, widget target returns boolean
native GetUnitOrderCount takes unit whichUnit returns integer
native GetUnitOrderIdByIndex takes unit whichUnit, integer index returns integer
native UnitClearOrders takes unit whichUnit, boolean onlyQueued returns nothing
native UnitForceStopOrder takes unit whichUnit, boolean clearQueue returns nothing
Ред. Unryze
v1.0.17.73
type minimapicon extends handle
type commandbuttoneffect extends handle
constant unitrealfield UNIT_RF_COLLISION_SIZE = ConvertUnitRealField('ucol')
constant originframetype ORIGIN_FRAME_CONSOLE_UI = ConvertOriginFrameType(18)
constant originframetype ORIGIN_FRAME_PORTRAIT_TEXT = ConvertOriginFrameType(19)
constant originframetype ORIGIN_FRAME_BUFF_BAR = ConvertOriginFrameType(20)
constant originframetype ORIGIN_FRAME_BUFF_BAR_TEXT = ConvertOriginFrameType(21)
constant originframetype ORIGIN_FRAME_BUFF_BAR_INDICATOR = ConvertOriginFrameType(22)
constant originframetype ORIGIN_FRAME_TIME_OF_DAY_INDICATOR = ConvertOriginFrameType(23)
constant originframetype ORIGIN_FRAME_LEADERBOARD = ConvertOriginFrameType(24)
constant originframetype ORIGIN_FRAME_MULTIBOARD = ConvertOriginFrameType(25)
constant originframetype ORIGIN_FRAME_INFO_BAR = ConvertOriginFrameType(26)
constant originframetype ORIGIN_FRAME_COMMAND_BAR = ConvertOriginFrameType(27)
constant originframetype ORIGIN_FRAME_RESOURCE_BAR = ConvertOriginFrameType(28)
constant originframetype ORIGIN_FRAME_RESOURCE_BAR_TEXTURE = ConvertOriginFrameType(29)
constant originframetype ORIGIN_FRAME_RESOURCE_BAR_TEXT = ConvertOriginFrameType(30)
constant originframetype ORIGIN_FRAME_UPPERBUTTON_BAR = ConvertOriginFrameType(31)
constant originframetype ORIGIN_FRAME_UPPERBUTTON_BAR_BUTTON = ConvertOriginFrameType(32)
constant originframetype ORIGIN_FRAME_PEON_BAR = ConvertOriginFrameType(33)
constant originframetype ORIGIN_FRAME_PLAYER_MESSAGE = ConvertOriginFrameType(34)
constant originframetype ORIGIN_FRAME_UNIT_MESSAGE = ConvertOriginFrameType(35)
constant originframetype ORIGIN_FRAME_CHAT_MESSAGE = ConvertOriginFrameType(36)
constant originframetype ORIGIN_FRAME_TOP_MESSAGE = ConvertOriginFrameType(37)
constant originframetype ORIGIN_FRAME_CHAT_EDITBAR = ConvertOriginFrameType(38)
constant originframetype ORIGIN_FRAME_CINEMATIC_PANEL = ConvertOriginFrameType(39)
constant originframetype ORIGIN_FRAME_COMMAND_BUTTON_COOLDOWN_INDICATOR = ConvertOriginFrameType(40)
constant originframetype ORIGIN_FRAME_COMMAND_BUTTON_AUTOCAST_FRAME = ConvertOriginFrameType(41)
constant originframetype ORIGIN_FRAME_COMMAND_BUTTON_CHARGES_FRAME = ConvertOriginFrameType(42)
constant originframetype ORIGIN_FRAME_COMMAND_BUTTON_CHARGES_TEXT = ConvertOriginFrameType(43)
native MathRealMin takes real a, real b returns real
native MathRealMax takes real a, real b returns real
native MathRealSign takes real r returns integer
native MathIntegerMin takes integer a, integer b returns integer
native MathIntegerMax takes integer a, integer b returns integer
native MathIntegerSign takes integer i returns integer
native MathPointProjectionX takes real x, real angle, real distance returns real
native MathPointProjectionY takes real y, real angle, real distance returns real
native MathAngleBetweenPoints takes real fromX, real fromY, real toX, real toY returns real
native MathDistanceBetweenPoints takes real fromX, real fromY, real toX, real toY returns real
native MathAngleBetweenLocations takes location fromLoc, location toLoc returns real
native MathDistanceBetweenLocations takes location fromLoc, location toLoc returns real
native GetUnitZ takes unit whichUnit returns real
native DisableUnitAbility takes unit whichUnit, integer abilityId, boolean hide, boolean disable returns nothing
native EnableUnitAbility takes unit whichUnit, integer abilityId, boolean show, boolean enable returns nothing
native GetUnitBuffByIndex takes unit whichUnit, integer index returns buff
native SetSpecialEffectMatrixScale takes effect whichEffect, real x, real y, real z returns nothing\
native SetMiniMapTexture takes string texturePath returns boolean
native IsFrameRegion takes framehandle whichFrame returns boolean
native IsFrameSimple takes framehandle whichFrame returns boolean
native IsFrameComplex takes framehandle whichFrame returns boolean
BlzGroupAddGroupFast
BlzGroupRemoveGroupFast
BlzGroupGetSize
BlzGroupUnitAt
BlzForceHasPlayer
BlzGetTriggerPlayerMouseX
BlzGetTriggerPlayerMouseY
BlzGetTriggerPlayerMousePosition
BlzGetTriggerPlayerMouseButton
BlzSetAbilityTooltip
BlzSetAbilityActivatedTooltip
BlzSetAbilityExtendedTooltip
BlzSetAbilityActivatedExtendedTooltip
BlzSetAbilityResearchTooltip
BlzSetAbilityResearchExtendedTooltip
BlzGetAbilityTooltip
BlzGetAbilityActivatedTooltip
BlzGetAbilityExtendedTooltip
BlzGetAbilityActivatedExtendedTooltip
BlzGetAbilityResearchTooltip
BlzGetAbilityResearchExtendedTooltip
BlzSetAbilityIcon
BlzGetAbilityIcon
BlzSetAbilityActivatedIcon
BlzGetAbilityActivatedIcon
BlzGetAbilityPosX
BlzGetAbilityPosY
BlzSetAbilityPosX
BlzSetAbilityPosY
BlzGetAbilityActivatedPosX
BlzGetAbilityActivatedPosY
BlzSetAbilityActivatedPosX
BlzSetAbilityActivatedPosY
BlzGetUnitMaxHP
BlzSetUnitMaxHP
BlzGetUnitMaxMana
BlzSetUnitMaxMana
BlzSetItemName
BlzSetItemDescription
BlzGetItemDescription
BlzSetItemTooltip
BlzGetItemTooltip
BlzSetItemExtendedTooltip
BlzGetItemExtendedTooltip
BlzSetItemIconPath
BlzGetItemIconPath
BlzSetUnitName
BlzSetHeroProperName
BlzGetUnitBaseDamage
BlzSetUnitBaseDamage
BlzGetUnitDiceNumber
BlzSetUnitDiceNumber
BlzGetUnitDiceSides
BlzSetUnitDiceSides
BlzGetUnitAttackCooldown
BlzSetUnitAttackCooldown
BlzSetSpecialEffectColorByPlayer
BlzSetSpecialEffectColor
BlzSetSpecialEffectAlpha
BlzSetSpecialEffectScale
BlzSetSpecialEffectPosition
BlzSetSpecialEffectHeight
BlzSetSpecialEffectTimeScale
BlzSetSpecialEffectTime
BlzSetSpecialEffectOrientation
BlzSetSpecialEffectYaw
BlzSetSpecialEffectPitch
BlzSetSpecialEffectRoll
BlzSetSpecialEffectX
BlzSetSpecialEffectY
BlzSetSpecialEffectZ
BlzSetSpecialEffectPositionLoc
BlzGetLocalSpecialEffectX
BlzGetLocalSpecialEffectY
BlzGetLocalSpecialEffectZ
BlzPlaySpecialEffect
BlzPlaySpecialEffectWithTimeScale
BlzGetAnimName
BlzGetUnitArmor
BlzSetUnitArmor
BlzUnitHideAbility
BlzUnitDisableAbility
BlzIsUnitSelectable
BlzIsUnitInvulnerable
BlzUnitInterruptAttack
BlzGetUnitCollisionSize
BlzGetAbilityManaCost
BlzGetAbilityCooldown
BlzSetUnitAbilityCooldown
BlzGetUnitAbilityCooldown
BlzGetUnitAbilityCooldownRemaining
BlzEndUnitAbilityCooldown
BlzStartUnitAbilityCooldown
BlzGetUnitAbilityManaCost
BlzSetUnitAbilityManaCost
BlzGetLocalUnitZ
BlzSetEventDamage
BlzGetEventDamageTarget
BlzGetEventAttackType
BlzGetEventDamageType
BlzGetEventWeaponType
BlzSetEventAttackType
BlzSetEventDamageType
BlzSetEventWeaponType
BlzGetEventIsAttack
BlzGetUnitZ
BlzGetOriginFrame
BlzHideOriginFrames
BlzConvertColor
BlzLoadTOCFile
BlzCreateFrame
BlzCreateSimpleFrame
BlzCreateFrameByType
BlzDestroyFrame
BlzFrameSetPoint
BlzFrameSetAbsPoint
BlzFrameClearAllPoints
BlzFrameSetAllPoints
BlzFrameSetVisible
BlzFrameIsVisible
BlzGetFrameByName
BlzFrameGetName
BlzFrameClick
BlzFrameSetText
BlzFrameGetText
BlzFrameAddText
BlzFrameSetTextSizeLimit
BlzFrameGetTextSizeLimit
BlzFrameSetTextColor
BlzFrameSetFocus
BlzFrameSetModel
BlzFrameSetEnable
BlzFrameGetEnable
BlzFrameSetAlpha
BlzFrameGetAlpha
BlzFrameSetSpriteAnimate
BlzFrameSetTexture
BlzFrameSetScale
BlzFrameSetTooltip
BlzFrameCageMouse
BlzFrameSetValue
BlzFrameGetValue
BlzFrameSetMinMaxValue
BlzFrameSetStepSize
BlzFrameSetSize
BlzFrameSetVertexColor
BlzFrameSetLevel
BlzFrameSetParent
BlzFrameGetParent
BlzFrameGetHeight
BlzFrameGetWidth
BlzFrameSetFont
BlzFrameSetTextAlignment
BlzFrameGetChildrenCount
BlzFrameGetChild
BlzTriggerRegisterFrameEvent
BlzGetTriggerFrame
BlzGetTriggerFrameEvent
BlzGetTriggerFrameValue
BlzGetTriggerFrameText
BlzTriggerRegisterPlayerSyncEvent
BlzSendSyncData
BlzGetTriggerSyncPrefix
BlzGetTriggerSyncData
BlzTriggerRegisterPlayerKeyEvent
BlzGetTriggerPlayerKey
BlzGetTriggerPlayerMetaKey
BlzGetTriggerPlayerIsKeyDown
BlzSetMousePos
BlzGetLocalClientWidth
BlzGetLocalClientHeight
BlzIsLocalClientActive
BlzGetMouseFocusUnit
BlzChangeMinimapTerrainTex
BlzGetSpecialEffectScale
BlzSetSpecialEffectMatrixScale
BlzResetSpecialEffectMatrix
BlzGetUnitAbility
BlzGetUnitAbilityByIndex
BlzGetAbilityId
BlzDisplayChatMessage
BlzPauseUnitEx
BlzFourCC2S
BlzS2FourCC
BlzSetUnitFacingEx
BlzBitOr
BlzBitAnd
BlzBitXor
BlzGetAbilityBooleanField
BlzGetAbilityIntegerField
BlzGetAbilityRealField
BlzGetAbilityStringField
BlzGetAbilityBooleanLevelField
BlzGetAbilityIntegerLevelField
BlzGetAbilityRealLevelField
BlzGetAbilityStringLevelField
BlzGetAbilityBooleanLevelArrayField
BlzGetAbilityIntegerLevelArrayField
BlzGetAbilityRealLevelArrayField
BlzGetAbilityStringLevelArrayField
BlzSetAbilityBooleanField
BlzSetAbilityIntegerField
BlzSetAbilityRealField
BlzSetAbilityStringField
BlzSetAbilityBooleanLevelField
BlzSetAbilityIntegerLevelField
BlzSetAbilityRealLevelField
BlzSetAbilityStringLevelField
BlzSetAbilityBooleanLevelArrayField
BlzSetAbilityIntegerLevelArrayField
BlzSetAbilityRealLevelArrayField
BlzSetAbilityStringLevelArrayField
BlzAddAbilityBooleanLevelArrayField
BlzAddAbilityIntegerLevelArrayField
BlzAddAbilityRealLevelArrayField
BlzAddAbilityStringLevelArrayField
BlzRemoveAbilityBooleanLevelArrayField
BlzRemoveAbilityIntegerLevelArrayField
BlzRemoveAbilityRealLevelArrayField
BlzRemoveAbilityStringLevelArrayField
BlzGetItemBooleanField
BlzGetItemIntegerField
BlzGetItemRealField
BlzGetItemStringField
BlzSetItemBooleanField
BlzSetItemIntegerField
BlzSetItemRealField
BlzSetItemStringField
BlzGetUnitBooleanField
BlzGetUnitIntegerField
BlzGetUnitRealField
BlzGetUnitStringField
BlzSetUnitBooleanField
BlzSetUnitIntegerField
BlzSetUnitRealField
BlzSetUnitStringField
BlzGetUnitWeaponBooleanField
BlzGetUnitWeaponIntegerField
BlzGetUnitWeaponRealField
BlzGetUnitWeaponStringField
BlzSetUnitWeaponBooleanField
BlzSetUnitWeaponIntegerField
BlzSetUnitWeaponRealField
BlzSetUnitWeaponStringField
BlzQueueImmediateOrderById
BlzQueuePointOrderById
BlzQueueTargetOrderById
BlzQueueInstantPointOrderById
BlzQueueInstantTargetOrderById
BlzQueueBuildOrderById
BlzQueueNeutralImmediateOrderById
BlzQueueNeutralPointOrderById
BlzQueueNeutralTargetOrderById
BlzGetUnitOrderCount
BlzUnitClearOrders
BlzUnitForceStopOrder
v1.0.18.74
native BitwiseGetByte takes integer number, integer byteIndex returns integer
native StringCount takes string s, string whichString, boolean caseSensitive returns integer
native StringTrimLeft takes string s, boolean caseSensitive returns string
native StringTrimRight takes string s, boolean caseSensitive returns string
native StringTrim takes string s, boolean caseSensitive returns string
native StringReverse takes string s, boolean caseSensitive returns string
native StringReplace takes string s, string whichString, string replaceWith, boolean caseSensitive returns string
native StringInsert takes string s, string whichString, integer whichPosition, boolean caseSensitive returns string
native GetTriggerSyncPlayer takes nothing returns player this is simply mimicking GetTriggerPlayer, added for simplicity.
native IsTextTagVisible takes texttag whichTextTag returns boolean
native IsTextTagSuspended takes texttag whichTextTag returns boolean
native IsTextTagPermanent takes texttag whichTextTag returns real
native GetTextTagX takes texttag whichTextTag returns real
native SetTextTagX takes texttag whichTextTag, real x returns nothing
native GetTextTagY takes texttag whichTextTag returns real
native SetTextTagY takes texttag whichTextTag, real y returns nothing
native GetTextTagZ takes texttag whichTextTag returns real
native SetTextTagZ takes texttag whichTextTag, real z returns nothing
native GetTextTagHeight takes texttag whichTextTag returns real
native SetTextTagHeight takes texttag whichTextTag, real height returns nothing
native GetTextTagLocation takes texttag whichTextTag returns location
native SetTextTagPositionLocation takes texttag whichTextTag, location whichLocation returns nothing
native GetTextTagColour takes texttag whichTextTag returns integer
native GetTextTagAlpha takes texttag whichTextTag returns integer
native SetTextTagAlpha takes texttag whichTextTag, integer alpha returns nothing
native GetTextTagVelocityX takes texttag whichTextTag returns real
native SetTextTagVelocityX takes texttag whichTextTag, real velX returns nothing
native GetTextTagVelocityY takes texttag whichTextTag returns real
native SetTextTagVelocityY takes texttag whichTextTag, real velY returns nothing
native GetTextTagVelocityZ takes texttag whichTextTag returns real
native SetTextTagVelocityZ takes texttag whichTextTag, real velZ returns nothing
native GetTextTagAge takes texttag whichTextTag returns real
native GetTextTagLifespan takes texttag whichTextTag returns real
native GetTextTagFadepoint takes texttag whichTextTag returns real
native GetTextTagShadowColour takes texttag whichTextTag returns integer
native SetTextTagShadowColour takes texttag whichTextTag, integer colour returns nothing
native GetTextTagShadowAlpha takes texttag whichTextTag returns integer
native SetTextTagShadowAlpha takes texttag whichTextTag, integer alpha returns nothing
native GetTextTagText takes texttag whichTextTag returns string
Пометка 1: Это выполнит UjAPI и включит его режим разработчика, а так же включит луа с заданными к ней параметрами, игра будет в мультиоконном режиме и в режиме окна. Затем будет запущена карта заданная в loadfile аргументе.
Пример 2 (полный): "D:\Files\Work Files\Programming\uJAPI\Release\UjAPILauncher.exe" -ujapi "dev" -lua "dev console nowarnings" -multiwindow -window -launch "Warcraft" -gamepath "D:\Games\Warcraft III TFT\war3.exe" -loadfile "Maps\Test\WorldEditTestMap.w3x"
Пометка 2: Это выполнит всё, что описано в Примере 1, однако если присутствуют (-gamepath или -editorpath) оно также "переопределит" путь игры/редактора основываясь на аргументах поданных в них.
-justdoupdate (просто на просто выполнит форсированное скачивание последней версии и выполнит автообновление UjAPI, остальные команды будут проигнорированы).
-ujapi (даёт возможность переопределения некоторых базовых настроек UjAPI, пример: -ujapi "dev"), "" (кавычки) обязательны!
noload (отключает подгрузку UjAPI.mpq и UjAPI нативных функций).
dev (включает режим разработчика, который также включит консоль).
-lua (даёт возможность переопределения некоторых базовых настроек war3_lua.dll, пример: -lua "dev console nowarnings"), "" (кавычки) обязательны!
dev (включает режим разработчика).
console (включает консоль для луа ошибок и так далее).
nowarnings (отключает некоторые внутренние ошибки типов).
-multiwindow (включает режим Multi-Window и загружает необходимый модуль).
-window (запустит приложение в оконном режиме).
-launch (даёт возможность переопределения/указания пути для запуска игры или редактора, по стандарту будет запускаться игра, пример: -launch "Editor"), "" (кавычки) обязательны!
-gamepath (переопределяет и использует путь игры заданный в UjAPI Launcher, пример: -gamepath "D:\Games\Warcraft III TFT\war3.exe"), "" (кавычки) обязательны!
-editorpath (переопределяет и использует путь редактора заданный в UjAPI Launcher, пример: -editorpath "D:\Programs\WC3 Tools\JNPG-R1.4-Prometheus-Edition\NewGen WE.exe"), "" (кавычки) обязательны!
-loadfile (повторяет 1 в 1 метод запуска карт, путь до карты для игры ВСЕГДА относителен пути игры, однако для редактора нужно указывать ПОЛНЫЙ путь до карты).
v1.0.18.75
v1.0.19.78
type jassthread extends handle
constant widgetevent EVENT_WIDGET_DAMAGING = ConvertWidgetEvent(400)
constant widgetevent EVENT_WIDGET_DAMAGED = ConvertWidgetEvent(401)
constant abilityreallevelfield ABILITY_RLF_CAST_BACK_SWING = ConvertAbilityRealLevelField('acbs')
constant abilityreallevelfield ABILITY_RLF_CAST_POINT = ConvertAbilityRealLevelField('acpt')
constant unitintegerfield UNIT_IF_AGILITY_BONUS = ConvertUnitIntegerField('uag+') Get Only
constant unitintegerfield UNIT_IF_INTELLIGENCE_BONUS = ConvertUnitIntegerField('uin+') Get Only
constant unitintegerfield UNIT_IF_STRENGTH_BONUS = ConvertUnitIntegerField('ust+') Get Only
constant unitrealfield UNIT_RF_HEALTH_FROM_BONUS_STRENGTH = ConvertUnitRealField('uhs+') Get Only
constant unitrealfield UNIT_RF_MANA_FROM_BONUS_INTELLIGENCE = ConvertUnitRealField('umi+') Get Only
constant unitrealfield UNIT_RF_DEFENSE_BONUS = ConvertUnitRealField('udf+') Get Only
constant unitrealfield UNIT_RF_SPEED_BONUS = ConvertUnitRealField('umv+') Get Only
constant unitweaponintegerfield UNIT_WEAPON_IF_ATTACK_DAMAGE_BONUS = ConvertUnitWeaponIntegerField('ud1+') Get Only | this is the + (Green) or - (Red) value next to attack.
constant unitweaponrealfield UNIT_WEAPON_RF_ATTACK_SPEED_BONUS = ConvertUnitWeaponRealField('us1+') Get Only
Jass VM Natives
native GetJassMainThread takes nothing returns jassthread
native GetJassCurrentThread takes nothing returns jassthread
native RunJassScriptEx takes string parentScriptFile, string helperScriptFile, string jassScriptFile returns jassthread
native RunJassScript takes string helperScriptFile, string jassScriptFile returns jassthread
native RunJassScriptSimple takes string jassScriptFile returns jassthread
native StopJassThread takes jassthread thread returns boolean
native GetJassGlobalInteger takes jassthread thread, string variableName returns integer
native GetJassGlobalReal takes jassthread thread, string variableName returns real
native GetJassGlobalString takes jassthread thread, string variableName returns string
native GetJassGlobalHandle takes jassthread thread, string variableName returns handle
native GetJassGlobalBoolean takes jassthread thread, string variableName returns boolean
native SetJassGlobalInteger takes jassthread thread, string variableName, integer value returns boolean
native SetJassGlobalReal takes jassthread thread, string variableName, real value returns boolean
native SetJassGlobalString takes jassthread thread, string variableName, string value returns boolean
native SetJassGlobalHandle takes jassthread thread, string variableName, handle value returns boolean
native SetJassGlobalBoolean takes jassthread thread, string variableName, boolean value returns boolean
native GetWidgetModel takes widget whichWidget returns string
native TriggerRegisterWidgetEvent takes trigger whichTrigger, widget whichWidget, widgetevent whichWidgetEvent returns event
native SetSpecialEffectPlayerColour takes effect whichEffect, playercolor color returns nothing
native SetSpecialEffectMaterialTexture takes effect whichEffect, string textureName, integer materialId, integer textureIndex returns nothing
native SetSpecialEffectTexture takes effect whichEffect, string textureName, integer textureIndex returns nothing
native SetSpecialEffectReplaceableTexture takes effect whichEffect, string textureName, integer textureIndex returns nothing
native SetTrackablePlayerColour takes trackable whichTrackable, playercolor color returns nothing
native SetMissilePlayerColour takes missile whichMissile, playercolor color returns nothing
native SetMissileMaterialTexture takes missile whichMissile, string textureName, integer materialId, integer textureIndex returns nothing
native SetMissileTexture takes missile whichMissile, string textureName, integer textureIndex returns nothing
native SetMissileReplaceableTexture takes missile whichMissile, string textureName, integer textureIndex returns nothing
native SetFrameSpritePlayerColour takes framehandle whichFrame, playercolor color returns nothing
native GetFrameSpriteAlpha takes framehandle whichFrame returns integer
native SetFrameSpriteMaterialTexture takes framehandle whichFrame, string textureName, integer materialId, integer textureIndex returns nothing
native SetFrameSpriteTexture takes framehandle whichFrame, string textureName, integer textureIndex returns nothing
native SetFrameSpriteReplaceableTexture takes framehandle whichFrame, string textureName, integer textureIndex returns nothing
native GetUnitInSelectionByIndex takes player whichPlayer, integer index returns unit
native GetLastUnitInSelection takes player whichPlayer returns unit
UNIT_IF_AGILITY_PERMANENT
UNIT_IF_INTELLIGENCE_PERMANENT
UNIT_IF_STRENGTH_PERMANENT
UNIT_IF_AGILITY_WITH_BONUS
UNIT_IF_INTELLIGENCE_WITH_BONUS
UNIT_IF_STRENGTH_WITH_BONUS
UNIT_IF_AGILITY_BONUS
UNIT_IF_INTELLIGENCE_BONUS
UNIT_IF_STRENGTH_BONUS
UNIT_RF_HEALTH_FROM_BONUS_STRENGTH
UNIT_RF_MANA_FROM_BONUS_INTELLIGENCE
UNIT_RF_DEFENSE_BONUS
UNIT_RF_SPEED_BONUS
UNIT_WEAPON_IF_ATTACK_DAMAGE_BONUS
UNIT_WEAPON_RF_ATTACK_SPEED_BONUS
Пояснение: игра по стандарту создаёт лишь 1 индикатор, затем, когда у игры нет "свободных" индикаторов, она создаёт ещё 1 вплоть до 7.
ABILITY_RLF_CASTING_TIME
ABILITY_RLF_CAST_BACK_SWING
ABILITY_RLF_CAST_POINT.
v1.0.20.84
native GetAbilityCooldownEx takes ability whichAbility returns real
native TriggerRegisterPlayerProjectileEvent takes trigger whichTrigger, player whichPlayer, playermissileevent whichEvent returns event
Пометка: события теперь регистрируются через определённых игроков/юнитов используя TriggerRegisterPlayerUnitEvent and TriggerRegisterUnitEvent.
type doodad extends agent
constant native ConvertProjectileType takes integer i returns projectiletype
constant playerunitevent EVENT_PLAYER_UNIT_BUFF_RECEIVED = ConvertPlayerUnitEvent(500)
constant playerunitevent EVENT_PLAYER_UNIT_BUFF_REFRESHED = ConvertPlayerUnitEvent(501)
constant playerunitevent EVENT_PLAYER_UNIT_BUFF_ENDED = ConvertPlayerUnitEvent(502)
constant playerunitevent EVENT_PLAYER_UNIT_PROJECTILE_LAUNCH = ConvertPlayerUnitEvent(600)
constant playerunitevent EVENT_PLAYER_UNIT_PROJECTILE_HIT = ConvertPlayerUnitEvent(601)
constant unitevent EVENT_UNIT_BUFF_RECEIVED = ConvertUnitEvent(510)
constant unitevent EVENT_UNIT_BUFF_REFRESHED = ConvertUnitEvent(511)
constant unitevent EVENT_UNIT_BUFF_ENDED = ConvertUnitEvent(512)
constant unitevent EVENT_UNIT_PROJECTILE_LAUNCH = ConvertUnitEvent(610)
constant unitevent EVENT_UNIT_PROJECTILE_HIT = ConvertUnitEvent(611)
constant projectiletype PROJECTILE_TYPE_BULLET = ConvertProjectileType(0)
constant projectiletype PROJECTILE_TYPE_MISSILE = ConvertProjectileType(1)
constant projectiletype PROJECTILE_TYPE_ARTILLERY = ConvertProjectileType(2)
constant projectiletype PROJECTILE_TYPE_VISIBLE = ConvertProjectileType(4)
constant projectiletype PROJECTILE_TYPE_DEAD = ConvertProjectileType(5)
native IsProjectileType takes projectile whichProjectile, projectiletype whichType returns boolean
native GetProjectileTargetPointX takes projectile whichProjectile returns real
native GetProjectileTargetPointY takes projectile whichProjectile returns real
native GetProjectileTargetPointZ takes projectile whichProjectile returns real
native GetProjectileTargetPoint takes projectile whichProjectile returns location
native GetProjectileAreaOfEffectFullDamage takes projectile whichProjectile returns real
native SetProjectileAreaOfEffectFullDamage takes projectile whichProjectile, real area returns nothing
native GetProjectileAreaOfEffectMediumDamage takes projectile whichProjectile returns real
native SetProjectileAreaOfEffectMediumDamage takes projectile whichProjectile, real area returns nothing
native GetProjectileAreaOfEffectSmallDamage takes projectile whichProjectile returns real
native SetProjectileAreaOfEffectSmallDamage takes projectile whichProjectile, real area returns nothing
native GetProjectileAreaOfEffectMediumDamageFactor takes projectile whichProjectile returns real
native SetProjectileAreaOfEffectMediumDamageFactor takes projectile whichProjectile, real factor returns nothing
native GetProjectileAreaOfEffectSmallDamageFactor takes projectile whichProjectile returns real
native SetProjectileAreaOfEffectSmallDamageFactor takes projectile whichProjectile, real factor returns nothing
native EnumProjectilesInRect takes rect whichRect, boolexpr filter, code handlerFunc returns nothing
native GetUnitRallyPointX takes unit whichUnit returns real
native GetUnitRallyPointY takes unit whichUnit returns real
native SetUnitKiller takes unit whichUnit, unit killer returns nothing
native KillUnitEx takes unit whichUnit, unit killer returns nothing
native GetAbilityOwner takes ability whichAbility returns unit
native GetFilterAbility takes nothing returns ability
native GetEnumAbility takes nothing returns ability
native EnumUnitAbilities takes unit whichUnit, boolexpr whichBoolexpr, code whichCode returns boolean
native GetBuffTypeId takes buff whichBuff returns integer
native GetBuffBaseTypeId takes buff whichBuff returns integer
native GetBuffOwner takes buff whichbuff returns unit
native SetBuffLevel takes buff whichBuff, integer level returns nothing
native GetFilterBuff takes nothing returns buff
native GetEnumBuff takes nothing returns buff
native EnumUnitBuffs takes unit whichUnit, boolexpr whichBoolexpr, code whichCode returns boolean
native GetTriggerBuff takes nothing returns buff
native GetTriggerBuffSourceAbility takes nothing returns ability
native GetTriggerBuffSourceUnit takes nothing returns unit
native GetTriggerBuffTarget takes nothing returns unit
Doodad API
native GetDoodadCount takes nothing returns integer
native GetDoodadByIndex takes integer index returns doodad
native GetDoodadIndex takes doodad whichDoodad returns integer
native SetDoodadAnimationWithRarityByIndex takes doodad whichDoodad, integer animIndex, raritycontrol rarity returns nothing
native SetDoodadAnimationWithRarity takes doodad whichDoodad, string animationName, raritycontrol rarity returns nothing
native SetDoodadAnimationByIndex takes doodad whichDoodad, integer animIndex returns nothing
native SetDoodadAnimationEx takes doodad whichDoodad, string animationName returns nothing
native QueueDoodadAnimationByIndex takes doodad whichDoodad, integer animIndex returns nothing
native QueueDoodadAnimation takes doodad whichDoodad, string animationName returns nothing
native SetDoodadAnimationOffsetPercent takes doodad whichDoodad, real percent returns nothing
native GetFilterDoodad takes nothing returns doodad
native GetEnumDoodad takes nothing returns doodad
native EnumDoodadsInRange takes real x, real y, real radius, boolexpr filter, code handlerFunc returns nothing
native EnumDoodadsInRangeEx takes real x, real y, real radius, integer typeId, boolean nearestOnly, boolexpr filter, code handlerFunc returns nothing
native EnumDoodadsInRect takes rect whichRect, boolexpr filter, code handlerFunc returns nothing
native EnumDoodadsInRectEx takes rect whichRect, integer typeId, boolean nearestOnly, boolexpr filter, code handlerFunc returns nothing
Handle List API
native HandleListCreate takes nothing returns handlelist
native HandleListDestroy takes handlelist whichHandleList returns nothing
native HandleListAddHandle takes handlelist whichHandleList, handle whichHandle returns nothing
native HandleListRemoveHandle takes handlelist whichHandleList, handle whichHandle returns nothing
native HandleListAddList takes handlelist destHandleList, handlelist sourceHandleList returns integer
native HandleListRemoveList takes handlelist destHandleList, handlelist sourceHandleList returns integer
native HandleListClear takes handlelist whichHandleList returns nothing
native HandleListContainsHandle takes handlelist whichHandleList, handle whichHandle returns boolean
native HandleListGetCount takes handlelist whichHandleList returns integer
native HandleListGetCountEx takes handlelist whichHandleList, integer handleTypeId returns integer
native HandleListGetAgentCount takes handlelist whichHandleList returns integer
native HandleListGetWidgetCount takes handlelist whichHandleList returns integer
native HandleListGetUnitCount takes handlelist whichHandleList returns integer
native HandleListGetItemCount takes handlelist whichHandleList returns integer
native HandleListGetDestructableCount takes handlelist whichHandleList returns integer
native HandleListGetAbilityCount takes handlelist whichHandleList returns integer
native HandleListGetBuffCount takes handlelist whichHandleList returns integer
native HandleListGetEffectCount takes handlelist whichHandleList returns integer
native HandleListGetMissileCount takes handlelist whichHandleList returns integer
native HandleListGetFrameCount takes handlelist whichHandleList returns integer
native HandleListGetHandleByIndex takes handlelist whichHandleList, integer index returns handle
native HandleListGetHandleByIndexEx takes handlelist whichHandleList, integer handleTypeId, integer index returns handle
native HandleListGetAgentByIndex takes handlelist whichHandleList, integer index returns agent
native HandleListGetWidgetByIndex takes handlelist whichHandleList, integer index returns widget
native HandleListGetUnitByIndex takes handlelist whichHandleList, integer index returns unit
native HandleListGetItemByIndex takes handlelist whichHandleList, integer index returns item
native HandleListGetDestructableByIndex takes handlelist whichHandleList, integer index returns destructable
native HandleListGetAbilityByIndex takes handlelist whichHandleList, integer index returns ability
native HandleListGetBuffByIndex takes handlelist whichHandleList, integer index returns buff
native HandleListGetEffectByIndex takes handlelist whichHandleList, integer index returns effect
native HandleListGetMissileByIndex takes handlelist whichHandleList, integer index returns missile
native HandleListGetFrameByIndex takes handlelist whichHandleList, integer index returns framehandle
native HandleListGetFilterHandle takes nothing returns handle
native HandleListGetFilterAgent takes nothing returns agent
native HandleListGetFilterWidget takes nothing returns widget
native HandleListGetFilterUnit takes nothing returns unit
native HandleListGetFilterItem takes nothing returns item
native HandleListGetFilterDestructable takes nothing returns destructable
native HandleListGetFilterAbility takes nothing returns ability
native HandleListGetFilterBuff takes nothing returns buff
native HandleListGetFilterEffect takes nothing returns effect
native HandleListGetFilterMissile takes nothing returns missile
native HandleListGetFilterFrame takes nothing returns framehandle
native HandleListGetEnumHandle takes nothing returns handle
native HandleListGetEnumAgent takes nothing returns agent
native HandleListGetEnumWidget takes nothing returns widget
native HandleListGetEnumUnit takes nothing returns unit
native HandleListGetEnumItem takes nothing returns item
native HandleListGetEnumDestructable takes nothing returns destructable
native HandleListGetEnumAbility takes nothing returns ability
native HandleListGetEnumBuff takes nothing returns buff
native HandleListGetEnumEffect takes nothing returns effect
native HandleListGetEnumMissile takes nothing returns missile
native HandleListGetEnumFrame takes nothing returns framehandle
native HandleListEnumInRange takes handlelist whichHandleList, real x, real y, real radius, boolexpr filter returns nothing
native HandleListEnumInRangeEx takes handlelist whichHandleList, real x, real y, real radius, integer handleTypeId, boolexpr filter returns nothing
native HandleListEnumAgentsInRange takes handlelist whichHandleList, real x, real y, real radius, boolexpr filter returns nothing
native HandleListEnumWidgetsInRange takes handlelist whichHandleList, real x, real y, real radius, boolexpr filter returns nothing
native HandleListEnumUnitsInRange takes handlelist whichHandleList, real x, real y, real radius, boolexpr filter returns nothing
native HandleListEnumItemsInRange takes handlelist whichHandleList, real x, real y, real radius, boolexpr filter returns nothing
native HandleListEnumDestructablesInRange takes handlelist whichHandleList, real x, real y, real radius, boolexpr filter returns nothing
native HandleListEnumEffectsInRange takes handlelist whichHandleList, real x, real y, real radius, boolexpr filter returns nothing
native HandleListEnumMissilesInRange takes handlelist whichHandleList, real x, real y, real radius, boolexpr filter returns nothing
native HandleListEnumInRangeOfLoc takes handlelist whichHandleList, location whichLocation, real radius, boolexpr filter returns nothing
native HandleListEnumInRangeOfLocEx takes handlelist whichHandleList, location whichLocation, real radius, integer handleTypeId, boolexpr filter returns nothing
native HandleListEnumAgentsInRangeOfLoc takes handlelist whichHandleList, location whichLocation, real radius, boolexpr filter returns nothing
native HandleListEnumWidgetsInRangeOfLoc takes handlelist whichHandleList, location whichLocation, real radius, boolexpr filter returns nothing
native HandleListEnumUnitsInRangeOfLoc takes handlelist whichHandleList, location whichLocation, real radius, boolexpr filter returns nothing
native HandleListEnumItemsInRangeOfLoc takes handlelist whichHandleList, location whichLocation, real radius, boolexpr filter returns nothing
native HandleListEnumDestructablesInRangeOfLoc takes handlelist whichHandleList, location whichLocation, real radius, boolexpr filter returns nothing
native HandleListEnumEffectsInRangeOfLoc takes handlelist whichHandleList, location whichLocation, real radius, boolexpr filter returns nothing
native HandleListEnumMissilesInRangeOfLoc takes handlelist whichHandleList, location whichLocation, real radius, boolexpr filter returns nothing
native HandleListEnumInRect takes handlelist whichHandleList, rect whichRect, boolexpr filter returns nothing
native HandleListEnumInRectEx takes handlelist whichHandleList, rect whichRect, integer handleTypeId, boolexpr filter returns nothing
native HandleListEnumAgentsInRect takes handlelist whichHandleList, rect whichRect, boolexpr filter returns nothing
native HandleListEnumWidgetsInRect takes handlelist whichHandleList, rect whichRect, boolexpr filter returns nothing
native HandleListEnumUnitsInRect takes handlelist whichHandleList, rect whichRect, boolexpr filter returns nothing
native HandleListEnumItemsInRect takes handlelist whichHandleList, rect whichRect, boolexpr filter returns nothing
native HandleListEnumDestructablesInRect takes handlelist whichHandleList, rect whichRect, boolexpr filter returns nothing
native HandleListEnumEffectsInRect takes handlelist whichHandleList, rect whichRect, boolexpr filter returns nothing
native HandleListEnumMissilesInRect takes handlelist whichHandleList, rect whichRect, boolexpr filter returns nothing
native HandleListEnumByTypeId takes handlelist whichHandleList, integer typeId, boolexpr filter returns nothing
native HandleListEnumByTypeIdEx takes handlelist whichHandleList, integer handleTypeId, integer typeId, boolexpr filter returns nothing
native HandleListForEach takes handlelist whichHandleList, code c returns nothing
native HandleListForEachByType takes handlelist whichHandleList, integer typeId, code c returns nothing
native HandleListForEachByTypeEx takes handlelist whichHandleList, integer handleTypeId, integer typeId, code c returns nothing
v1.0.21.85
constant targetflag TARGET_FLAG_SELF = ConvertTargetFlag(4096)
constant targetflag TARGET_FLAG_PLAYER_UNITS = ConvertTargetFlag(8192)
constant targetflag TARGET_FLAG_ALLIED = ConvertTargetFlag(16384)
constant targetflag TARGET_FLAG_FRIEND = ConvertTargetFlag(24576) ALLIED | PLAYER_UNITS
constant targetflag TARGET_FLAG_NEUTRAL = ConvertTargetFlag(32768)
constant targetflag TARGET_FLAG_ENEMY = ConvertTargetFlag(65536)
constant targetflag TARGET_FLAG_NOT_SELF = ConvertTargetFlag(122880) ENEMY | NEUTRAL | FRIEND
constant targetflag TARGET_FLAG_VULNERABLE = ConvertTargetFlag(1048576)
constant targetflag TARGET_FLAG_INVULNERABLE = ConvertTargetFlag(2097152)
constant targetflag TARGET_FLAG_HERO = ConvertTargetFlag(4194304)
constant targetflag TARGET_FLAG_NON_HERO = ConvertTargetFlag(8388608)
constant targetflag TARGET_FLAG_ALIVE = ConvertTargetFlag(16777216)
constant targetflag TARGET_FLAG_DEAD = ConvertTargetFlag(33554432)
constant targetflag TARGET_FLAG_ORGANIC = ConvertTargetFlag(67108864)
constant targetflag TARGET_FLAG_MECHANICAL = ConvertTargetFlag(134217728)
constant targetflag TARGET_FLAG_NON_SUICIDAL = ConvertTargetFlag(268435456)
constant targetflag TARGET_FLAG_SUICIDAL = ConvertTargetFlag(536870912)
constant targetflag TARGET_FLAG_NON_ANCIENT = ConvertTargetFlag(1073741824)
constant targetflag TARGET_FLAG_ANCIENT = ConvertTargetFlag(2147483648)
constant targetflag TARGET_FLAG_EMPTY = ConvertTargetFlag(4294967295)
constant abilityrealfield ABILITY_RF_AURA_REFRESH_TIME = ConvertAbilityRealField('artm')
constant abilityintegerlevelfield ABILITY_ILF_TARGETS_ALLOWED = ConvertAbilityIntegerLevelField('atar')
constant playerunitevent EVENT_PLAYER_UNIT_ATTACK_FINISHED = ConvertPlayerUnitEvent(317)
constant unitevent EVENT_UNIT_ATTACK_FINISHED = ConvertUnitEvent(316)
native IsAbilityTargetAllowed takes ability whichAbility, widget whichWidget returns boolean
native GetSpecialEffectModelObjectPositionX takes effect whichEffect, string whichObject returns real
native GetSpecialEffectModelObjectPositionY takes effect whichEffect, string whichObject returns real
native GetSpecialEffectModelObjectPositionZ takes effect whichEffect, string whichObject returns real
native GetSpecialEffectModelObjectPositionLoc takes effect whichEffect, string whichObject returns location
native GetTrackableModelObjectPositionX takes trackable whichTrackable, string whichObject returns real
native GetTrackableModelObjectPositionY takes trackable whichTrackable, string whichObject returns real
native GetTrackableModelObjectPositionZ takes trackable whichTrackable, string whichObject returns real
native GetTrackableModelObjectPositionLoc takes trackable whichTrackable, string whichObject returns location
native GetWidgetModelObjectPositionX takes widget whichWidget, string whichObject returns real
native GetWidgetModelObjectPositionY takes widget whichWidget, string whichObject returns real
native GetWidgetModelObjectPositionZ takes widget whichWidget, string whichObject returns real
native GetWidgetModelObjectPositionLoc takes widget whichWidget, string whichObject returns location
native GetDestructableModelObjectPositionX takes destructable whichDestructable, string whichObject returns real
native GetDestructableModelObjectPositionY takes destructable whichDestructable, string whichObject returns real
native GetDestructableModelObjectPositionZ takes destructable whichDestructable, string whichObject returns real
native GetDestructableModelObjectPositionLoc takes destructable whichDestructable, string whichObject returns location
native GetItemModelObjectPositionX takes item whichItem, string whichObject returns real
native GetItemModelObjectPositionY takes item whichItem, string whichObject returns real
native GetItemModelObjectPositionZ takes item whichItem, string whichObject returns real
native GetItemModelObjectPositionLoc takes item whichItem, string whichObject returns location
native GetUnitModelObjectPositionX takes unit whichUnit, string whichObject returns real
native GetUnitModelObjectPositionY takes unit whichUnit, string whichObject returns real
native GetUnitModelObjectPositionZ takes unit whichUnit, string whichObject returns real
native GetUnitModelObjectPositionLoc takes unit whichUnit, string whichObject returns location
native GetProjectileModelObjectPositionX takes projectile whichProjectile, string whichObject returns real
native GetProjectileModelObjectPositionY takes projectile whichProjectile, string whichObject returns real
native GetProjectileModelObjectPositionZ takes projectile whichProjectile, string whichObject returns real
native GetProjectileModelObjectPositionLoc takes projectile whichProjectile, string whichObject returns location
Frame API
native GetFrameCheckState takes fremehandle whichFrame returns boolean
native SetFrameCheckState takes framehandle whichFrame, boolean isCheck returns nothing
native GetTriggerFrameMouseButton takes nothing returns mousebuttontype
native RegisterFrameMouseButton takes framehandle whichFrame, mousebuttontype whichButton, boolean isAdd returns nothing
Ред. Unryze
v1.0.22.88
type collisiontype extends handle
type textfilehandle extends handle
constant native ConvertCollisionType takes integer i returns collisiontype
constant pathingaitype PATHING_AI_TYPE_AMPHIBIOUS = ConvertPathingAIType(64)
constant pathingaitype PATHING_AI_TYPE_FLOAT = ConvertPathingAIType(128)
constant pathingaitype PATHING_AI_TYPE_FLY = ConvertPathingAIType(192) MOVE_TYPE_AMPHIBIOUS | MOVE_TYPE_FLOAT
constant collisiontype COLLISION_TYPE_NONE = ConvertCollisionType(0)
constant collisiontype COLLISION_TYPE_ANY = ConvertCollisionType(1)
constant collisiontype COLLISION_TYPE_FOOT = ConvertCollisionType(2)
constant collisiontype COLLISION_TYPE_AIR = ConvertCollisionType(4)
constant collisiontype COLLISION_TYPE_BUILDING = ConvertCollisionType(8)
constant collisiontype COLLISION_TYPE_HARVESTER = ConvertCollisionType(16)
constant collisiontype COLLISION_TYPE_BLIGHTED = ConvertCollisionType(32)
constant collisiontype COLLISION_TYPE_FLOAT = ConvertCollisionType(64)
constant collisiontype COLLISION_TYPE_AMPHIBIOUS = ConvertCollisionType(128)
constant collisiontype COLLISION_TYPE_GROUND = ConvertCollisionType(202) COLLISION_TYPE_FOOT | COLLISION_TYPE_BUILDING | COLLISION_TYPE_FLOAT | COLLISION_TYPE_AMPHIBIOUS
constant originframetype ORIGIN_FRAME_INVENTORY_COVER_FRAME = ConvertOriginFrameType(45)
constant originframetype ORIGIN_FRAME_UNIT_TIP = ConvertOriginFrameType(46)
constant unitevent EVENT_UNIT_DECAY_FINISHED = ConvertUnitEvent(318)
constant playerunitevent EVENT_PLAYER_UNIT_DECAY_FINISHED = ConvertPlayerUnitEvent(319)
constant frameeventtype FRAMEEVENT_CHECKBOX_CHANGED = ConvertFrameEventType(17)
constant frameeventtype FRAMEEVENT_CONTROL_RELEASE = ConvertFrameEventType(18)
constant frameeventtype FRAMEEVENT_CONTROL_DRAG = ConvertFrameEventType(19)
constant unitintegerfield UNIT_IF_COLLISION_TYPE = ConvertUnitIntegerField('ucot')
constant unitintegerfield UNIT_IF_PATHING_AI = ConvertUnitIntegerField('upai')
constant unitintegerfield UNIT_IF_PATHING_TYPE = ConvertUnitIntegerField('upat')
native BitwiseSetBit takes integer i, integer bitIndex, integer bitValue returns integer
native BitwiseSetByte takes integer i, integer byteIndex, integer byteValue returns integer
native BitwiseToInteger takes integer byte1, integer byte2, integer byte3, integer byte4 returns integer
native GetTimeStamp takes boolean isLocalTime, integer isMiliseconds returns string
native ConsoleEnable takes boolean flag returns nothing
native ConsolePrint takes string s returns nothing
native TextFileOpen takes string filePath returns textfilehandle
native TextFileGetPath takes textfilehandle whichTextFile returns string
native TextFileClose takes textfilehandle whichTextFile returns nothing
native TextFileClear takes textfilehandle whichTextFile returns nothing
native TextFileErase takes textfilehandle whichTextFile returns nothing
native TextFileCountLines takes textfilehandle whichTextFile returns integer
native TextFileReadLine takes textfilehandle whichTextFile, integer lineNumber returns string
native TextFileReadAll takes textfilehandle whichTextFile returns string
native TextFileWriteLine takes textfilehandle whichTextFile, string text returns nothing
native IsCursorEnabled takes nothing returns boolean
native SetCursorEnabled takes boolean enable returns nothing
native IsCursorAnimationLocked takes nothing returns boolean
native SetCursorAnimationLocked takes boolean isLock returns nothing
native IsFrameDraggable takes framehandle whichFrame returns boolean
native SetFrameDraggable takes framehandle whichFrame, boolean enabled returns nothing
native GetFrameModel takes framehandle whichFrame returns string
native SetFrameSpriteMaterialScale takes framehandle whichFrame, real sizeX, real sizeY, real sizeZ returns nothing
native IsWidgetTipEnabled takes nothing returns boolean
native SetWidgetTipEnabled takes boolean enable returns nothing
native IsAbilityBaseTargetAllowed takes integer abilityId, widget source, widget target returns boolean source can be null
native IsWidgetTargetAllowed takes widget source, widget target, targetflag whichFlags returns boolean
native GetUnitCollisionType takes unit whichUnit returns collisiontype
native SetUnitCollisionType takes unit whichUnit, collisiontype collisionType returns nothing
Пояснение: Консоль имеет 4 "части" потому индексы 0-3.
Пример использования: call SetAbilityStringLevelField( GetUnitAbility( u, 'Aspb' ), ABILITY_SLF_SPELL_LIST, 0, "AHad,AHhb,AHbz,AUau" )