示例#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++];
        }
示例#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++]);
        }
示例#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++]);
        }
示例#4
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++];
            PauseCoveredUIForm = bool.Parse(text[index++]);
        }
示例#5
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++]);
        }
示例#6
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++]);
        }
示例#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++]);
        }
示例#8
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++]);
        }