mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-08-19 16:39:20 +08:00
34 lines
771 B
C#
34 lines
771 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 VehicleLayoutsFile : GameFile, PackedFile
|
|
{
|
|
public VehicleLayoutsFile() : base(null, GameFileType.VehicleLayouts)
|
|
{ }
|
|
public VehicleLayoutsFile(RpfFileEntry entry) : base(entry, GameFileType.VehicleLayouts)
|
|
{
|
|
}
|
|
|
|
public void Load(byte[] data, RpfFileEntry entry)
|
|
{
|
|
RpfFileEntry = entry;
|
|
Name = entry.Name;
|
|
FilePath = Name;
|
|
|
|
//TODO
|
|
|
|
//always XML .meta
|
|
|
|
|
|
Loaded = true;
|
|
}
|
|
}
|
|
}
|