setWorkInt
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>int item</title>
</head>
<body>
<p><font color="#0000FF">int</font><font color="darkorange"> </font>
<font color="#00FF00"> item</font>.<font color="#FF8C00">setWorkInt</font>(<font color="blue">int</font>
索引, <font color="blue">char</font>*(<font color="blue">int</font>) 字段,
<font color="blue">int</font> 新数据)</p>
<p><strong>函数功能:</strong></p>
<p><font color="darkgreen">设置一个整型道具临时数据</font></p>
<p><strong>参数说明:</strong></p>
<table border="1" width="37%" id="table1">
<tr>
<td width="152">索引</td>
<td width="157">[整型]</td>
<td>道具的索引号</td>
</tr>
<tr>
<td width="152">字段</td>
<td width="157">[整型]或[字符型]</td>
<td>获取数据的位置编号</td>
</tr>
<tr>
<td width="152">新数据</td>
<td width="157">[整型]</td>
<td>为字段设置一个新的值</td>
</tr>
</table>
<p><strong>返回值:</strong></p>
<p>返回
整型数据</a></p>
<p><strong>使用例子:</strong></p>
<p><font color="#008000">--把该物品设置属于玩家charaindex的</font><br>
size = <font color="#00FF00">item</font>.<font color="#FF8C00">setWorkInt</font>(itemindex,
"玩家", charaindex)</p>
<p><strong>参数说明:</strong></p>
<p>字段可以使用数字编号0~?,也可使用中文字段,建议使用中文,提供的中文字段如下:</p>
<p>对象<br>
玩家</p>
<p> </p>
</body>
</html>