paraworld.map.JoinWorld

Description

某用户加入指定的World,即成为此World的一个成员

Parameters

Required Name Type Description
required sessionKey string 用户凭证。
worldID int 世界ID
optional format int 返回的数据格式(0:XML 1:JSON),默认值为0

Example Return XML

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

Example Return JSON

{"isSuccess":"true"}

Error Codes

当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。

查看完整的Error Code

Test Cases

case 1

Input:

{

        ["sessionKey"]="a392e773-6456-4083-ab9a-4e23c1653662",

        ["worldID"]=8,

}

Result:

{

       ["isSuccess"]=true,

}
Topic revision: r2 - 2008-12-10 - CaoYF
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback