﻿[DzDestructablePosition]
title = "Set the location of the destructible [BZAPI]"
description = "Set ${destructible} coordinates is (${x}, ${y})"
comment = ""
category = TC_DESTRUCT
[[.args]]
type = destructable
[[.args]]
type = real
default = 0
[[.args]]
type = real
default = 0

[DzSetUnitPosition]
title = "Set unit location - Local call [BZAPI]"
description = "Set ${unit} coordinates is (${x}, ${y})"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = real
default = 0
[[.args]]
type = real
default = 0

[DzSetUnitTexture]
title = "Replace unit stickers [BZAPI]"
description = "Replace ${unit} stickers:${path} TexId:${texId})"
comment = "Only the model with Replaceable ID x texture in the model can be replaced, and the ID is the index. Will not replace the model in the big avatar"
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = string
[[.args]]
type = integer

[DzSetUnitModel]
title = "Replace unit model [BZAPI]"
description = "Replace ${unit} model:${path}"
comment = "Will not replace the model in the big avatar"
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = string

[DzSetUnitID]
title = "Replace unit type [BZAPI]"
description = "Replace ${unit} unit type is:${type}"
comment = "Will not replace the model in the big avatar"
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = unitcode
default = 'hfoo'

[DzSetMousePos]
title = "Set mouse coordinates"
description = "Set mouse coordinates is (${x}, ${y})"
comment = ""
category = BZ_HW
[[.args]]
type = integer
[[.args]]
type = integer

[DzSetMemory]
title = "Set memory value"
description = "Set memory date ${address} = ${value}"
comment = ""
category = BZ_HW
[[.args]]
type = integer
[[.args]]
type = real

[DzSyncData]
title = "Sync game data"
description = "Sync label：${prefix}  send date：${data}"
comment = ""
category = BZ_SYNC
[[.args]]
type = string
[[.args]]
type = string

[DzExecuteFunc]
title = "Asynchronous execution function"
description = "Asynchronous execution function ${funcName}"
comment = ""
category = BZ_SYNC
[[.args]]
type = string

[DzFrameSetPoint]
title = "Set relative position"
description = "Set ${frame} ${Point} anchor point (follow Frame-->${relativeFrame} ${relativePoint} anchor point) offset(${x}, ${y})"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = framepoints
default = "FramePoints_Center"
[[.args]]
type = frame
[[.args]]
type = framepoints
default = "FramePoints_Center"
[[.args]]
type = real
default = 0
min = -0.8
max = 0.8
[[.args]]
type = real
default = 0
min = -0.6
max = 0.6

[DzFrameSetAbsolutePoint]
title = "Set absolute position"
description = "Set ${frame} ${Point} anchor point at (${x}, ${y})"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = framepoints
default = "FramePoints_Center"
[[.args]]
type = real
default = 0
min = -0.8
max = 0.8
[[.args]]
type = real
default = 0
min = -0.6
max = 0.6

[DzFrameSetAllPoints]
title = "Move all anchor points to Frame"
description = "Move ${frame} all anchor points to ${frame}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = frame

[DzFrameSetScale]
title = "Set zoom"
description = "Set ${frame} zoom ${scale}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = real
default = 1

[DzFrameSetSize]
title = "Set size"
description = "Set ${frame} （width ${w} high ${h}）"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = real
default = 0
[[.args]]
type = real
default = 0

[DzFrameSetFocus]
title = "Set focus"
description = "Set ${frame} get focus ${enable}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = boolean
default = "true"

[DzFrameSetText]
title = "Set text"
description = "Set ${frame} text is ${string}"
comment = "(Support EditBox, TextFrame, TextArea, SimpleFontString、GlueEditBoxWar3、SlashChatBox、TimerTextFrame、TextButtonFrame、GlueTextButton)"
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = string

[DzFrameSetTexture]
title = "Set"
description = "Set ${frame} texture is:${texture} whether to tile ${flag}"
comment = "（Support Backdrop、SimpleStatusBar）"
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = imagefile
[[.args]]
type = integer

[DzFrameSetAlpha]
title = "Set transparency(0-255)"
description = "Set ${frame} transparency is ${alpha}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = integer
default = "255"

[DzFrameSetVertexColor]
title = "Set color"
description = "Set ${frame} color ${color}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = integer
default = "DzGetColor"

[DzFrameSetTextSizeLimit]
title = "Set word limit"
description = "Set ${frame} word limit is ${size}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = integer

[DzFrameSetTooltip]
title = "Set tips"
description = "Set ${frame} tips Frame is ${tooltip} "
comment = "Set tooltip"
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = integer

[DzFrameCageMouse]
title = "Limit mouse movement"
description = "Limit mouse ${frame} in: ${enable} "
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = boolean
default = "false"

[DzFrameSetModel]
title = "Set model"
description = "Set ${frame} modelFile is ${modelFile} ModelType:${modelType} Flag:${flag}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = string
[[.args]]
type = integer
default = "0"
[[.args]]
type = integer
default = "0"

[DzFrameSetAnimate]
title = "Set animation"
description = "Set ${frame} play number ${alpha} animation  autoplay:${autocast}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = integer
default = "0"
[[.args]]
type = boolean
default = "false"

[DzFrameSetAnimateOffset]
title = "Set animation progress"
description = "Set ${frame} animation progress is:${offset}"
comment = "Auto play is false is available"
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = real
default = "0.5"

[DzFrameSetScript]
title = "Register UI event callback(func name)"
description = "Register ${frame} ${event type} event run:${func name} whether synchronized:${sync}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = frameevent
[[.args]]
type = string
[[.args]]
type = boolean
default = "true"

[DzFrameSetScriptByCode]
title = "Register UI event callback(func handle)"
description = "Register ${frame} ${event type} event run:${code handle} whether synchronized:${sync}"
comment = "Need to turn on synchronization when running triggers"
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = frameevent
[[.args]]
type = code
[[.args]]
type = boolean
default = "true"

[DzClickFrame]
title = "click"
description = "click ${frame}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame

[DzFrameClearAllPoints]
title = "Clear all anchors"
description = "Clear ${frame} all anchors"
comment = ""
category = BZ_GUI
[[.args]]
type = frame

[DzFrameSetMinMaxValue]
title = "Set max/min value"
description = "Set ${frame} minimum value is ${Min} maximum value is ${Max}"
comment = "（Support Slider、SimpleStatusBar、StatusBar）"
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[DzFrameSetStepValue]
title = "Set step value"
description = "Set ${frame} step value is ${step}"
comment = "（Support Slider）"
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = real
default = "0"

[DzFrameSetValue]
title = "Set current value"
description = "Set ${frame} current value is ${value}"
comment = "（Support Slider、SimpleStatusBar、StatusBar）"
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = real
default = "0"

[DzFrameSetEnable]
title = "Enable/Disable"
description = "Set ${frame} Enable:${bottomHeight}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = boolean
default = "false"

[DzFrameShow]
title = "Display/Hide"
description = "Set ${frame} Display:${bottomHeight}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = boolean
default = "false"

[DzFrameSetPriority]
title = "Set priority [NEW]"
description = "Set ${frame} priority:${int}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = integer

[DzFrameSetParent]
title = "Set the parent window [NEW]"
description = "Set ${frame} parent window is ${frame2}"
comment = ""
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = frame

[DzFrameSetFont]
title = "Set font [NEW]"
description = "Set ${frame} font is ${font}, size ${height}, flag ${flag}"
comment = "Support EditBox、SimpleFontString、SimpleMessageFrame and not SimpleFrame type, such as TEXT，flag function unknown"
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = string
[[.args]]
type = real
[[.args]]
type = integer

[DzFrameSetTextAlignment]
title = "Set alignment [NEW]"
description = "Set ${frame} alignment is ${align}"
comment = "Support TextFrame、SimpleFontString、SimpleMessageFrame"
category = BZ_GUI
[[.args]]
type = frame
[[.args]]
type = integer

[DzDestroyFrame]
title = "destroy"
description = "destroy ${frame}"
comment = "Destroying a frame that has been created repeatedly will cause the game to crash. If you create a frame with the same name repeatedly, please use Tag to create it."
category = BZ_GUI
[[.args]]
type = frame

[DzLoadToc]
title = "Load Toc file list"
description = "Loading--> ${fileName.toc}"
comment = "Load your own fdf list file"
category = BZ_GUI
[[.args]]
type = anyfile

[DzFrameHideInterface]
title = "Native - Hide interface elements"
description = "Hide all interfaces UI"
comment = "If it is no longer called when the map is initialized, the minimap and clock model will be remained"
category = BZ_GUI

[DzEnableWideScreen]
title = "Native - Use widescreen mode"
description = "Set widescreen mode:${bool}"
comment = ""
category = BZ_GUI
[[.args]]
type = boolean

[DzSetCustomFovFix]
title = "Native - Modify the screen ratio(FOV)"
description = "Modify the screen ratio(FOV):${val}"
comment = ""
category = BZ_GUI
[[.args]]
type = real

[DzFrameEditBlackBorders]
title = "Native - Modify the black border range of the game rendering"
description = "Modify the game rendering black border: upperHeight:${upperHeight} bottomHeight:${bottomHeight}"
comment = ""
category = BZ_GUI
[[.args]]
type = real
default = 0
[[.args]]
type = real
default = 0

[DzSetWar3MapMap]
title = "Native - Set the background texture of the minimap"
description = "Modify the background texture of the minimap to ${bottomHeight}"
comment = ""
category = BZ_GUI
[[.args]]
type = string
default = "war3mapMap.blp"

[DzTriggerRegisterMouseEventMultiple]
title = "registration - Asynchronously register player mouse events"
description = "When player ${player} ${gamekeyaction} ${gamekey}"
comment = "Note that this event will only be executed asynchronously! You'd better know how to use asynchronous before use. This event cannot be cancelled, please do not register again!"
category = BZ_HW
[[.args]]
type = player
default = Player00
[[.args]]
type = gamekeyaction
default = "GameKeyAction_Press"
[[.args]]
type = mousekey
default = "MouseKey_Mouse_Left"

[DzTriggerRegisterKeyEventMultiple]
title = "registration - Asynchronously register player key press events"
description = "When player ${player} ${gamekeyaction} ${gamekey}"
comment = "Note that this event will only be executed asynchronously! You'd better know how to use asynchronous before use. This event cannot be cancelled, please do not register again!"
category = BZ_HW
[[.args]]
type = player
default = Player00
[[.args]]
type = gamekeyaction
default = "GameKeyAction_Press"
[[.args]]
type = gamekey
default = "GameKey_Mouse_Left"

[DzTriggerRegisterMouseWheelEventMultiple]
title = "registration - Asynchronously register player mouse wheel events"
description = "When player ${player} slide the mouse wheel"
comment = "Note that this event will only be executed asynchronously! You'd better know how to use asynchronous before use. This event cannot be cancelled, please do not register again!"
category = BZ_HW
[[.args]]
type = player
default = Player00

[DzTriggerRegisterMouseMoveEventMultiple]
title = "registration - Asynchronously register player mouse movement events"
description = "When player ${player} move the mouse"
comment = "Note that this event will only be executed asynchronously! You'd better know how to use asynchronous before use. This event cannot be cancelled, please do not register again!"
category = BZ_HW
[[.args]]
type = player
default = Player00

[DzTriggerRegisterWindowResizeEventMultiple]
title = "registration - Asynchronously register the player window size change event"
description = "When player ${player} change window size"
comment = "Note that this event will only be executed asynchronously! It will be executed frequently when the player drags the window size! This event cannot be cancelled, please do not register again!"
category = BZ_HW
[[.args]]
type = player
default = Player00

[DzFrameSetUpdateCallbackMultiple]
title = "registration - Asynchronously registered player interface update callback"
description = "When player ${player} draw every frame"
comment = "Note that this event will only be executed asynchronously! The frame interval is unstable, and the execution interval is also different! This event cannot be cancelled, please do not register again!"
category = BZ_HW
[[.args]]
type = player
default = Player00

[DzFrameSetScriptMultiple]
title = "registration - Asynchronously register Frame callback events"
description = "When player ${player} ${frameevent} ${frame}"
comment = "Note that this event will only be executed asynchronously! You'd better know how to use asynchronous before use. This event cannot be cancelled, please do not register again!"
category = BZ_GUI
[[.args]]
type = player
default = Player00
[[.args]]
type = frameevent
default = "FrameEvent_Evenr_Pressed"
[[.args]]
type = frame