paraworld.map.PublishWorld

Description

发布(即新增)一个World

Parameters

Required NameSorted ascending Type Description
optional ageGroup string ESRP
optional desc string 对世界的描述
optional gameData string GSL游戏内容
optional gameServer string 游戏服务器IP或URL
optional gsl string 精简游戏服务器地址
optional jabberGSL string 用“;”分隔的Jabber精简游戏服务器地址
optional log string 日志
required name string 世界名称
optional price string 价格
required sessionKey string 用户凭证。
optional spaceServer string 空间服务器
optional version string 引擎版本

Example Return XML

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

Error Codes

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

Test Cases

case 1

Input:

{

        ["desc"]="this is a test world.",

        ["name"]="test world",

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

}

Result:

{

       ["isSuccess"]=true,

}
Topic revision: r1 - 2008-06-04 - 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