mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-08-20 00:49:25 +08:00
34 lines
778 B
C#
34 lines
778 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CodeWalker.GameFiles
|
|
{
|
|
[TypeConverter(typeof(ExpandableObjectConverter))]
|
|
public class CarVariationsFile : GameFile, PackedFile
|
|
{
|
|
public CarVariationsFile() : base(null, GameFileType.CarVariations)
|
|
{ }
|
|
public CarVariationsFile(RpfFileEntry entry) : base(entry, GameFileType.CarVariations)
|
|
{
|
|
}
|
|
|
|
public void Load(byte[] data, RpfFileEntry entry)
|
|
{
|
|
RpfFileEntry = entry;
|
|
Name = entry.Name;
|
|
FilePath = Name;
|
|
|
|
//TODO
|
|
|
|
//can be PSO .ymt or XML .meta
|
|
|
|
|
|
Loaded = true;
|
|
}
|
|
}
|
|
}
|