paraworld.map.UpdateTile

Description

修改指定的Tile

Parameters

Required Name TypeSorted ascending Description
optional z double 将Z坐标修改为此值
optional rotation double 将此Tile的土地旋转角度修改为此值。
optional price double 将此Tile的价格修改为此值。
optional rentPrice double 将此Tile的月租修改为此值。
required tileID int 需要被修改的Tile的ID
optional tileType int 将此Tile的土地类型修改为此值。1.出售;2.出租;3.公共;4. 未开放;5.静态
optional terrainType int 将此Tile的地形类型修改为此值。1.; 2.; 3.; 4. ; 5.
optional ranking int 将此Tile的级别修改为此值。
optional ageGroup int 将此Tile的EPRS级别修改为此值。
optional communityID int 将此Tile所属社团的ID修改为此值。
required sessionKey string 用户凭证。在对Tile进行修改时必须登录
optional tileName string 被修改的Tile的名称
optional ownerUserID string 将此Tile的所有者修改为此用户ID
optional texture string 将此Tile的地形纹理修改为此值。
optional models string 将此Tile的模型集合修改为此值。格式为:ModelID,位置,朝向,X偏移量,Y偏移量; ModelID,位置,朝向,X偏移量,Y偏移量
optional cityName string 将此Tile所属的城市修改为此值。

Example Return XML

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

Error Codes

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

Test Cases

case 1

Input:

{

        ["price"]=200,

        ["tileID"]=339,

        ["ranking"]=3,

}

Result:

{

       ["isSucceed"]=true,

       ["info"]="",

}
Topic revision: r2 - 2008-05-30 - 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