Esempio n. 1
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            index++;
            AssetName = text[index++];
        }
Esempio n. 2
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            index++;
            Speed = float.Parse(text[index++]);
        }
Esempio n. 3
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            index++;
            MaxHP   = int.Parse(text[index++]);
            Defense = int.Parse(text[index++]);
        }
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            index++;
            Score      = int.Parse(text[index++]);
            ScoreColor = text[index++];
            ImageUrl   = text[index++];
        }
Esempio n. 5
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            index++;
            AssetName          = text[index++];
            UIGroupName        = text[index++];
            AllowMultiInstance = bool.Parse(text[index++]);
            PauseCoveredUIForm = bool.Parse(text[index++]);
        }
Esempio n. 6
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            index++;
            Attack         = int.Parse(text[index++]);
            AttackInterval = float.Parse(text[index++]);
            BulletId       = int.Parse(text[index++]);
            BulletSpeed    = float.Parse(text[index++]);
            BulletSoundId  = int.Parse(text[index++]);
        }
Esempio n. 7
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            index++;
            MaxHP        = int.Parse(text[index++]);
            Attack       = int.Parse(text[index++]);
            Speed        = float.Parse(text[index++]);
            AngularSpeed = float.Parse(text[index++]);
            DeadEffectId = int.Parse(text[index++]);
            DeadSoundId  = int.Parse(text[index++]);
        }
Esempio n. 8
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++]);
        }
Esempio n. 9
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = 0;

            index++;
            Id = int.Parse(text[index++]);
            index++;
            ThrusterId = int.Parse(text[index++]);
            for (int i = 0; i < MaxWeaponCount; i++)
            {
                m_WeaponIds[i] = int.Parse(text[index++]);
            }
            for (int i = 0; i < MaxArmorCount; i++)
            {
                m_ArmorIds[i] = int.Parse(text[index++]);
            }
            DeadEffectId = int.Parse(text[index++]);
            DeadSoundId  = int.Parse(text[index++]);
        }