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

            Id                = int.Parse(text[++index]);
            SceneName         = text[++index];
            SceneType         = int.Parse(text[++index]);
            AssetName         = text[++index];
            BackgroundMusicId = int.Parse(text[++index]);
            string[] vector3Value = text[++index].Split(';');
            PlayerSpawn = new Vector3(float.Parse(vector3Value[0]), float.Parse(vector3Value[1]), float.Parse(vector3Value[2]));
        }
Beispiel #2
0
        public override bool ParseDataRow(GameFrameworkSegment <string> dataRowSegment)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowSegment);
            int      index = 0;

            index++;
            m_Id = int.Parse(text[index++]);
            index++;
            AssetName = text[index++];
            Priority  = int.Parse(text[index++]);
            Volume    = float.Parse(text[index++]);

            return(true);
        }
Beispiel #3
0
        public override bool ParseDataRow(GameFrameworkSegment <string> dataRowSegment)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowSegment);
            int      index = 0;

            index++;
            m_Id = int.Parse(text[index++]);
            index++;
            AssetName          = text[index++];
            UIGroupName        = text[index++];
            AllowMultiInstance = bool.Parse(text[index++]);
            PauseCoveredUIForm = bool.Parse(text[index++]);

            return(true);
        }
Beispiel #4
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = -1;

            Id               = int.Parse(text[++index]);
            ProfessionType   = int.Parse(text[++index]);
            Effect01         = int.Parse(text[++index]);
            Effect01Delay    = float.Parse(text[++index]);
            Effect01Duration = float.Parse(text[++index]);
            Effect02         = int.Parse(text[++index]);
            Effect02Delay    = float.Parse(text[++index]);
            Effect02Duration = float.Parse(text[++index]);
            SoundId          = int.Parse(text[++index]);
            SoundDelay       = float.Parse(text[++index]);
        }
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = -1;

            Id          = int.Parse(text[++index]);
            Group       = text[++index];
            Name        = text[++index];
            Title       = text[++index];
            Icon        = int.Parse(text[++index]);
            Desc        = text[++index];
            Level       = int.Parse(text[++index]);
            ActorType   = int.Parse(text[++index]);
            Race        = int.Parse(text[++index]);
            Sex         = int.Parse(text[++index]);
            MonsterType = int.Parse(text[++index]);
            Quality     = int.Parse(text[++index]);
            Speed       = float.Parse(text[++index]);
            BSpeed      = float.Parse(text[++index]);
            BornEffect  = int.Parse(text[++index]);
            DeadEffect  = int.Parse(text[++index]);
            string[] vector3Value = text[++index].Split(';');
            StagePos          = new Vector3(float.Parse(vector3Value[0]), float.Parse(vector3Value[1]), float.Parse(vector3Value[2]));
            StageScale        = int.Parse(text[++index]);
            AIFeature         = text[++index];
            KillExp           = int.Parse(text[++index]);
            LHP               = int.Parse(text[++index]);
            ATK               = int.Parse(text[++index]);
            DEF               = int.Parse(text[++index]);
            CRI               = int.Parse(text[++index]);
            BUR               = int.Parse(text[++index]);
            LMP               = int.Parse(text[++index]);
            VAM               = int.Parse(text[++index]);
            HIT               = int.Parse(text[++index]);
            DOG               = int.Parse(text[++index]);
            BAF               = int.Parse(text[++index]);
            VoiceAsset        = text[++index];
            ModelAsset        = text[++index];
            AiAtkDist         = float.Parse(text[++index]);
            AiFollowDist      = float.Parse(text[++index]);
            AiWaringDist      = float.Parse(text[++index]);
            FindEnemyInterval = float.Parse(text[++index]);
            AIScript          = text[++index];
            SkillScript       = text[++index];
        }
Beispiel #6
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = -1;

            Id         = int.Parse(text[++index]);
            Name       = text[++index];
            Desc       = text[++index];
            Attr1      = int.Parse(text[++index]);
            Value1     = int.Parse(text[++index]);
            ValueType1 = int.Parse(text[++index]);
            Attr2      = int.Parse(text[++index]);
            Value2     = int.Parse(text[++index]);
            ValueType2 = int.Parse(text[++index]);
            Attr3      = int.Parse(text[++index]);
            Value3     = int.Parse(text[++index]);
            ValueType3 = int.Parse(text[++index]);
        }
Beispiel #7
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = -1;

            Id         = int.Parse(text[++index]);
            RequireExp = int.Parse(text[++index]);
            LHP        = int.Parse(text[++index]);
            ATK        = int.Parse(text[++index]);
            DEF        = int.Parse(text[++index]);
            CRI        = int.Parse(text[++index]);
            BUR        = int.Parse(text[++index]);
            LMP        = int.Parse(text[++index]);
            VAM        = int.Parse(text[++index]);
            HIT        = int.Parse(text[++index]);
            DOG        = int.Parse(text[++index]);
            BAF        = int.Parse(text[++index]);
            NextLevel  = int.Parse(text[++index]);
        }
Beispiel #8
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = -1;

            Id              = int.Parse(text[++index]);
            EntityId        = int.Parse(text[++index]);
            IconId          = int.Parse(text[++index]);
            Name            = text[++index];
            EquipProfession = int.Parse(text[++index]);
            EquipLevel      = int.Parse(text[++index]);
            EquipPart       = int.Parse(text[++index]);
            Attack          = int.Parse(text[++index]);
            Defense         = int.Parse(text[++index]);
            HitRate         = int.Parse(text[++index]);
            Hedge           = int.Parse(text[++index]);
            Strike          = int.Parse(text[++index]);
            Tenacity        = int.Parse(text[++index]);
            StrengthRate    = float.Parse(text[++index]);
            Price           = int.Parse(text[++index]);
            SellPrice       = int.Parse(text[++index]);
        }
Beispiel #9
0
        public void ParseDataRow(string dataRowText)
        {
            string[] text  = DataTableExtension.SplitDataRow(dataRowText);
            int      index = -1;

            Id               = int.Parse(text[++index]);
            Name             = text[++index];
            Icon             = int.Parse(text[++index]);
            BuffType         = int.Parse(text[++index]);
            LifeTime         = int.Parse(text[++index]);
            OverlayType      = int.Parse(text[++index]);
            MaxOverlayNum    = int.Parse(text[++index]);
            DestroyType      = int.Parse(text[++index]);
            Result           = int.Parse(text[++index]);
            ResultAttrID     = int.Parse(text[++index]);
            ResultInterval   = int.Parse(text[++index]);
            EffectID         = int.Parse(text[++index]);
            EffectBind       = int.Parse(text[++index]);
            ChangeModelID    = int.Parse(text[++index]);
            ChangeModelScale = int.Parse(text[++index]);
            Desc             = text[++index];
        }