仙魔无双SDK
面向策划逻辑制作的游戏开发包
|
移除道具的操作 更多...
函数 | |
int | RemoveItemFromActor (FxCreature *pActor, unsigned long nItemID, unsigned long nCount=1) |
从角色pActor身上移除nItemID的道具,nCount个。 更多... | |
移除道具的操作
int RemoveItemFromActor | ( | FxCreature * | pActor, |
unsigned long | nItemID, | ||
unsigned long | nCount = 1 |
||
) |
从角色pActor身上移除nItemID的道具,nCount个。
pActor | [角色] 角色对象。 |
nItemID | [整数] 要添加的道具 |
nCount | [整数] 个数,默认1 |