root/trunk/AE-go_GameServer/data/static_data/siege/siege_locations.xsd

User picture

Author: Sarynth

Revision: 2596 («Previous)


File Size: 1.08 KB

(June 29, 2010 04:47 UTC) Almost 2 years ago

[trunk] Basic Siege Information support. (See 1.9 branch for details.)

 
Show/hide line numbers
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0">
	
	<xs:include schemaLocation="../import.xsd"/>
	
	<xs:element name="siege_locations">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="import" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="siege_location" type="siegelocation" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	
	<xs:complexType name="siegelocation">
		<xs:attribute name="id" type="xs:int" use="required"/>
		<xs:attribute name="type" type="SiegeType" use="required"/>
		<xs:attribute name="world" type="xs:int" use="required"/>
	</xs:complexType>
	
	<xs:simpleType name="SiegeType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="FORTRESS" />
			<xs:enumeration value="ARTIFACT" />
			<xs:enumeration value="BOSSRAID_LIGHT" />
			<xs:enumeration value="BOSSRAID_DARK" />
			<xs:enumeration value="INDUN" />
			<xs:enumeration value="UNDERPASS" />
		</xs:restriction>
	</xs:simpleType>
</xs:schema>