paraworld.map.RemoveWorld

Description

删除指定的World。只有该World的所有者和Paraworld管理者有权限调用此功能。

Parameters

Required NameSorted ascending Type Description
optional format int 返回的数据格式(0:XML 1:JSON),默认值为0
required sessionKey string 用户凭证。
required worldID int 要删除的World的ID

Example Return XML

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

Example Return JSON

{"isSuccess":"true"}

Error Codes

当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。0:无异常 500:未知错误 499:提供的数据不完整 498:非法的访问 497:数据不存在或已被删除 496:未登录

Test Cases

case 1

Input:

{

        ["worldID"]="1",

        ["sessionKey"]="6ea1ce24-bdf7-4893-a053-eb5fd2a74281",

}

Result:

{

       ["isSuccess"]=true,

       ["info"]="",

}
Topic revision: r2 - 2008-12-10 - 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