Exemple #1
0
 public MyQuest(QuestAction questAction, int level, Vector3F loc)
 {
     Race.Add(ERace.None);
     Class.Add(EClass.None);
     QuestAction = questAction;
     Level       = level;
     Loc         = loc;
 }
Exemple #2
0
 public MyQuest(uint id, QuestAction questAction, string flyPath, Vector3F loc)
 {
     Id = id;
     Race.Add(ERace.None);
     Class.Add(EClass.None);
     QuestAction = questAction;
     FlyPath     = flyPath;
     Loc         = loc;
 }
Exemple #3
0
 public MyQuest(QuestAction questAction, int level, Zone grindZone)
 {
     QuestAction = questAction;
     Level       = level;
     GrindZone   = grindZone;
     Race.Add(ERace.None);
     Class.Add(EClass.None);
     Team = ETeam.Other;
 }
Exemple #4
0
 public MyQuest(uint id, QuestAction questAction)
 {
     Id = id;
     Race.Add(ERace.None);
     Class.Add(EClass.None);
     QuestAction = questAction;
     Team        = ETeam.Other;
     Index       = -2;
 }
Exemple #5
0
 public MyQuest(uint id, QuestAction questAction, ERace race, EClass _class)
 {
     Id = id;
     Race.Add(race);
     Class.Add(_class);
     QuestAction = questAction;
     Team        = ETeam.Other;
     Index       = -2;
 }
        public string[] Read()
        {
            while (!reader.EndOfStream)
            {
                string[] Values = reader.ReadLine().Split(',');

                sauvegarde[i] = new CharStartOutfitEntry {
                };

                UniqueID.Add(Convert.ToInt32(Values[0])); // 1
                sauvegarde[i].UniqueIndex = Convert.ToInt32(Values[0]);

                Race.Add(Convert.ToInt32(Values[1])); // 2
                sauvegarde[i].RaceID = Convert.ToInt32(Values[1]);

                Classe.Add(Convert.ToInt32(Values[2])); // 3
                sauvegarde[i].ClassID = Convert.ToInt32(Values[2]);

                Sexe.Add(Convert.ToInt32(Values[3])); // 4
                sauvegarde[i].SexeID = Convert.ToInt32(Values[3]);

                for (int j = 5; j != 29; j++) // 6 à 29
                {
                    ItemID.Add(Convert.ToInt32(Values[j]));
                    sauvegarde[i].ItemID[j - 5] = Convert.ToInt32(Values[j]);
                }

                for (int j = 29; j != 53; j++) // 30 à 53
                {
                    ItemDisplayID.Add(Convert.ToInt32(Values[j]));
                    sauvegarde[i].ItemDisplayID[j - 29] = Convert.ToInt32(Values[j]);
                }

                for (int j = 53; j != 77; j++) // 54 à 77
                {
                    EquipementID.Add(Convert.ToInt32(Values[j]));
                    sauvegarde[i].EquipementID[j - 53] = Convert.ToInt32(Values[j]);
                }

                i++;
                Length++;
            }
            return(null);
        }