 ebe4ba005d
			
		
	
	ebe4ba005d
	
	
	
		
			
			- Renamed AuctionManager into ClanHallAuctionManager. - Created Comission (Auction house) system. - Reworked vitality system from account based to subclass based.
		
			
				
	
	
		
			22 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			SQL
		
	
	
	
	
	
| CREATE TABLE IF NOT EXISTS `messages` (
 | |
|   `messageId` INT NOT NULL DEFAULT 0,
 | |
|   `senderId` INT NOT NULL DEFAULT 0,
 | |
|   `receiverId` INT NOT NULL DEFAULT 0,
 | |
|   `subject` TINYTEXT,
 | |
|   `content` TEXT,
 | |
|   `expiration` bigint(13) unsigned NOT NULL DEFAULT '0',
 | |
|   `reqAdena` BIGINT NOT NULL DEFAULT 0,
 | |
|   `hasAttachments` enum('true','false') DEFAULT 'false' NOT NULL,
 | |
|   `isUnread` enum('true','false') DEFAULT 'true' NOT NULL,
 | |
|   `isDeletedBySender` enum('true','false') DEFAULT 'false' NOT NULL,
 | |
|   `isDeletedByReceiver` enum('true','false') DEFAULT 'false' NOT NULL,
 | |
|   `isLocked` enum('true','false') DEFAULT 'false' NOT NULL,
 | |
|   `sendBySystem` tinyint(1) NOT NULL DEFAULT 0,
 | |
|   `isReturned` enum('true','false') DEFAULT 'false' NOT NULL,
 | |
|   `itemId` INT(11) NOT NULL DEFAULT '0',
 | |
|   `enchantLvl` INT(3) NOT NULL DEFAULT '0',
 | |
|   `elementals` VARCHAR(25),
 | |
|   `systemMessage1` INT(10) NOT NULL DEFAULT '-1',
 | |
|   `systemMessage2` INT(10) NOT NULL DEFAULT '-1',
 | |
|   PRIMARY KEY (`messageId`)
 | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |