Ejemplo n.º 1
0
 public WebActionCommand(int id, WebActionType type, String message,User user, ZmaSQLConnection sql)
 {
     this.Id = id;
     this.Type = type;
     this.Message = message;
     this.User = user;
 }
Ejemplo n.º 2
0
        public WebHandler(MinecraftHandler mc, TcpTunnelServer tunnel)
        {
            this.tunnel = tunnel;
            this.mc     = mc;
            string host     = mc.Config.DatabaseHost;
            string user     = mc.Config.DatabaseUser;
            string pass     = mc.Config.DatabasePassword;
            string database = mc.Config.Database;
            int    port     = mc.Config.DatabasePort;

            sql = MySQLConnector.GetInstance();
            zma = new ZmaSQLConnection();
        }
Ejemplo n.º 3
0
        public WebHandler(MinecraftHandler mc, TcpTunnelServer tunnel)
        {
            this.tunnel = tunnel;
            this.mc = mc;
            string host = mc.Config.DatabaseHost;
            string user = mc.Config.DatabaseUser;
            string pass = mc.Config.DatabasePassword;
            string database = mc.Config.Database;
            int port = mc.Config.DatabasePort;

            sql = MySQLConnector.GetInstance();
            zma = new ZmaSQLConnection();
        }
Ejemplo n.º 4
0
 public WebActionCommand(int id, WebActionType type, String message, User user, ZmaSQLConnection sql)
 {
     this.Id      = id;
     this.Type    = type;
     this.Message = message;
     this.User    = user;
 }