BuyPriceExchange
Overview
Section titled “Overview”BuyPriceExchange.xml defines guild currency exchange prices: mappings between items and their guild money cost, stored across one or more ExchangeList sections.
Version support
Section titled “Version support”| Version | Status |
|---|---|
| v92 | Full |
| v90 | - |
| v86 | - |
DSL support
Section titled “DSL support”Entity: buyPriceExchanges
Operations: create, update, delete, upsert
File organization: SingleFile (BuyPriceExchange.xml)
Properties reference
Section titled “Properties reference”Exchange
Section titled “Exchange”| Attribute | Type | Since | Required | Description |
|---|---|---|---|---|
itemId | int | v92 | Yes | Item template ID (primary key) |
guildMoney | int | v92 | No | Guild currency cost for this item |
DSL examples
Section titled “DSL examples”Create
Section titled “Create”spec: version: "1.0"
buyPriceExchanges: create: - itemId: 45001 guildMoney: 1000Update
Section titled “Update”spec: version: "1.0"
buyPriceExchanges: update: - itemId: 45001 changes: guildMoney: 1500Delete
Section titled “Delete”spec: version: "1.0"
buyPriceExchanges: delete: - 45001Upsert
Section titled “Upsert”spec: version: "1.0"
buyPriceExchanges: upsert: - itemId: 45001 guildMoney: 2000Creates the exchange entry if itemId 45001 does not exist, or updates the existing entry if it does.
XML structure
Section titled “XML structure”BuyPriceExchange uses a multi-section layout. The root element contains one or more ExchangeList wrapper sections, each holding Exchange entries:
BuyPriceExchange└── ExchangeList [1..*] └── Exchange (itemId, guildMoney) [0..2 per section]Example XML:
<BuyPriceExchange> <ExchangeList> <Exchange itemId="45001" guildMoney="1000" /> </ExchangeList> <ExchangeList> <Exchange itemId="45002" guildMoney="2000" /> </ExchangeList></BuyPriceExchange>-
Multi-section navigation: The XML file may contain multiple
<ExchangeList>sections. All CRUD operations search across every section to find the targetitemId. New entries are created in the first section. -
Single file: BuyPriceExchange uses
FileOrganization.SingleFile— there are no regional variants. All exchange entries live in oneBuyPriceExchange.xmlfile. -
Small dataset: The XSD allows at most 2
Exchangeentries perExchangeListsection. This is a trivial lookup table for guild currency price overrides.