public static System.Data.DataTable createDataTable()
        {
            var dataTable = new System.Data.DataTable(Guid.NewGuid().ToString());

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "sender");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "target");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "relation");

            return(dataTable);
        }
        public static System.Data.DataTable createDataTable()
        {
            System.Data.DataTable dataTable = new System.Data.DataTable(Guid.NewGuid().ToString());

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "id");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "commNodeId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "spaceObjectId");
            dataTable.AddColumn(System.Type.GetType("System.Byte"), "spaceObjectType");

            return(dataTable);
        }
Exemple #3
0
        public static System.Data.DataTable createDataTable()
        {
            var dataTable = new System.Data.DataTable(Guid.NewGuid().ToString());

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "combatId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "roundNumber");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "shotNumber");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "side");

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "moduleId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "damage");
            dataTable.AddColumn(System.Type.GetType("System.Decimal"), "hitPropability");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "isHit");

            return(dataTable);
        }
        public static System.Data.DataTable createDataTable()
        {
            System.Data.DataTable dataTable = new System.Data.DataTable(Guid.NewGuid().ToString());

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "id");
            dataTable.AddColumn(System.Type.GetType("System.String"), "name");
            dataTable.AddColumn(System.Type.GetType("System.String"), "description");
            dataTable.AddColumn(System.Type.GetType("System.String"), "passwrd");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "allianceOwner");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "overallVicPoints");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "overallRank");

            return(dataTable);
        }
Exemple #5
0
        public static System.Data.DataTable createDataTable()
        {
            var dataTable = new System.Data.DataTable(Guid.NewGuid().ToString());

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "userId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "commNodeId");
            dataTable.AddColumn(System.Type.GetType("System.Boolean"), "readAccess");
            dataTable.AddColumn(System.Type.GetType("System.Boolean"), "writeAccess");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "lastReadMessage");
            dataTable.AddColumn(System.Type.GetType("System.Boolean"), "informWhenNew");

            return(dataTable);
        }
Exemple #6
0
        public static System.Data.DataTable createDataTable()
        {
            System.Data.DataTable dataTable = new System.Data.DataTable(Guid.NewGuid().ToString());

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "id");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "userId");
            dataTable.AddColumn(System.Type.GetType("System.String"), "name");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "storage");
            dataTable.AddColumn(System.Type.GetType("System.Byte"), "scanRange");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "starId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "planetId");

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "shipInConstruction");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "constructionDuration");
            dataTable.AddColumn(System.Type.GetType("System.Int64"), "population");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "construction");
            dataTable.AddColumn(System.Type.GetType("System.Int16"), "turnsOfRioting");
            dataTable.AddColumn(System.Type.GetType("System.Int64"), "versionId");
            dataTable.AddColumn(System.Type.GetType("System.Int16"), "TurnsOfSiege");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "BesiegedBy");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "Influence");

            return(dataTable);
        }
Exemple #7
0
        public static System.Data.DataTable createDataTable()
        {
            var dataTable = new System.Data.DataTable(Guid.NewGuid().ToString());

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "combatId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderId");
            dataTable.AddColumn(System.Type.GetType("System.String"), "attackerName");
            dataTable.AddColumn(System.Type.GetType("System.String"), "defenderName");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerUserId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderUserId");

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "starId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "spaceX");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "spaceY");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "systemX");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "systemY");

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerDamageDealt");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderDamageDealt");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerHitPointsRemain");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderHitPointsRemain");
            dataTable.AddColumn(System.Type.GetType("System.Boolean"), "defenderHasRead");

            dataTable.AddColumn(System.Type.GetType("System.DateTime"), "messageDT");

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerExperience");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderExperience");

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerShipHullId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderShipHullId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerShipHullImageId");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderShipHullImageId");


            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerEvasion");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerMaxHitPoints");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerStartHitpoint");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderEvasion");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderMaxHitPoints");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderStartHitpoint");

            dataTable.AddColumn(System.Type.GetType("System.Int32"), "attackerShield");
            dataTable.AddColumn(System.Type.GetType("System.Int32"), "defenderShield");

            return(dataTable);
        }