Пример #1
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            //index++;
            Name      = text[index++];
            Rule      = text[index++];
            BGM       = text[index++];
            HaveEnemy = bool.Parse(text[index++]);
        }
Пример #2
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            index++;
            AssetName    = text[index++];
            Priority     = int.Parse(text[index++]);
            Loop         = bool.Parse(text[index++]);
            Volume       = float.Parse(text[index++]);
            SpatialBlend = float.Parse(text[index++]);
            MaxDistance  = float.Parse(text[index++]);
        }
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            //index++;
            WeaponType       = text[index++];
            WeaponName       = text[index++];
            ThroughCharactor = bool.Parse(text[index++]);
            ThroughWall      = bool.Parse(text[index++]);
            CharactorOwner   = bool.Parse(text[index++]);
            Visibled         = bool.Parse(text[index++]);
        }
Пример #4
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index]);
            index++;
            MapUnit = text[index];
            index++;
            CanMovePass = bool.Parse(text[index]);
            index++;
            index++;
            AssetName = text[index];
        }
Пример #5
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            //index++;
            Key           = text[index++];
            Name          = text[index++];
            EnemyType     = text[index++];
            EnemyResource = text[index++];
            AILevel       = text[index++];
            TypeBase      = text[index++];
            Remark        = text[index++];
        }
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            //index++;
            Key        = text[index++];
            Armor      = int.Parse(text[index++]);
            WeaponType = text[index++];
            WeaponName = text[index++];
            BulletMax  = int.Parse(text[index++]);
            CoolDown   = int.Parse(text[index++]);
            Damage     = int.Parse(text[index++]);
            Logic      = text[index++];
        }