Bug fixes.

This commit is contained in:
Max
2022-12-27 06:36:50 -06:00
parent 7710cfba59
commit 4a360e4033
15 changed files with 126 additions and 64 deletions

View File

@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text;
namespace RobloxFiles
@ -33,7 +32,7 @@ namespace RobloxFiles
Vector3 = 17,
// Vector2int16 = 18,
// Vector3int16 = 19,
// CFrame = 20,
CFrame = 20,
// Enum = 21,
NumberSequence = 23,
// NumberSequenceKeypoint = 24,
@ -154,6 +153,7 @@ namespace RobloxFiles
internal string ReadString() => Reader.ReadString(true);
internal void WriteInt(int value) => Writer.Write(value);
internal void WriteByte(byte value) => Writer.Write(value);
internal void WriteBool(bool value) => Writer.Write(value);
internal void WriteFloat(float value) => Writer.Write(value);
internal void WriteDouble(double value) => Writer.Write(value);

View File

@ -45,6 +45,9 @@ namespace RobloxFiles
/// <summary>The source AssetId this instance was created in.</summary>
public long SourceAssetId = -1;
/// <summary>A unique identifier declared for the history of this instance.</summary>
public UniqueId HistoryId;
/// <summary>A unique identifier declared for this instance.</summary>
public UniqueId UniqueId;