paraworld.map.UpdateModel

Description

修改指定的Model

Parameters

Required Name TypeSorted ascending Description
optional allowEdit boolean 是否允许编辑
optional price2StartTime datetime 特价开始时间
optional price2EndTime datetime 特价结束时间
optional price decimal 价格
optional price2 decimal 特价或促销价
required modelID int 被修改的Model的ID
optional modelType int MODEL类型
optional manufacturerType int 1:ParaEngine, 2: 玩家 3:第三方生产商
required sessionKey string 用户凭证。
optional picURL string 图片URL
optional manufacturerID string 生产商ID
optional manufacturerName string 生产商名称
optional ownerUserID string 所有者的用户ID
optional ownerUserName string 所有者的用户名
optional version string 版本
optional modelPath string MODEL地址
optional texturePath string Texture地址
optional package string
optional 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