---+!! =paraworld.map.UpdateTile= <div style="float: right; margin: 5px; width: 250px; color: #4e5155; background-color: #f0eded; border: #ccc 1px solid; padding: 5px"> *Contents* %TOC% </div> ---++ Description 修改指定的Tile ---++ Parameters |*Required*|*Name*|*Type*|*Description*| |<font color="#4682b4">required</font>|sessionKey|%BLUE%string%ENDCOLOR%|用户凭证。在对Tile进行修改时必须登录| |^|tileID|%BLUE%int%ENDCOLOR%|需要被修改的Tile的ID| |optional|tileName|%BLUE%string%ENDCOLOR%|被修改的Tile的名称| |^|z|%BLUE%double%ENDCOLOR%|将Z坐标修改为此值| |^|ownerUserID|%BLUE%string%ENDCOLOR%|将此Tile的所有者修改为此用户ID| |^|tileType|%BLUE%int%ENDCOLOR%|将此Tile的土地类型修改为此值。1.出售;2.出租;3.公共;4. 未开放;5.静态| |^|terrainType|%BLUE%int%ENDCOLOR%|将此Tile的地形类型修改为此值。1.; 2.; 3.; 4. ; 5.| |^|texture|%BLUE%string%ENDCOLOR%|将此Tile的地形纹理修改为此值。| |^|rotation|%BLUE%double%ENDCOLOR%|将此Tile的土地旋转角度修改为此值。| |^|price|%BLUE%double%ENDCOLOR%|将此Tile的价格修改为此值。| |^|rentPrice|%BLUE%double%ENDCOLOR%|将此Tile的月租修改为此值。| |^|ranking|%BLUE%int%ENDCOLOR%|将此Tile的级别修改为此值。| |^|models|%BLUE%string%ENDCOLOR%|将此Tile的模型集合修改为此值。格式为:ModelID,位置,朝向,X偏移量,Y偏移量; ModelID,位置,朝向,X偏移量,Y偏移量| |^|cityName|%BLUE%string%ENDCOLOR%|将此Tile所属的城市修改为此值。| |^|ageGroup|%BLUE%int%ENDCOLOR%|将此Tile的EPRS级别修改为此值。| |^|communityID|%BLUE%int%ENDCOLOR%|将此Tile所属社团的ID修改为此值。| ---++ Example Return XML <verbatim> <msg xmlns=""> <isSucceed type="boolean">True</isSucceed> <info type="string" /> </msg> </verbatim> ---++ Error Codes 当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。0:无异常 500:未知错误 499:提供的数据不完整 498:非法的访问 497:数据不存在或已被删除 496:未登录 ---++ Test Cases ---+++!! case 1 Input: <verbatim> { ["price"]=200, ["tileID"]=339, ["ranking"]=3, } </verbatim> _Result_: <verbatim> { ["isSucceed"]=true, ["info"]="", } </verbatim>
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2008-05-30
-
CaoYF
Home
Site map
CCWeb web
HaqiTeen web
Main web
ParaEngine web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
导航页WebTopMenu
Preferences
开发指南
Getting Started
ParacraftSDK
NPL
MCML
NPL Reference Manual
美术Mod
Account
Log In
English
简体中文
簡體中文
E
dit
A
ttach
Copyright © 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