Добавлен Unryze,
опубликован
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.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 строк кода, что же я делаю со своей жизнью...
Пометка: хотя ранее не было ошибок/проблем связанных с этой структурой, это было либо в виду везения, либо в виду малой популярности.
Отредактирован Unryze
v1.0.27.100
constant playercolor PLAYER_COLOR_NAVY = ConvertPlayerColor(13)
constant playercolor PLAYER_COLOR_TURQUOISE = ConvertPlayerColor(14)
constant playercolor PLAYER_COLOR_VIOLET = ConvertPlayerColor(15)
constant playercolor PLAYER_COLOR_WHEAT = ConvertPlayerColor(16)
constant playercolor PLAYER_COLOR_PEACH = ConvertPlayerColor(17)
constant playercolor PLAYER_COLOR_MINT = ConvertPlayerColor(18)
constant playercolor PLAYER_COLOR_LAVENDER = ConvertPlayerColor(19)
constant playercolor PLAYER_COLOR_COAL = ConvertPlayerColor(20)
constant playercolor PLAYER_COLOR_SNOW = ConvertPlayerColor(21)
constant playercolor PLAYER_COLOR_EMERALD = ConvertPlayerColor(22)
constant playercolor PLAYER_COLOR_PEANUT = ConvertPlayerColor(23)
constant integer CORNER_FLAG_UPPER_LEFT = 1
constant integer CORNER_FLAG_UPPER_RIGHT = 2
constant integer CORNER_FLAG_BOTTOM_LEFT = 4
constant integer CORNER_FLAG_BOTTOM_RIGHT = 8
constant integer CORNER_FLAG_TOP = 16
constant integer CORNER_FLAG_LEFT = 32
constant integer CORNER_FLAG_BOTTOM = 64
constant integer CORNER_FLAG_RIGHT = 128
constant integer CORNER_FLAG_ALL = 255
constant native GetBJPlayerNeutralVictim takes nothing returns integer
constant native GetBJPlayerNeutralExtra takes nothing returns integer
constant native GetBJMaxPlayerSlots takes nothing returns integer
constant native GetPlayerNeutralPassive takes nothing returns integer
constant native GetPlayerNeutralAggressive takes nothing returns integer
native SaveCode takes hashtable table, integer parentKey, integer childKey, code whichCode returns boolean
native SaveHandleList takes hashtable table, integer parentKey, integer childKey, handlelist whichHandleList returns boolean
native LoadCode takes hashtable table, integer parentKey, integer childKey returns code
native LoadHandleList takes hashtable table, integer parentKey, integer childKey returns handlelist
native GetFrameTypeName takes framehandle whichFrame returns string
native GetFrameCornerFlags takes framehandle whichFrame, integer backdropId returns integer
native SetFrameCornerFlags takes framehandle whichFrame, integer backdropId, integer cornerFlag returns nothing
native GetFrameCornerSize takes framehandle whichFrame, integer backdropId returns real
native SetFrameCornerSize takes framehandle whichFrame, integer backdropId, real value returns nothing
native GetFrameBackgroundSize takes framehandle whichFrame, integer backdropId returns real
native SetFrameBackgroundSize takes framehandle whichFrame, integer backdropId, real value returns nothing
native GetFrameBackgroundInsetById takes framehandle whichFrame, integer backdropId, integer insetId returns real
native SetFrameBackgroundInsets takes framehandle whichFrame, integer backdropId, real minX, real minY, real maxX, real maxY returns nothing
native SetFrameBackgroundInsetById takes framehandle whichFrame, integer backdropId, integer insetId, real value returns nothing
native SetFrameBackdropTexture takes framehandle whichFrame, integer textureId, string backgroundTextureFile, boolean allowTransparency, boolean blend, string borderTextureFile, integer borderFlags, boolean isControlBackdrop returns nothing
Спасибо N1ghtSiren за то, что заметил эту проблему.
Спасибо PinkieNecro за то, что заметил эту проблему.
v1.0.28.102
constant integer TEXT_TAG_MAX_SIZE = GetTextTagLimit( ) Original 100 limit raised to 1024, this is subject to change if needed.
constant native GetJassArrayLimit takes nothing returns integer
constant native GetTextTagLimit takes nothing returns integer
native GetCodeByName takes string funcName returns code
native TimerIsPaused takes timer whichTimer returns boolean
native TimerRestart takes timer whichTimer returns nothing
native TimerIsPeriodic takes timer whichTimer returns boolean
native TimerSetPeriodic takes timer whichTimer, boolean isPeriodic returns nothing
native TimerSetRemaining takes timer whichTimer, real remaining returns nothing
native TimerSetTimeout takes timer whichTimer, real timeout returns nothing
native TimerGetCallback takes timer whichTimer returns code
native TimerSetCallback takes timer whichTimer, code whichFunction returns nothing
native GetDoodadModel takes doodad whichDoodad returns string
native SetDoodadModel takes doodad whichDoodad, string whichModel returns nothing
native IsDoodadVisible takes doodad whichDoodad returns boolean
native ShowDoodad takes doodad whichDoodad, boolean isShow returns nothing
native GetLightningSourceX takes lightning whichBolt returns real
native SetLightningSourceX takes lightning whichBolt, real value returns nothing
native GetLightningSourceY takes lightning whichBolt returns real
native SetLightningSourceY takes lightning whichBolt, real value returns nothing
native GetLightningSourceZ takes lightning whichBolt returns real
native SetLightningSourceZ takes lightning whichBolt, real value returns nothing
native GetLightningSourcePositionLocation takes lightning whichBolt returns location
native SetLightningSourcePositionLocation takes lightning whichBolt, location whichLocation returns nothing
native GetLightningTargetX takes lightning whichBolt returns real
native SetLightningTargetX takes lightning whichBolt, real value returns nothing
native GetLightningTargetY takes lightning whichBolt returns real
native SetLightningTargetY takes lightning whichBolt, real value returns nothing
native GetLightningTargetZ takes lightning whichBolt returns real
native SetLightningTargetZ takes lightning whichBolt, real value returns nothing
native GetLightningTargetPositionLocation takes lightning whichBolt returns location
native SetLightningTargetPositionLocation takes lightning whichBolt, location whichLocation returns nothing
native GetLightningScreenX takes lightning whichBolt returns real
native GetLightningScreenY takes lightning whichBolt returns real
native GetLightningColour takes lightning whichBolt returns integer
native GetLightningLength takes lightning whichBolt returns real
native SetLightningLength takes lightning whichBolt, real value returns nothing
native GetLightningNoiseScaling takes lightning whichBolt returns real
native SetLightningNoiseScaling takes lightning whichBolt, real value returns nothing
native GetLightningTextureCoordinates takes lightning whichBolt returns real
native SetLightningTextureCoordinates takes lightning whichBolt, real value returns nothing
native GetLightningDuration takes lightning whichBolt returns real
native SetLightningDuration takes lightning whichBolt, real value returns nothing
native GetLightningTexture takes lightning whichBolt returns string
native SetLightningTexture takes lightning whichBolt, string textureName returns nothing
native GetTextTagScreenX takes texttag whichTextTag returns real
native GetTextTagScreenY takes texttag whichTextTag returns real
native GetImageScreenX takes image whichImage returns real
native GetImageScreenY takes image whichImage returns real
native GetSpecialEffectScreenX takes effect whichEffect returns real
native GetSpecialEffectScreenY takes effect whichEffect returns real
native GetTrackableScreenX takes trackable whichTrackable returns real
native GetTrackableScreenY takes trackable whichTrackable returns real
native GetWidgetScreenX takes widget whichWidget returns real
native GetWidgetScreenY takes widget whichWidget returns real
native GetDestructableScreenX takes destructable whichDestructable returns real
native GetDestructableScreenY takes destructable whichDestructable returns real
native GetItemScreenX takes item whichItem returns real
native GetItemScreenY takes item whichItem returns real
native GetUnitScreenX takes unit whichUnit returns real
native GetUnitScreenY takes unit whichUnit returns real
native GetProjectileScreenX takes projectile whichProjectile returns real
native GetProjectileScreenY takes projectile whichProjectile returns real
native HandleListContainsTypeId takes handlelist whichHandleList, integer typeId returns boolean
native HandleListGetHandleByTypeId takes handlelist whichHandleList, integer typeId, integer index returns handle
native HandleListRemoveEmpty takes handlelist whichHandleList returns integer
Пометка: использование 512 тексттагов никак не повлияло на фпс, однако тесты проведённые на 8192 увенчались 20 средними фпс, потому лимит был установлен в 1024, так как при этом лимите фпс тоже не пострадал.
Пометка: такой проблемы не было на "ванилле".
Пометка: ошибка происходила потому, что UjAPI пытался получать доступ к CGlueManager для перезаписи "версии" и добавлении текста версии UjAPI, но это по итогу происходило на "чёрном" экране.
v1.0.29.104
native GetLightningColourA takes lightning whichBolt returns integer
native GetLightningColourR takes lightning whichBolt returns integer
native GetLightningColourG takes lightning whichBolt returns integer
native GetLightningColourB takes lightning whichBolt returns integer
native SetLightningColour takes lightning whichBolt, integer r, integer g, integer b, integer a returns boolean
native GetLocale takes nothing returns string
native DisplayWarningMessage takes player toPlayer, string message returns nothing
native DisplayTimedWarningMessage takes player toPlayer, real duration, string message returns nothing
native DisplayTopMessage takes player toPlayer, string message returns nothing
native DisplayTimedTopMessage takes player toPlayer, real duration, string message returns nothing
native TextFileGetSizeByPath takes string filePath returns integer
native TextFileGetSize takes textfilehandle whichTextFile returns integer
native CreateDoodad takes integer objectid, real x, real y, real face, real scale, integer variation returns doodad
native CreateDoodadZ takes integer objectid, real x, real y, real z, real face, real scale, integer variation returns doodad
native RemoveDoodad takes doodad whichDoodad returns nothing
native GetDoodadColour takes doodad whichDoodad returns integer
native SetDoodadColour takes doodad whichDoodad, integer colour returns nothing
native SetDoodadVertexColour takes doodad whichDoodad, integer red, integer green, integer blue, integer alpha returns nothing
native GetDoodadScale takes doodad whichDoodad returns real
native SetDoodadScale takes doodad whichDoodad, real facing returns nothing
native GetDoodadX takes doodad whichDoodad returns real
native SetDoodadX takes doodad whichDoodad, real x returns nothing
native GetDoodadY takes doodad whichDoodad returns real
native SetDoodadY takes doodad whichDoodad, real y returns nothing
native GetDoodadZ takes doodad whichDoodad returns real
native SetDoodadZ takes doodad whichDoodad, real z returns nothing
native SetDoodadPosition takes doodad whichDoodad, real x, real y returns nothing
native SetDoodadPositionEx takes doodad whichDoodad, real x, real y, real z returns nothing
native GetDoodadPositionLocation takes doodad whichDoodad returns location
native SetDoodadPositionLocation takes doodad whichDoodad, location whichLocation returns nothing
native GetDoodadScreenX takes doodad whichDoodad returns real
native GetDoodadScreenY takes doodad whichDoodad returns real
native SetDoodadMatrixScale takes doodad whichDoodad, real x, real y, real z returns nothing
native ResetDoodadMatrix takes doodad whichDoodad returns nothing
native SetDoodadOrientationEx takes doodad whichDoodad, real yaw, real pitch, real roll, integer eulerOrder returns nothing
native GetDoodadYaw takes doodad whichDoodad returns real
native SetDoodadYaw takes doodad whichDoodad, real yaw returns nothing
native GetDoodadFacing takes doodad whichDoodad returns real
native SetDoodadFacing takes doodad whichDoodad, real facing returns nothing
native GetDoodadPitch takes doodad whichDoodad returns real
native SetDoodadPitch takes doodad whichDoodad, real pitch returns nothing
native GetDoodadRoll takes doodad whichDoodad returns real
native SetDoodadRoll takes doodad whichDoodad, real roll returns nothing
native SetDoodadOrientation takes doodad whichDoodad, real yaw, real pitch, real roll returns nothing
native GetDoodadModel takes doodad whichDoodad returns string
native SetDoodadModel takes doodad whichDoodad, string whichModel returns nothing
native GetWidgetTypeId takes widget whichWidget returns integer
native GetUnitTarget takes unit whichUnit returns widget
native GetUnitTargetUnit takes unit whichUnit returns unit
native GetUnitTargetItem takes unit whichUnit returns item
native GetUnitTargetDestructable takes unit whichUnit returns destructable
native UnitAttackTarget takes unit whichUnit, widget whichTarget, bool ignoreDistance, boolean isInstant returns nothing ignoreDistance only works if isInstant is set to true.
native UnitAttackTargetPointZ takes unit whichUnit, real x, real y, real z, boolean ignoreDistance, boolean isInstant returns nothing
native UnitAttackTargetPoint takes unit whichUnit, real x, real y, boolean ignoreDistance, boolean isInstant returns nothing
native UnitAttackTargetPointLoc takes unit whichUnit, location whichLocation, boolean ignoreDistance, boolean isInstant returns nothing
native UnitAttackCancel takes unit whichUnit returns boolean
native UnitCancelTimedLife takes unit whichUnit returns nothing
native GetUnitRemainingTimedLife takes unit whichUnit returns real
native SetUnitRemainingTimedLife takes unit whichUnit, real duration returns nothing
native CreateIllusion takes player whichPlayer, integer unitTypeId, real x, real y, real facing returns unit
native CreateIllusionAtLoc takes player whichPlayer, integer unitTypeId, location whichLocation, real facing returns unit
native CreateIllusionFromUnit takes unit whichUnit returns unit
native GetIllusionDamageDealt takes unit whichUnit returns real
native SetIllusionDamageDealt takes unit whichUnit, real multiplier returns nothing
native GetIllusionDamageReceived takes unit whichUnit returns real
native SetIllusionDamageReceived takes unit whichUnit, real multiplier returns nothing
native SetFrameValueEx takes framehandle whichFrame, real value, boolean isFireEvent returns nothing
native GetFrameStepSize takes framehandle whichFrame returns real
Пометка: когда TextFile API работает только в режиме чтения с этими файлами.
Пометка: это возможно исправит авто апдейтер для последующих версий.
v1.0.29.105
v1.0.29.106
v1.0.29.107
Пометка: это происходило потому что UjAPI имело свой код, который позволял включать/выключать быстрое меню, этот код был временно отключён.
Пометка: всё ещё рекомендовано запускать игру через War3.exe для патчей ниже 1.28.
v1.0.30.110
type agentdatafield extends handle
type buffstringfield extends agentdatafield
constant native ConvertBuffStringField takes integer i returns buffstringfield
native EnableUnitInventory takes unit whichUnit, boolean enable returns nothing
native IsUnitInventoryEnabledEx takes unit whichUnit returns boolean
native EnableUnitInventoryEx takes unit whichUnit, boolean enable returns nothing
native EnableUnitMovement takes unit whichUnit, boolean enable returns nothing
native IsUnitMovementEnabledEx takes unit whichUnit returns boolean
native EnableUnitMovementEx takes unit whichUnit, boolean enable returns nothing
native EnableUnitAttack takes unit whichUnit, boolean enable returns nothing
native IsUnitAttackEnabledEx takes unit whichUnit returns boolean
native EnableUnitAttackEx takes unit whichUnit, boolean enable returns nothing
native SetUnitControl takes unit whichUnit, integer flagValue, boolean isSetFlagValue, boolean ismove, boolean isattack, boolean isinventory returns nothing
native SetUnitLocustFlag takes unit whichUnit, integer flag, integer mode returns nothing
native CreateAbility takes integer abilityId returns ability
native SetAbilityOwner takes ability whichAbility, unit whichUnit returns nothing
native GetBuffIntegerField takes buff whichBuff, abilityintegerfield whichField returns integer
native SetBuffIntegerField takes buff whichBuff, abilityintegerfield whichField, integer value returns boolean
native GetBuffBooleanField takes buff whichBuff, abilittybooleanfield whichField returns boolean
native SetBuffBooleanField takes buff whichBuff, abilittybooleanfield whichField, boolean value returns boolean
native GetBuffRealField takes buff whichBuff, abilityrealfield whichField returns real
native SetBuffRealField takes buff whichBuff, abilityrealfield whichField, real value returns boolean
native CreateBuff takes integer buffId returns buff
native SetBuffOwner takes buff whichBuff, unit whichUnit returns nothing
native ResetBuffFieldData takes buff whichBuff returns boolean Acts same as ResetAbilityFieldData, but for buffs.
In very early stages of development, may be unstable for now.
native UnitAddBuff takes unit whichUnit, buff whichBuff returns boolean Does not add duplicates!
native UnitAddBuffEx takes unit whichUnit, buff whichBuff, boolean checkForDuplicates returns boolean
native UnitAddBuffById takes unit whichUnit, integer buffId returns boolean Does not add duplicates!
native UnitAddBuffByIdEx takes unit whichUnit, integer buffId, boolean checkForDuplicates returns boolean
native UnitEnableInventory takes unit whichUnit, boolean enable, boolean ignoreErrorMessages returns nothing
native UnitEnableMovement takes unit whichUnit, boolean enable, boolean ignoreErrorMessages returns nothing
native UnitEnableAttack takes unit whichUnit, boolean enable, boolean ignoreErrorMessages returns nothing
native IsUnitTruesightImmune takes unit whichUnit returns boolean
native CreateBuilding takes player whichPlayer, integer unitTypeId, real x, real y, real facing returns unit
native CreateBuildingEx takes player whichPlayer, integer unitTypeId, real x, real y, real facing, boolean isAutoBuild, boolean workersCanAssist returns unit
native UnitGetConstructionProgress takes unit whichUnit returns real
native UnitGetConstructionRemainingTime takes unit whichUnit returns real
native UnitSetConstructionRemainingTime takes unit whichUnit, real time returns nothing
native UnitGetUpgradeProgress takes unit whichUnit returns real
native UnitGetUpgradeRemainingTime takes unit whichUnit returns real
native UnitSetUpgradeRemainingTime takes unit whichUnit, real time returns nothing
native HandleListGetDoodadCount takes handlelist whichHandleList returns integer
native HandleListGetDoodadByIndex takes handlelist whichHandleList, integer index returns doodad
native HandleListGetFilterDoodad takes nothing returns doodad
native HandleListGetEnumDoodad takes nothing returns doodad
native HandleListEnumDoodadsInRange takes handlelist whichHandleList, real x, real y, real radius, boolexpr filter returns nothing
native HandleListEnumDoodadsInRangeOfLoc takes handlelist whichHandleList, location whichLocation, real radius, boolexpr filter returns nothing
native HandleListEnumDoodadsInRect takes handlelist whichHandleList, rect whichRect, boolexpr filter returns nothing
native HandleListEnumUnitAbilities takes handlelist whichHandleList, unit whichUnit, boolexpr filter returns nothing
native HandleListEnumUnitBuffs takes handlelist whichHandleList, unit whichUnit, boolexpr filter returns nothing
Пометка: это происходило по причине того, что я использовал метод игры "воскрешения" героя, который банально "восстанавливал" пассивные способности, что и вызывало умножение на 2.
Отредактирован Unryze
v1.0.30.111
v1.0.30.112
Пометка: данный метод был использован для теста некоторых баффов, которые требуют кастера, например баффы аур.