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++];
            UIGroupName        = text[index++];
            AllowMultiInstance = bool.Parse(text[index++]);
            Log.Debug("AllowMultiInstance = " + AllowMultiInstance);
            PauseCoveredUIForm = bool.Parse(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++;
            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. 3
0
		public void ParseDataRow(string dataRowText)
		{
			string[] text = DataTableExtension.SplitDataRow(dataRowText);
			int index = 0;
			index++;
			Id = int.Parse(text[index++]);
			Name = text[index++];
			Icon = text[index++];
			Description = text[index++];
			ItemType = (ItemType) int.Parse(text[index++]);
			StackCount = int.Parse(text[index++]);
			Discard = bool.Parse(text[index++]);
			BuyPrice = int.Parse(text[index++]);
			SellPrice = int.Parse(text[index++]);
		}
Esempio n. 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++];
            NpcType       = (NPCType)int.Parse(text[index++]);
            StoreId       = int.Parse(text[index++]);
            BornPosition  = SplitPosition(text[index++]);
            BornAnimation = text[index++];
            Conversation  = text[index++];
            Patrol        = bool.Parse(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++]);
            GoodsType   = (GoodsType)int.Parse(text[index++]);
            UseType     = int.Parse(text[index++]);
            CanCombat   = bool.Parse(text[index++]);
            ConsumeType = (GoodsConsumeType)int.Parse(text[index++]);
            HP          = int.Parse(text[index++]);
            PAG         = int.Parse(text[index++]);
            Attack      = int.Parse(text[index++]);
            RangeType   = (InfluenceRangeType)int.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++]);
            Level         = int.Parse(text[index++]);
            CombatLevel   = int.Parse(text[index++]);
            RepairLevel   = int.Parse(text[index++]);
            DriveLevel    = int.Parse(text[index++]);
            HP            = int.Parse(text[index++]);
            Strength      = int.Parse(text[index++]);
            Intelligence  = int.Parse(text[index++]);
            Speed         = int.Parse(text[index++]);
            PhysicalPower = 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++;
            Name        = text[index++];
            SpriteName  = text[index++];
            AssetName   = text[index++];
            Type        = (MonsterType)int.Parse(text[index++]);
            HP          = int.Parse(text[index++]);
            ActionCount = float.Parse(text[index++]);
            Attack      = int.Parse(text[index++]);
            Defence     = int.Parse(text[index++]);
            Armor       = int.Parse(text[index++]);
            Speed       = int.Parse(text[index++]);
            Hit         = int.Parse(text[index++]);
            Dodge       = int.Parse(text[index++]);
            Exp         = int.Parse(text[index++]);
            Gold        = int.Parse(text[index++]);
            DropId      = int.Parse(text[index++]);
        }