paraworld.bag.DestroyItem

Description

当前登录用户销毁其拥有的物品(每次只能销毁一种物品)

Parameters

Required Name Type Description
required sessionKey string 用户凭证。
bagID int 背包ID
itemID int 物品ID
Cnt int 销毁数量
optional format int 返回的数据格式(0:XML 1:JSON),默认值为0

Example Return XML

<msg xmlns="">
        <isSuccess type="boolean">True</isSuccess>
</msg>

Example Return JSON

{"isSuccess":true}

Error Codes

当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。

查看完整的Error Code

Test Cases

case 1

Input:

{

        

}

Result:

{

}
Topic revision: r1 - 2009-02-06 - CaoYF
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback