CampaignServerWML: Difference between revisions
From The Battle for Wesnoth Wiki
| Line 27: | Line 27: | ||
== Request License Information == | == Request License Information == | ||
* Request | |||
** '''[request_terms]''' | |||
* Response | |||
== See Also == | == See Also == | ||
Revision as of 18:16, 7 October 2005
Campaign Server WML
This page describes the WML commands exchanged between campaign download clients and a campaign server. Note that this WML is not used in the game engine.
Listing Available Campaigns
- Request
- [request_campaign_list]
- Response
- [campaigns]
- [campaign]
- author - author(s) of the campaign.
- description - description of the campaign. For pre 1.0 campaigns this should also describe the playability.
- downloads - how many times the campaign (including previous versions) has been downloaded directly from the campaign server.
- filename - filename campaign is stored in (currently the same as name).
- icon - path to an image in the standard image directory for Wesnoth. This path must use forward slashes (/). It cannot refer to custom images included with the campaign. This image is displayed as an icon by the campaign client built into Wesnoth.
- size - the size of the campaign in bytes on the campaign server.
- timestamp - when this version of the campaign was uploaded.
- title - campaign title.
- version - version of the campaign. The recommended format is x.y.z where x, y and z are decimal strings. x should be 0 for campaigns that are not yet complete.
- [campaign]
- [campaigns]
Downloading a Campaign
Uploading a Campaign
Deleting a Campaign
Request License Information
- Request
- [request_terms]
- Response
See Also
This page was last edited on 7 October 2005, at 18:16.