
[DzAPI_Map_SaveServerArchive]
title = "保存服务器存档（区分大小写）"
description = "保存服务器存档（区分大小写） 玩家 ${player} 名称 ${key} 值 ${value}"
comment = "用将变量存储到服务器，存档变量Key区分大小写。"
category = TC_DZAPI
[[.args]]
type = player
default = GetTriggerPlayer
[[.args]]
type = string
default = "Key"
[[.args]]
type = string
default = "value"

[DzAPI_Map_StoreIntegerEX]
title = "服务器存储整数（区分大小写）"
description = "服务器存储整数（区分大小写） 玩家 ${player} 名称 ${key} 值 ${value}"
comment = "这是经过封装的接口，实际Key会在原Key前面加”I”，与普通存档共用KEY"
category = TC_DZAPI
[[.args]]
type = player
default = GetTriggerPlayer
[[.args]]
type = string
default = "IKey"
[[.args]]
type = integer
default = "0"

[DzAPI_Map_StoreStringEX]
title = "服务器存储字符串（区分大小写）"
description = "服务器存储字符串（区分大小写） 玩家 ${player} 名称 ${key} 值 ${value}"
comment = "这是经过封装的接口，实际Key会在原Key前面加”S”，与普通存档共用KEY"
category = TC_DZAPI
[[.args]]
type = player
default = GetTriggerPlayer
[[.args]]
type = string
default = "SKey"
[[.args]]
type = string
default = "value"

[DzAPI_Map_EnablePlatformSettings]
title = "开启/关闭游戏内辅助功能"
description = "设置 ${player} 的 ${option} 号平台功能为 ${enable}"
comment = "地图可以根据自身特点，强制打开或关闭视距调整、显示血条/蓝条、智能施法功能。1号功能为锁定镜头距离，2号功能为显示血、蓝条"
category = TC_DZAPI
[[.args]]
type = player
default = GetTriggerPlayer
[[.args]]
type = platformFunction
default = platformFunction_1
[[.args]]
type = optionEnable
default = optionEnable_Disable

[DzAPI_Map_Stat_SetStat]
title = "上报房间内显示的数据"
description = "设置 ${whichPlayer} 房间的 ${key} 项目显示 ${value} "
comment = "作者可以将游戏内的关键数值或结果上报给平台，用于在平台游戏房间内展示以方便玩家相互快速了解实力，数据上报后需在开发者平台进行配置后才能展示出来。比如：比如获得MVP次数、最高通关难度等。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string

[DzAPI_Map_Ladder_SubmitBooleanData]
title = "天梯提交布尔值数据"
description = "提交 ${whichPlayer} 天梯项目: ${key} 的目的 ${value} "
comment = ""
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = completionoption

[DzAPI_Map_Ladder_SetStat]
title = "天梯提交字符串数据"
description = "提交 ${whichPlayer} 天梯项目: ${key} 的值为: ${value} "
comment = ""
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string

[DzAPI_Map_Ladder_SubmitIntegerData]
title = "天梯提交整数数据"
description = "提交 ${whichPlayer} 天梯项目: ${key} 的值为: ${value} "
comment = ""
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = integer

[DzAPI_Map_Stat_SubmitUnitIdData]
title = "天梯提交单位类型数据"
description = "提高 ${whichPlayer} 天梯项目: ${key} 的值为: ${value} "
comment = ""
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = unitcode

[DzAPI_Map_Ladder_SubmitAblityIdData]
title = "天梯提交技能数据"
description = "提交 ${whichPlayer} 天梯项目: ${key} 的值为: ${value} "
comment = ""
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = abilcode

[DzAPI_Map_Ladder_SubmitItemIdData]
title = "天梯提交物品数据"
description = "提交 ${whichPlayer} 天梯项目: ${key} 的值为: ${value} "
comment = ""
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = itemcode

[DzAPI_Map_Ladder_SubmitTitle]
title = "天梯提交获得称号"
description = "提交 ${whichPlayer} 获得称号: ${key} "
comment = ""
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string

[DzAPI_Map_Ladder_SubmitPlayerRank]
title = "天梯提交玩家排名"
description = "设置 ${whichPlayer} 的游戏排名为: ${value} "
comment = ""
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = integer

[DzAPI_Map_Ladder_SubmitPlayerExtraExp]
title = "天梯设置玩家额外分"
description = "设置 ${whichPlayer} 的额外分为 ${value} "
comment = "最多30分"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = integer

[DzAPI_Map_SaveServerValue]
title = "保存服务器存档"
description = " ${玩家} 保存存档[ ${存档名称} ][ ${存档内容} ]最大长度64位"
comment = "保存服务器存档"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string

[DzAPI_Map_StoreBoolean]
title = "保存布尔值变量至服务器"
description = "服务器存档:存储 ${whichPlayer} 数据,名称: ${key} ,值: ${value} 最大长度63位"
comment = "这是经过封装的接口，实际Key会在原Key前面加”B，（如您的key是AA，实际key为BAA。【BAA用于开发者平台填写，在编辑器上获取和读都填写AA就可以了】）”"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = boolean

[DzAPI_Map_StoreInteger]
title = "保存整数变量至服务器"
description = "服务器存档:存储 ${whichPlayer} 数据,名称： ${key} ,值: ${value} 最大长度63位"
comment = "这是经过封装的接口，实际Key会在原Key前面加”I,（如您的key是AA，实际key为IAA。【IAA用于开发者平台填写，在编辑器上获取和读都填写AA就可以了】）”"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = integer

[DzAPI_Map_StoreReal]
title = "保存实数变量至服务器"
description = "服务器存档:存储 ${whichPlayer} 数据,名称： ${key} ,值: ${value} 最大长度63位"
comment = "这是经过封装的接口，实际Key会在原Key前面加”R,（如您的key是AA，实际key为RAA。【RAA用于开发者平台填写，在编辑器上获取和读都填写AA就可以了】”"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = real

[DzAPI_Map_StoreString]
title = "保存字符串变量至服务器"
description = "服务器存档:存储 ${whichPlayer} 数据,名称: ${key} ,值: ${value} 最大长度63位"
comment = "这是经过封装的接口，实际Key会在原Key前面加”S,（如您的key是AA，实际key为SAA。【SAA用于开发者平台填写，在编辑器上获取和读都填写AA就可以了】”"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string

[DzAPI_Map_StoreUnitType]
title = "服务器存储单位类型"
description = "服务器存档:存储 ${whichPlayer} 数据,名称： ${key} ,值: ${value} 最大长度63位"
comment = "这是经过封装的接口，实际Key会在原Key前面加”I”"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = unitcode

scriptname = DzAPI_Map_StoreInteger
[DzAPI_Map_StoreAbilityId]
title = "服务器存储技能Id"
description = "服务器存档:存储 ${} 数据,名称： ${} ,值: ${} "
comment = "这是经过封装的接口，实际Key会在原Key前面加”I”"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = abilcode

scriptname = DzAPI_Map_StoreInteger
[DzAPI_Map_FlushStoredMission]
title = "清理服务器数据"
description = "服务器数据：清理 ${whichPlayer} 数据,名称： ${key} "
comment = "清理封装的接口记得在前面加对应的B、I、R、S"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string

[DzAPI_Map_OrpgTrigger]
title = "触发BOSS击杀"
description = "设置 ${whichPlayer} 触发击杀 ${bosskey} "
comment = "告知平台服务器游戏内发生了BOSS击杀，请求平台服务器计算BOSS掉落内容。触发之后用[DzAPI_Map_GetServerArchiveEquip]和[DzAPI_Map_GetServerArchiveDrop]读取"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string

[DzAPI_Map_SavePublicArchive]
title = "保存服务器存档组"
description = "在服务器存档组:存储 ${whichPlayer} 数据,名称： ${key} ,值: ${value} "
comment = "将变量保存到当前作者账号下的服务器存档组中。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string

