int battle.getCharOne(int 战斗索引, int 战斗位置)

2019-11-06 10:44:05 石器战报 网站编辑

int battle.getCharOne(int 战斗索引, int 战斗位置)

函数功能:

获取战斗中,某个位置上的人物或宠物的索引

参数说明:

战斗索引        [整型]               战斗的索引,指
战斗位置        [整型]或[字符型]     获取数据的位置编号

返回值:

返回 整型数据

使用例子:

--获取第5个位置上的索引号
charindex = char.getCharOne(battleindex, 5)



最近发表
友情链接
标签列表