|
发表于 2011-5-5 21:50:40
|
显示全部楼层
[codes=galaxy]
native void DialogControlSetPropertyAsText (int control, int property, playergroup players, text value);
native void DialogControlSetPropertyAsString (int control, int property, playergroup players, string value);
native void DialogControlSetPropertyAsInt (int control, int property, playergroup players, int value);
native void DialogControlSetPropertyAsFixed (int control, int property, playergroup players, fixed value);
native void DialogControlSetPropertyAsBool (int control, int property, playergroup players, bool value);
native void DialogControlSetPropertyAsColor (int control, int property, playergroup players, color value);
native void DialogControlSetPropertyAsControl (int control, int property, playergroup players, int value);
[/codes]
注意这所有的api第三个参数是“玩家组”类型的,所以你如果要只对某一个玩家进行修改的话,使用PlayerGroupSingle()生成一个玩家组就可以了。 |
|