added some tables, add upgrade
now not reading tables: morphs chains upgrades towersOnLevel
This commit is contained in:
74
schema.xml
74
schema.xml
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
|
||||
<xsd:element name="ADdata">
|
||||
<xsd:complexType>
|
||||
<xsd:all>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="aliens">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
@@ -25,6 +25,13 @@
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="levels">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="level" type="levelType" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="waveParts">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
@@ -39,20 +46,35 @@
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="levels">
|
||||
<xsd:element name="splashes">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="level" type="levelType" maxOccurs="unbounded"/>
|
||||
<xsd:element name="splash" type="splashType" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:all>
|
||||
<xsd:element name="towers">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="tower" type="towerType" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="triggers">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="trigger" type="triggerType" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:complexType name="alienType">
|
||||
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="id" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="score" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="speed" type="xsd:float" use="required"/>
|
||||
<xsd:attribute name="health" type="xsd:float" use="required"/>
|
||||
<xsd:attribute name="prise" type="xsd:nonNegativeInteger" use="required"/>
|
||||
@@ -65,41 +87,49 @@
|
||||
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="id" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="speed" type="xsd:float" use="required"/>
|
||||
<xsd:attribute name="damage" type="xsd:float" use="required"/>
|
||||
<xsd:attribute name="radius" type="xsd:float" use="required"/>
|
||||
<xsd:attribute name="imageType" type="xsd:integer" use="required"/>
|
||||
<xsd:attribute name="triggerDeath" type="xsd:boolean" use="optional"/>
|
||||
<xsd:attribute name="lifetime" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="autoControl" type="xsd:boolean" use="optional"/>
|
||||
<xsd:attribute name="timer" type="xsd:positiveInteger" use="optional"/>
|
||||
<xsd:attribute name="lifetime" type="xsd:positiveInteger" use="optional"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="triggerType">
|
||||
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="id" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="parentSplash" type="xsd:nonNegativeInteger" use="required"/>
|
||||
<xsd:attribute name="childSplash" type="xsd:nonNegativeInteger" use="optional"/>
|
||||
<xsd:attribute name="count" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="count" type="xsd:positiveInteger" use="optional"/>
|
||||
<xsd:attribute name="timer" type="xsd:positiveInteger" use="optional"/>
|
||||
<xsd:attribute name="chance" type="xsd:positiveInteger" use="optional"/>
|
||||
<xsd:attribute name="randomPosRadius" type="xsd:float" use="optional"/>
|
||||
<xsd:attribute name="type" use="optional">
|
||||
<xsd:attribute name="damage" type="xsd:float" use="optional"/>
|
||||
<xsd:attribute name="radius" type="xsd:float" use="optional"/>
|
||||
<xsd:attribute name="delParent" type="xsd:boolean" use="optional"/>
|
||||
<xsd:attribute name="type" use="required">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="noTrigger"/>
|
||||
<xsd:enumeration value="onDestination"/>
|
||||
<xsd:enumeration value="onTimer"/>
|
||||
<xsd:enumeration value="onAlienInRadius"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
<xsd:attribute name="childAim" use="optional">
|
||||
<xsd:simpleType>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="noAim"/>
|
||||
<xsd:enumeration value="parentAim"/>
|
||||
<xsd:enumeration value="allSide"/>
|
||||
<xsd:enumeration value="nearlestAlien"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:attribute>
|
||||
</xsd:complexType>
|
||||
|
||||
|
||||
<xsd:complexType name="towerType">
|
||||
<xsd:attribute name="name" type="xsd:string" use="required"/>
|
||||
<xsd:attribute name="id" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="imageType" type="xsd:integer" use="required"/>
|
||||
<xsd:attribute name="buildTime" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="price" type="xsd:nonNegativeInteger" use="required"/>
|
||||
<xsd:attribute name="splashType" type="xsd:integer" use="required"/>
|
||||
<xsd:attribute name="cost" type="xsd:nonNegativeInteger" use="required"/>
|
||||
<xsd:attribute name="splash" type="xsd:integer" use="required"/>
|
||||
<xsd:attribute name="reload" type="xsd:nonNegativeInteger" use="required"/>
|
||||
<xsd:attribute name="radius" type="xsd:float" use="required"/>
|
||||
<xsd:attribute name="expByShot" type="xsd:float" use="optional"/>
|
||||
@@ -116,10 +146,9 @@
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="morphType">
|
||||
<xsd:attribute name="id" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="from" type="xsd:nonNegativeInteger" use="required"/>
|
||||
<xsd:attribute name="to" type="xsd:nonNegativeInteger" use="required"/>
|
||||
<xsd:attribute name="price" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="cost" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="expRequired" type="xsd:float" use="required"/>
|
||||
</xsd:complexType>
|
||||
|
||||
@@ -133,7 +162,7 @@
|
||||
<xsd:attribute name="id" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="timeout" type="xsd:nonNegativeInteger" use="required"/>
|
||||
<xsd:attribute name="prise" type="xsd:nonNegativeInteger" use="required"/>
|
||||
<!--xsd:attribute name="type" type="xsd:nonNegativeInteger" use="required"/!-->
|
||||
<!--xsd:attribute name="type" type="xsd:nonNegativeInteger" use="required"-->
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="waveOnLevelType">
|
||||
@@ -142,10 +171,9 @@
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="towerOnLevelType">
|
||||
<xsd:attribute name="id" type="xsd:positiveInteger" use="required"/>
|
||||
<xsd:attribute name="level" type="xsd:nonNegativeInteger" use="required"/>
|
||||
<xsd:attribute name="tower" type="xsd:nonNegativeInteger" use="required"/>
|
||||
<xsd:attribute name="enableWave" type="xsd:nonNegativeInteger" use="optional"/>
|
||||
<!--xsd:attribute name="enableWave" type="xsd:nonNegativeInteger" use="optional"-->
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="levelType">
|
||||
|
||||
Reference in New Issue
Block a user