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.
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" )
v1.0.23.91
native MathRealLerp takes real a, real b, real t returns real
native MathIntegerClamp takes integer value, integer min, integer max returns integer
native SetFrameWidth takes framehandle whichFrame, real width returns nothing
native SetFrameHeight takes framehandle whichFrame, real height returns nothing
native SetFrameTextVerticalAlignment takes framehandle whichFrame, textaligntype verticalAlign returns nothing
native SetFrameTextHorizontalAlignment takes framehandle whichFrame, textaligntype horizontalAlign returns nothing
native GetFrameTexture takes framehandle whichFrame, integer textureId returns string
native GetFrameTrackState takes framehandle whichFrame returns boolean
native SetFrameTrackState takes framehandle whichFrame, integer trackState returns nothing 0 - NONE | 1 - Track | 2 - Ignore Track
native SetFrameTextureEx takes framehandle whichFrame, string backgroundTextureFile, string borderTextureFile, integer textureId, boolean blend returns nothing
Спасибо пользователю Radioactive за то, что он заметил и сообщил об этой серьёзной проблеме.
Пометка: это была новая ошибка, которая "всплыла" в виду снятия лимита RCString (джасс строк).
Пример: ADD real -> -2816.000000 + 512.000000 = -2304.000000.
Note: there are a total of 43 different types of operations (opcodes).
Пример: "-jass dev".
Пример: "-jass logactions".
v1.0.24.92
native RemoveSound takes sound whichSound returns nothing
native ReplaceSound takes sound whichSound, string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string eaxSetting returns sound
native ReplaceSoundWithLabel takes sound whichSound, string fileName, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate, string SLKEntryName returns sound
native ReplaceSoundFromLabel takes sound whichSound, string soundLabel, boolean looping, boolean is3D, boolean stopwhenoutofrange, integer fadeInRate, integer fadeOutRate returns sound
native ReplaceMIDISound takes sound whichSound, string soundLabel, integer fadeInRate, integer fadeOutRate returns sound
native TextFileExists takes string filePath returns boolean
Пометка: HandleListGetHandleByIndex и HandleListGetAgentByIndex работали без каких-либо проблем.
v1.0.25.94
native ConsolePause takes string s returns nothing
native GetTickCount takes nothing returns integer
native GetSpecialEffectCurrentAnimationId takes effect whichEffect returns integer
native GetTrackableCurrentAnimationId takes trackable whichTrackable returns integer
native GetWidgetCurrentAnimationId takes widget whichWidget returns integer
native GetDestructableCurrentAnimationId takes destructable whichDestructable returns integer
native GetItemCurrentAnimationId takes item whichItem returns integer
native GetUnitCurrentAnimationId takes unit whichUnit returns integer
native GetProjectileCurrentAnimationId takes projectile whichProjectile returns integer
native GetFrameSpriteCurrentAnimationId takes framehandle whichFrame returns integer
native GetFrameColourEx takes framehandle whichFrame, integer textureId returns integer
native SetFrameColourEx takes framehandle whichFrame, integer textureId, integer colour returns nothing
native GetFrameColour takes framehandle whichFrame returns integer
native SetFrameColour takes framehandle whichFrame, integer colour returns nothing
native GetFrameAlphaEx takes framehandle whichFrame, integer textureId returns integer
native SetFrameAlphaEx takes framehandle whichFrame, integer textureId, integer alpha returns nothing
Ред. Unryze
v1.0.26.97
type mappedfield extends handle
type mappedtype extends handle
type attachmenttype extends mappedtype
type bonetype extends attachmenttype
type cursoranimtype extends mappedtype
constant native ConvertMappedField takes integer i returns mappedfield
constant native ConvertAttachmentType takes integer i returns attachmenttype
constant native ConvertBoneType takes integer i returns bonetype
constant native ConvertCursorAnimType takes integer i returns cursoranimtype
constant mappedfield MAPPED_FIELD_ATTACHMENT = ConvertMappedField(0)
constant mappedfield MAPPED_FIELD_BONE = ConvertMappedField(1)
constant mappedfield MAPPED_FIELD_ANIMATION = ConvertMappedField(2)
constant mappedfield MAPPED_FIELD_SUB_ANIMATION = ConvertMappedField(3)
constant mappedfield MAPPED_CURSOR_SUB_ANIMATION = ConvertMappedField(4)
constant attachmenttype ATTACHMENT_TYPE_CHEST = ConvertAttachmentType('ches')
constant attachmenttype ATTACHMENT_TYPE_FEET = ConvertAttachmentType('feet')
constant attachmenttype ATTACHMENT_TYPE_FOOT = ConvertAttachmentType('foot')
constant attachmenttype ATTACHMENT_TYPE_HAND = ConvertAttachmentType('hand')
constant attachmenttype ATTACHMENT_TYPE_HEAD = ConvertAttachmentType('head')
constant attachmenttype ATTACHMENT_TYPE_ORIGIN = ConvertAttachmentType('orig')
constant attachmenttype ATTACHMENT_TYPE_OVERHEAD = ConvertAttachmentType('over')
constant attachmenttype ATTACHMENT_TYPE_SPRITE = ConvertAttachmentType('spri')
constant attachmenttype ATTACHMENT_TYPE_WEAPON = ConvertAttachmentType('weap')
constant attachmenttype ATTACHMENT_TYPE_ALTERNATE = ConvertAttachmentType('alte')
constant attachmenttype ATTACHMENT_TYPE_LEFT = ConvertAttachmentType('left')
constant attachmenttype ATTACHMENT_TYPE_RIGHT = ConvertAttachmentType('righ')
constant attachmenttype ATTACHMENT_TYPE_MOUNT = ConvertAttachmentType('moun')
constant attachmenttype ATTACHMENT_TYPE_REAR = ConvertAttachmentType('rear')
constant attachmenttype ATTACHMENT_TYPE_SMART = ConvertAttachmentType('smar')
constant attachmenttype ATTACHMENT_TYPE_FIRST = ConvertAttachmentType('firs')
constant attachmenttype ATTACHMENT_TYPE_SECOND = ConvertAttachmentType('seco')
constant attachmenttype ATTACHMENT_TYPE_THIRD = ConvertAttachmentType('thir')
constant attachmenttype ATTACHMENT_TYPE_FOURTH = ConvertAttachmentType('four')
constant attachmenttype ATTACHMENT_TYPE_FIFTH = ConvertAttachmentType('fift')
constant attachmenttype ATTACHMENT_TYPE_SIXTH = ConvertAttachmentType('sixt')
constant attachmenttype ATTACHMENT_TYPE_SMALL = ConvertAttachmentType('smal')
constant attachmenttype ATTACHMENT_TYPE_MEDIUM = ConvertAttachmentType('medi')
constant attachmenttype ATTACHMENT_TYPE_LARGE = ConvertAttachmentType('larg')
constant attachmenttype ATTACHMENT_TYPE_GOLD = ConvertAttachmentType('gold')
constant attachmenttype ATTACHMENT_TYPE_RALLYPOINT = ConvertAttachmentType('rall')
constant attachmenttype ATTACHMENT_TYPE_EAT_TREE = ConvertAttachmentType('eatt')
constant bonetype BONE_TYPE_CHEST = ConvertBoneType('ches')
constant bonetype BONE_TYPE_FOOT = ConvertBoneType('foot')
constant bonetype BONE_TYPE_HAND = ConvertBoneType('hand')
constant bonetype BONE_TYPE_HEAD = ConvertBoneType('head')
constant bonetype BONE_TYPE_TURRET = ConvertBoneType('turr')
constant bonetype BONE_TYPE_ALTERNATE = ConvertBoneType('alte')
constant bonetype BONE_TYPE_LEFT = ConvertBoneType('left')
constant bonetype BONE_TYPE_RIGHT = ConvertBoneType('righ')
constant bonetype BONE_TYPE_MOUNT = ConvertBoneType('moun')
constant bonetype BONE_TYPE_SMART = ConvertBoneType('smar')
constant cursoranimtype CURSORANIM_TYPE_NORMAL = ConvertCursorAnimType(0)
constant cursoranimtype CURSORANIM_TYPE_SELECT = ConvertCursorAnimType(1)
constant cursoranimtype CURSORANIM_TYPE_TARGET = ConvertCursorAnimType(2)
constant cursoranimtype CURSORANIM_TYPE_TARGET_SELECT = ConvertCursorAnimType(3)
constant cursoranimtype CURSORANIM_TYPE_INVALID_TARGET = ConvertCursorAnimType(4)
constant cursoranimtype CURSORANIM_TYPE_HOLD_ITEM = ConvertCursorAnimType(5)
constant cursoranimtype CURSORANIM_TYPE_SCROLL = ConvertCursorAnimType(6)
constant cursoranimtype CURSORANIM_TYPE_LEFT = ConvertCursorAnimType(7)
constant cursoranimtype CURSORANIM_TYPE_RIGHT = ConvertCursorAnimType(8)
constant cursoranimtype CURSORANIM_TYPE_UP = ConvertCursorAnimType(9)
constant cursoranimtype CURSORANIM_TYPE_DOWN = ConvertCursorAnimType(10)
native GetAnimationName takes animtype whichAnim returns string
native GetMiscDataString takes string sectionName, string optionName, integer index returns string
native SetMiscDataString takes string sectionName, string optionName, integer index, string value returns nothing
native GetSkinDataString takes string raceName, string sectionName, string optionName, integer index returns string raceName can be null
native SetSkinDataString takes string raceName, string sectionName, string optionName, integer index, string value returns nothing raceName can be null
native GetFDFDataString takes string sectionName, string optionName returns string
native SetFDFDataString takes string sectionName, string optionName, string value returns nothing
native GetMappedTypeName takes mappedfield whichField, mappedtype whichMapType returns string
native TriggerCountEvents takes trigger whichTrigger returns integer
native TriggerCountConditions takes trigger whichTrigger returns integer
native TriggerCountActions takes trigger whichTrigger returns integer
native TriggerRemoveEvent takes trigger whichTrigger, event whichEvent returns nothing
native TriggerRemoveEventId takes trigger whichTrigger, eventid whichEventId, boolean removeAllOccurences returns nothing
native TriggerClearEvents takes trigger whichTrigger returns nothing
native TriggerClear takes trigger whichTrigger returns nothing
native GetSpecialEffectCurrentAnimationName takes effect whichEffect returns string
native GetTrackableCurrentAnimationName takes trackable whichTrackable returns string
native GetWidgetCurrentAnimationName takes widget whichWidget returns string
native GetDestructableCurrentAnimationName takes destructable whichDestructable returns string
native GetItemCurrentAnimationName takes item whichItem returns string
native GetUnitCurrentAnimationName takes unit whichUnit returns string
native GetProjectileCurrentAnimationName takes projectile whichProjectile returns string
native GetFrameSpriteCurrentAnimationName takes framehandle whichFrame returns string
native CreateSimpleGlueFrame takes framehandle whichSimpleParent, framehandle whichSpriteFrame returns framehandle
native SetFrameName takes framehandle whichFrame, string contextName returns nothing
native GetFrameContext takes framehandle whichFrame returns integer
native SetFrameContext takes framehandle whichFrame, integer createContext returns nothing
native SetFrameContextName takes framehandle whichFrame, string contextName, integer createContext returns nothing
Пометка: карты написанные на "чистом" луа всё ещё не будут работать, пока Ev3nt не исправит его war3_lua.dll.
Пометка 2: это "маленькое" изменение потребовало более 1000 строк кода, что же я делаю со своей жизнью...
Пометка: хотя ранее не было ошибок/проблем связанных с этой структурой, это было либо в виду везения, либо в виду малой популярности.