small fix
This commit is contained in:
parent
2ddae74456
commit
db52a2c389
Binary file not shown.
@ -105,9 +105,7 @@ namespace RobloxFiles.Tokens
|
|||||||
public void WriteAttribute(RbxAttribute attribute, CFrame value)
|
public void WriteAttribute(RbxAttribute attribute, CFrame value)
|
||||||
{
|
{
|
||||||
Vector3 pos = value.Position;
|
Vector3 pos = value.Position;
|
||||||
attribute.WriteFloat(pos.X);
|
Vector3Token.WriteVector3(attribute, pos);
|
||||||
attribute.WriteFloat(pos.Y);
|
|
||||||
attribute.WriteFloat(pos.Z);
|
|
||||||
|
|
||||||
int orientId = value.GetOrientId();
|
int orientId = value.GetOrientId();
|
||||||
attribute.WriteByte((byte)(orientId + 1));
|
attribute.WriteByte((byte)(orientId + 1));
|
||||||
|
@ -46,10 +46,10 @@ namespace RobloxFiles
|
|||||||
public long SourceAssetId = -1;
|
public long SourceAssetId = -1;
|
||||||
|
|
||||||
/// <summary>A unique identifier declared for the history of this instance.</summary>
|
/// <summary>A unique identifier declared for the history of this instance.</summary>
|
||||||
public UniqueId HistoryId;
|
public UniqueId HistoryId = new UniqueId(0, 0, 0);
|
||||||
|
|
||||||
/// <summary>A unique identifier declared for this instance.</summary>
|
/// <summary>A unique identifier declared for this instance.</summary>
|
||||||
public UniqueId UniqueId;
|
public UniqueId UniqueId = new UniqueId(0, 0, 0);
|
||||||
|
|
||||||
/// <summary>The name of this Instance, if a Name property is defined.</summary>
|
/// <summary>The name of this Instance, if a Name property is defined.</summary>
|
||||||
public override string ToString() => Name;
|
public override string ToString() => Name;
|
||||||
|
Loading…
Reference in New Issue
Block a user