Light maintenance

This commit is contained in:
Max
2021-02-18 13:15:08 -06:00
parent 17f131c9f6
commit b352e2568d
34 changed files with 144 additions and 145 deletions

View File

@ -60,8 +60,8 @@ namespace RobloxFiles
/// <summary>Indicates whether this Instance has been destroyed.</summary>
public bool Destroyed { get; internal set; }
/// <summary>A list of CollectionService tags assigned to this Instance.</summary>
public List<string> Tags { get; } = new List<string>();
/// <summary>A hashset of CollectionService tags assigned to this Instance.</summary>
public HashSet<string> Tags { get; } = new HashSet<string>();
/// <summary>The attributes defined for this Instance.</summary>
public Attributes Attributes { get; private set; }
@ -100,7 +100,7 @@ namespace RobloxFiles
{
int length = value.Length;
List<byte> buffer = new List<byte>();
var buffer = new List<byte>();
Tags.Clear();
for (int i = 0; i < length; i++)