paraworld.map.UpdateModel

Description

修改指定的Model

Parameters

Required Name Type Description
required sessionKey string 用户凭证。
modelID int 被修改的Model的ID
optional modelType int MODEL类型
picURL string 图片URL
manufacturerType int 1:ParaEngine, 2: 玩家 3:第三方生产商
manufacturerID string 生产商ID
manufacturerName string 生产商名称
price decimal 价格
price2 decimal 特价或促销价
price2StartTime datetime 特价开始时间
price2EndTime datetime 特价结束时间
ownerUserID string 所有者的用户ID
ownerUserName string 所有者的用户名
version string 版本
modelPath string MODEL地址
texturePath string Texture地址
package string
allowEdit boolean 是否允许编辑
directions string 该模型的朝向集合,0为东,1为东南,2为南,3为西南,以此类推。每个朝向之间以英文逗号“,”分隔

Example Return XML

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

Error Codes

查看完整的Error Code

Test Cases

case 1

Input:

{

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

        ["modelType"]=1,

        ["picURL"]=PIC URL,

        ["manufacturerType"]=1,

        ["modelPath"]=MODEL PATH,

        ["texturePath"]=TEXTUREPATH,

}

Result:

{

       ["isSucceed"]=true,

       ["info"]="",

}
Topic revision: r1 - 2008-09-11 - 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