EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MapConnections.h
Go to the documentation of this file.
1 /*
2  * File: MapConnections.h
3  * Author: Allan
4  * Purpose: See MapConnections.cpp
5  *
6  * Created on June 29, 2014, 12:40 PM
7  *
8  * usage:
9  * MapCon::PopulateConnections();
10  */
11 
12 
13 #ifndef MAPCONN_H
14 #define MAPCONN_H
15 
16 class MapCon {
17  public:
18  static void PopulateConnections();
19 
20 };
21 
22 /*
23 CREATE TABLE IF NOT EXISTS `mapConnections` (
24  `ctype` int(10) unsigned NOT NULL,
25  `fromreg` int(10) unsigned NOT NULL,
26  `fromcon` int(10) unsigned DEFAULT NULL,
27  `fromsol` int(10) unsigned DEFAULT NULL,
28  `stargateID` int(10) unsigned DEFAULT NULL,
29  `celestialID` int(10) unsigned DEFAULT NULL,
30  `tosol` int(10) unsigned DEFAULT NULL,
31  `tocon` int(10) unsigned DEFAULT NULL,
32  `toreg` int(10) unsigned NOT NULL,
33  `AI` int(11) NOT NULL AUTO_INCREMENT,
34  UNIQUE KEY `AI` (`AI`)
35  UNIQUE KEY `stargateID` (`stargateID`),
36  UNIQUE KEY `celestialID` (`celestialID`),
37  KEY `stargateID_2` (`stargateID`),
38  KEY `celestialID_2` (`celestialID`)
39 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
40 */
41 #endif
static void PopulateConnections()