[DzAPI_Map_Global_StoreString]
title = "保存全局存档"
description = "在全局存档 ${key} ,存储值: ${value} "
comment = "将变量数据存储到平台服务器上的全局存档中，保存时会受到开发者平台所配置的保存规则限制。保存成功后本局游戏及同一时间正在进行的其他游戏局内的所有玩家都会收到全局存档变化事件的事件广播。"
category = TC_DZAPI
[[.args]]
type = string
[[.args]]
type = string

[DzAPI_Map_UseConsumablesItem]
title = "使用地图商城道具（局数型）"
description = "设置该局消耗 ${whichPlayer} 地图商城道具： ${key} 一个"
comment = "扣减玩家背包中的局数型道具1个，多次对同一个道具调用也只扣减1次。需先通过获取道具剩余数量确保玩家背包中的道具剩余数量大于0。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string

[DzAPI_Map_ConsumeMallItem]
title = "使用地图商城道具（数量型）"
description = "设置 ${whichPlayer} 使用地图商城道具 ${key}  ${数量} 个"
comment = "扣减玩家地图商城中的数量消耗型道具，可以多次调用。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = integer

[DzAPI_Map_Statistics]
title = "上报埋点数据"
description = "上报埋点数据： ${whichPlayer} ，埋点key： ${eventKey} ，子key： ${不填} ，次数 ${value} "
comment = "可以在游戏内的关键行为操作进行埋点，以便进行游戏内的玩家行为数据统计分析（比如某个英雄选择次数），上报前需先在开发者平台创建埋点。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string
[[.args]]
type = integer

[DzAPI_Map_OpenMall]
title = "打开地图商城道具购买界面"
description = " ${whichPlayer} 打开地图商城道具 ${道具key} 购买界面"
comment = "打开游戏内置商城的道具购买页面，用于作者在地图内开发引导消费场景。购买成功后可通过玩家获得平台道具事件实现在游戏内立即生效。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string

[DzAPI_Map_GameResult_CommitData]
title = "上报本局游戏玩家数据"
description = "上报本局游戏： ${whichPlayer} 项目： ${key} 数据： ${value} "
comment = "上报本局游戏的玩家数据，比如战斗力、杀敌数等。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string

[DzAPI_Map_GameResult_CommitTitle]
title = "上报本局游戏玩家称号"
description = "上报本局游戏： ${whichPlayer} 称号： ${key} "
comment = "上报本局游戏玩家所获得的称号，请注意**称号Key**不能和[上报本局游戏玩家数据]的**数据项Key**重复。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string

[DzAPI_Map_GameResult_CommitGameMode]
title = "上报本局游戏模式"
description = "上报本局游戏模式： ${模式名} "
comment = "上报本局游戏所选择的地图模式名称。"
category = TC_DZAPI
[[.args]]
type = string

[DzAPI_Map_GameResult_CommitGameResult]
title = "上报本局游戏结果"
description = "上报本局游戏结果： ${whichPlayer}  ${value} "
comment = "上报本局游戏玩家游戏结果（胜负），提交后会立即结束游戏。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = winorfail

[DzAPI_Map_GameResult_CommitGameResultNoEnd]
title = "上报本局游戏结果（不结束游戏）"
description = "上报本局游戏结果： ${whichPlayer}  ${value} [不结束游戏]"
comment = "上报本局游戏玩家游戏结果（胜负），提交后不会立即结束游戏，适用于游戏正常结束后还有奖励关的地图。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = winorfail

[DzAPI_Map_GameResult_CommitPlayerRank]
title = "上报本局游戏玩家排名"
description = "上报本局游戏 ${whichPlayer} 的排名为： ${value} "
comment = "对于乱斗模式的地图，上报每一名玩家的名次。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = integer

