mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-27 06:20:17 +00:00
17 lines
393 B
C#
17 lines
393 B
C#
|
using System.IO;
|
|||
|
|
|||
|
namespace SanAndreasUnity.Importing.RenderWareStream
|
|||
|
{
|
|||
|
[SectionType(1)]
|
|||
|
public class Data : SectionData
|
|||
|
{
|
|||
|
public readonly byte[] Value;
|
|||
|
|
|||
|
public Data(SectionHeader header, Stream stream)
|
|||
|
: base(header, stream)
|
|||
|
{
|
|||
|
Value = new byte[header.Size];
|
|||
|
stream.Read(Value, 0, (int)header.Size);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|