JASS代码翻译更新(第九篇)

本文档详细介绍了JASS中用于从哈希表中提取整数、实数、字符串、玩家、可破坏物、物品、单位、技能等不同数据类型的函数,包括其用途、返回值和可能的默认值,旨在帮助理解JASS哈希表操作。
摘要由CSDN通过智能技术生成

[LoadIntegerBJ]
title = "<1.24> 从哈希表提取整数"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取整数"
comment = "如果不存在则返回0"
category = TC_HASHTABLE
returns = integer
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadInteger]
title = "<1.24> 从哈希表提取整数 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取整数"
comment = "如果不存在则返回0"
category = TC_HASHTABLE
returns = integer
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadRealBJ]
title = "<1.24> 从哈希表提取实数"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取实数"
comment = "如果不存在则返回0.00"
category = TC_HASHTABLE
returns = real
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadReal]
title = "<1.24> 从哈希表提取实数 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取实数"
comment = "如果不存在则返回0.00"
category = TC_HASHTABLE
returns = real
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadStringBJ]
title = "<1.24> 从哈希表提取字符串"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取字符串"
comment = "如果不存在则返回空字符串"
category = TC_HASHTABLE
use_in_event = 0
returns = string
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadStr]
title = "<1.24> 从哈希表提取字符串 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取字符串"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
use_in_event = 0
returns = string
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadPlayerHandleBJ]
title = "<1.24> 从哈希表提取玩家"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取玩家"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = player
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadPlayerHandle]
title = "<1.24> 从哈希表提取玩家 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取玩家"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = player
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadDestructableHandleBJ]
title = "<1.24> 从哈希表提取可破坏物"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取可破坏物"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = destructable
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadDestructableHandle]
title = "<1.24> 从哈希表提取可破坏物 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取可破坏物"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = destructable
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadItemHandleBJ]
title = "<1.24> 从哈希表提取物品"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取物品"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = item
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadItemHandle]
title = "<1.24> 从哈希表提取物品 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取物品"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = item
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadUnitHandleBJ]
title = "<1.24> 从哈希表提取单位"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取单位"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = unit
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadUnitHandle]
title = "<1.24> 从哈希表提取单位 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取单位"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = unit
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[YDWELoadAbilityHandleBJ]
title = "<1.24> 从哈希表提取技能"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取技能"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = abilcode
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[YDWELoadAbilityHandle]
title = "<1.24> 从哈希表提取技能 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取技能"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = abilcode
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadTimerHandleBJ]
title = "<1.24> 从哈希表提取计时器"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取计时器"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = timer
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadTimerHandle]
title = "<1.24> 从哈希表提取计时器 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取计时器"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = timer
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadTriggerHandleBJ]
title = "<1.24> 从哈希表提取触发器"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取触发器"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = trigger
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadTriggerHandle]
title = "<1.24> 从哈希表提取触发器 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取触发器"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = trigger
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadTriggerConditionHandleBJ]
title = "<1.24> 从哈希表提取触发条件"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取触发条件"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = triggercondition
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadTriggerConditionHandle]
title = "<1.24> 从哈希表提取触发条件 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取触发条件"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = triggercondition
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadTriggerActionHandleBJ]
title = "<1.24> 从哈希表提取触发动作"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取触发动作"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = triggeraction
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadTriggerActionHandle]
title = "<1.24> 从哈希表提取触发动作 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取触发动作"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = triggeraction
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadTriggerEventHandleBJ]
title = "<1.24> 从哈希表提取触发事件"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取触发事件"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = event
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCreatedHashtableBJ"

[LoadTriggerEventHandle]
title = "<1.24> 从哈希表提取触发事件 [C]"
description = "在 ${Hashtable} 的主索引 ${Value} 子索引 ${Value} 内提取触发事件"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = event
keynum = 3
type1 = hashtable
default1 = "GetLastCreatedHashtableBJ"
type2 = integer
type3 = integer

[LoadForceHandleBJ]
title = "<1.24> 从哈希表提取玩家组"
description = "在子索引 ${Value} 主索引 ${Value} 的 ${Hashtable} 内提取玩家组"
comment = "如果不存在则返回空"
category = TC_HASHTABLE
returns = force
keynum = 3
type1 = integer
type2 = integer
type3 = hashtable
default3 = "GetLastCr

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值