Addition of collection system.
Contributed by iDesy.
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
DROP TABLE IF EXISTS `collection_favorites`;
|
||||
CREATE TABLE IF NOT EXISTS `collection_favorites` (
|
||||
`accountName` VARCHAR(45) NOT NULL DEFAULT '',
|
||||
`collectionId` int(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`accountName`,`collectionId`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||
@@ -0,0 +1,8 @@
|
||||
DROP TABLE IF EXISTS `collections`;
|
||||
CREATE TABLE IF NOT EXISTS `collections` (
|
||||
`accountName` VARCHAR(45) NOT NULL DEFAULT '',
|
||||
`itemId` int(11) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`collectionId` int(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`index` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`accountName`,`collectionId`,`index`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="list">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="collection" maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="item" maxOccurs="unbounded" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute type="xs:int" name="id" />
|
||||
<xs:attribute type="xs:int" name="count" use="required"/>
|
||||
<xs:attribute type="xs:int" name="enchant_level" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute type="xs:integer" name="id" use="required" />
|
||||
<xs:attribute type="xs:integer" name="optionId" use="required" />
|
||||
<xs:attribute type="xs:integer" name="category" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
Reference in New Issue
Block a user