Esempio n. 1
0
 public PlayerDataOld()
 {
     Name = "";
     NumberPlate = "";
     Inventory = new List<Item>();
     Weapons = new List<WeaponDefinition>();
     Skills = GM.Copy(SkillRepository.Skills);
     Quests = GM.Copy(QuestRepository.Quests);
     Money = 1000;
     CompletedContracts = 0;
     Motive = PlayerMotive.Rebel;
     Gender = Gender.Male;
     Class = PlayerClass.Time_Master;
     CarColor = VehicleColor.MetallicClassicGold;
     CarSecondaryColor = VehicleColor.MetallicClassicGold;
     SkillSlots = new[]
                 {
                     new SkillSlot {Key = Keys.T},
                     new SkillSlot {Key = Keys.Y},
                     new SkillSlot {Key = Keys.CapsLock},
                     new SkillSlot {Key = Keys.U},
                     new SkillSlot {Key = Keys.B},
                 };
     Setup = new Setup();
     Tutorial = new Tutorial();
     LastContracts = new[] { "","","", "", "" };
     ModelVariations = new Dictionary<int, int>();
 }
Esempio n. 2
0
 public PlayerData()
 {
     Name               = "";
     NumberPlate        = "";
     Inventory          = new List <Item>();
     Weapons            = new List <WeaponDefinition>();
     Skills             = GM.Copy(SkillRepository.Skills);
     Quests             = GM.Copy(QuestRepository.Quests);
     Money              = 1000;
     CompletedContracts = 0;
     Motive             = PlayerMotive.Rebel;
     Gender             = Gender.Male;
     Class              = PlayerClass.Time_Master;
     CarColor           = VehicleColor.MetallicClassicGold;
     CarSecondaryColor  = VehicleColor.MetallicClassicGold;
     SkillSlots         = new[]
     {
         new SkillSlot {
             Key = Keys.T
         },
         new SkillSlot {
             Key = Keys.Y
         },
         new SkillSlot {
             Key = Keys.CapsLock
         },
         new SkillSlot {
             Key = Keys.U
         },
         new SkillSlot {
             Key = Keys.B
         },
     };
     Setup           = new Setup();
     Tutorial        = new Tutorial();
     LastContracts   = new[] { "", "", "", "", "" };
     ModelVariations = new Dictionary <int, int>();
 }