paraworld.map.AddModel

Description

修改指定的Tile

Parameters

Required Name Type Description
required sessionKey string 用户凭证。
tileID int 需要被修改的Tile的ID
optional x double 将X坐标修改为此值
y double 将Y坐标修改为此值
z double 将Z坐标修改为此值

Example Return XML

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

Error Codes

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

查看完整的Error Code

Test Cases

case 1

Input:

{

        ["price"]=200,

        ["tileID"]=339,

        ["ranking"]=3,

}

Result:

{

       ["isSuccess"]=true,

       ["info"]="",

}
Topic revision: r1 - 2008-09-10 - CaoYF
 
  • Edit
  • Attach
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