[DzAPI_Map_QuickBuy]
title = "使用U币快速购买地图商城道具"
description = "向 ${whichPlayer} 弹出商品 ${key} 的购买窗口，购买数量 ${数量} 窗口持续时间 ${时间} 秒"
comment = "弹出提示框询问玩家是否使用U币直接购买指定道具，作者需已在商城上架对应商品（商品信息中的**道具和数量**与接口所请求的参数一致）。如果前一次购买的提示框未关闭的情况下再次调用此接口，后续请求无效。购买成功后可通过[玩家获得平台道具事件]实现在游戏内立即生效。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = integer
[[.args]]
type = integer

[DzAPI_Map_CancelQuickBuy]
title = "关闭U币快速购买界面"
description = "关闭 ${whichPlayer} U币快速购买窗口"
comment = "关闭最后一次打开的U币快速购买窗口，结合打开U币快速购买窗口使用。"
category = TC_DZAPI
[[.args]]
type = player

[KKApiRequestBackendLogic]
title = "【随机只读存档】生成随机数"
description = "设置 ${whichPlayer} 对随机只读存档 ${key} 的组 ${groupkey} 生成随机数"
comment = "生成一个服务器随机数并关联组ID，可以在开发者平台对组ID进行防刷分管理，同组ID下各个Key共享CD和次数。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string

[KKApiRemoveBackendLogicResult]
title = "【随机只读存档】删除随机数"
description = "删除 ${whichPlayer} 随机只读存档 ${key} 的随机数"
comment = "删除指定KEY生成的服务器生成的随机数"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string

[KKApiInitializeGameKey]
title = "初始化平台键位显示设置"
description = "设置 ${whichPlayer} 的第 ${n} 套方案的键位： ${key} 设置描述： ${描述} "
comment = "初始化键位设置会显示在平台改键界面上，最多2套方案。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = integer
[[.args]]
type = string
[[.args]]
type = string

[KKApiBeginBatchSaveArchive]
title = "【批量存档】开始保存"
description = " ${whichPlayer} 开始批量保存存档"
comment = "对添加批量保存存档条目进行保存。"
category = TC_DZAPI
[[.args]]
type = player

[KKApiAddBatchSaveArchive]
title = "【批量存档】添加条目"
description = "设置 ${whichPlayer} 批量存档添加条目 ${key} ，数据： ${value} ， ${caseInsensitive} 区分大小写"
comment = "对添加批量保存存档条目进行保存。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string
[[.args]]
type = boolean

[KKApiAddBatchSaveArchiveInteger]
title = "【批量存档】添加条目-整数"
description = "设置 ${whichPlayer} 批量存档添加条目 ${key} ，数据： ${value}"
comment = "对添加批量保存存档条目进行保存。KEY不区分大小写"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = integer
default = "0"

[KKApiAddBatchSaveArchiveReal]
title = "【批量存档】添加条目-实数"
description = "设置 ${whichPlayer} 批量存档添加条目 ${key} ，数据： ${value}"
comment = "对添加批量保存存档条目进行保存。KEY不区分大小写"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = real

[KKApiAddBatchSaveArchiveBoolean]
title = "【批量存档】添加条目-布尔值"
description = "设置 ${whichPlayer} 批量存档添加条目 ${key} ，数据： ${value}"
comment = "对添加批量保存存档条目进行保存。KEY不区分大小写"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = boolean

[KKApiAddBatchSaveArchiveString]
title = "【批量存档】添加条目-字符串"
description = "设置 ${whichPlayer} 批量存档添加条目 ${key} ，数据： ${value}"
comment = "对添加批量保存存档条目进行保存。KEY不区分大小写"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string

[KKApiEndBatchSaveArchive]
title = "【批量存档】结束保存"
description = "设置 ${whichPlayer}  ${abandon} 结束批量保存存档"
comment = "结束批量保存存档。"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = boolean

[KKApiMlScriptEvent]
title = "发送云脚本数据"
description = "发送云脚本数据 ${玩家}  ${事件}  ${数据} "
comment = "发送云脚本数据"
category = TC_DZAPI
[[.args]]
type = player
[[.args]]
type = string
[[.args]]
type = string

