Exemplo n.º 1
0
 public ProfileDef()
 {
     HashManager.AddVLT("ai_skill");
     HashManager.AddVLT("ai_track_times");
     HashManager.AddVLT("car_bool");
     HashManager.AddVLT("car_common");
     HashManager.AddVLT("car_common_steering");
     HashManager.AddVLT("car_enum");
     HashManager.AddVLT("car_float");
     HashManager.AddVLT("car_info");
     HashManager.AddVLT("car_int");
     HashManager.AddVLT("car_ref");
     HashManager.AddVLT("car_text");
     HashManager.AddVLT("car_tuning");
     HashManager.AddVLT("demo");
     HashManager.AddVLT("dyno");
     HashManager.AddVLT("dyno_tuning");
     HashManager.AddVLT("forced_induction");
     HashManager.AddVLT("level_info");
     HashManager.AddVLT("physics_curves");
     HashManager.AddVLT("route_bool");
     HashManager.AddVLT("route_enum");
     HashManager.AddVLT("route_float");
     HashManager.AddVLT("route_info");
     HashManager.AddVLT("route_int");
     HashManager.AddVLT("route_ref");
     HashManager.AddVLT("route_text");
 }
Exemplo n.º 2
0
 public override void Read(Vault vault, BinaryReader br)
 {
     while (br.BaseStream.Position < EndOffset)
     {
         string str = NullTerminatedString.Read(br);
         HashManager.AddVLT(str);
     }
 }
Exemplo n.º 3
0
        public void ReadPointerData(Vault vault, BinaryReader br)
        {
            br.BaseStream.Position = _typeNames;

            foreach (var t in vault.Database.Types)
            {
                t.Name = NullTerminatedString.Read(br);
                HashManager.AddVLT(t.Name);
            }
        }