📔
📔
📔
📔
TerraCraft
Search…
⌃K
📔
📔
📔
📔
TerraCraft
Search…
⌃K
TerraCraft
English
简体中文(旧版教程)
模组文档
Engine API
Game API
Attack
ArrayList<T>
EffectUtils
Entity
LightingUtils
ModNpc
ModProjectile
Npc : Entity
NpcUtils
Projectile : Entity
ProjectileUtils
Reg
SoundUtils
Utils
模组API文档
模组开发官方教程
模组数据表文档
新版教程
1 基础部分
Powered By
GitBook
ArrayList<T>
数组,封装自std::vector<T>,一般用于返回值。
属性
属性
int length
【只读】
数组长度。
T [index] 读取或写入指定下标的数组元素。index有效区间为[1, length]。
使用
for
i
=
1
,
arrayList
.
length
do
local
element
=
arrayList
[
i
]
-- do something on this element
end
Previous
Attack
Next
EffectUtils
Last modified
1yr ago