paraworld.map.GetMapModelByIDs
Description
依据一组MapModel的ID取出这些MapModel的相关信息
Parameters
Required |
Name |
Type |
Description |
required |
modelIDs |
string |
一组ModelID,示例:<msg><modelIDs><modelID>1</modelID><modelID>2</modelID><modelID>3</modelID></modelIDs></msg> |
Example Return XML
<msg xmlns="">
<param index="1">
<modelID type="int">1</markID>
<modelType type="int">1</markType>
<picURL type="string">URL</markTitle>
<version type="string">1.1.1</markStyle>
</param>
<param index="2">
<modelID type="int">2</markID>
<modelType type="int">1</markType>
<picURL type="string">URL</markTitle>
<version type="string">1.1.1</markStyle>
</param>
</msg>
Error Codes
查看完整的
Error Code
Test Cases
case 1
Input:
{
[modelIDs]={
[1]={
["modelID"] = 1,
},
[2]={
["modelID"] = 2,
},
},
}
Result:
{
[1]={
["modelID"]=1,
["modelType"]=1,
["picURL"]="URL",
["version"]=""1.1.1,
},
[2]={
["modelID"]=2,
["modelType"]=1,
["picURL"]="URL",
["version"]=""1.1.1,
}
}
Topic revision: r3 - 2008-09-10
- CaoYF