Лауреат премии 2023 года
Данный ресурс работает ТОЛЬКО с патчами 1.24e/1.26а/1.27a/1.27b/1.28f
Как пользоваться?
- Распакуйте все файлы из архива, желательно в отдельную папку, вот так:
- Запустите UjAPI.exe.
- Если же у вас приложение не запускается, то скачайте и установите: .NET Framework 4.7.2.
- Если же ни в игре, ни в World Editor UjAPI не работает, то скачайте и установите: C++ Redistributable 2012
- Установите путь для Warcraft 3, вот так:
- Можно указать и на Frozen Throne.exe или же на Warcraft III.exe (но рекомендуется использовать именно war3.exe для патчей 1.27б и ниже).
- На патче 1.28.5(f) рекомендуется использовать непосредственно Warcraft III.exe.
- Установите путь для World Editor, вот так:
- Рекомендуется использовать JNGP версии Прометея: скачать
- Пароль от архива: JNGP
- Готово, вы можете теперь смело запускать как игру, так и World Editor через UjAPI Launcher.
- Для использования оконного режима в Warcraft III нажмите галочку на "Additional command line arguments" и в появившееся окно, пропишите -window, вот так:
Полезные файлы
Для лаунчера | Информационные |
---|---|
.NET Framework 4.7.2 | Список всех функций |
C++ Redistributables 2012 | Новые типы/функции |
Ред. host_pi
ну нет так нет, шо
Ред. Unryze
Ред. Unryze
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
Ред. Borodach
Разве у объектов типа agent существуют координаты х и у, чтобы находить их в радиусе или в области? Они конечно есть где то в памяти, но не на карте же...
Будет ли аналог функции first of group, чтобы делать ручные переборы объектов в handle list?
Что тогда делать с предыдущими нативками по перебору предметов/эффектов/итд в радиусе, имеют ли они теперь смысл?
Ред. Unryze
Ред. Алексей Андреич
выбираешь нужную группу, к примеру через HandleListEnumUnitsInRect
у тебя на руках будет группа HandleList
first of group - это первый элемент листа по индексу [0]
и просто прогоняешь цикл от индекса [0] до [размер HandleList (наверняка есть метод получения размера группы) - 1]
или вон нативка есть.
native HandleListForEach takes handlelist whichHandleList, code c returns nothing
ну это как я понял...
Ред. Unryze
Ред. Unryze
Ред. Unryze
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" )
Ред. ScorpioT1000
Ред. ScorpioT1000
Если ответ был без заголовка или с пустым - дропаем всю игру. Если таймаут или 502 - запрещаем слать запросы на 1-5 минут. Серверы не всегда могут быть доступны.