0.604.0.6040508

This commit is contained in:
Max
2023-11-28 21:07:30 -06:00
parent 9f4f3bbf63
commit 4bac4d4f3e
17 changed files with 6548 additions and 5027 deletions

View File

@ -0,0 +1,26 @@
using System.Xml;
namespace RobloxFiles.Tokens
{
public class SecurityCapabilitiesToken : IXmlPropertyToken
{
public string XmlPropertyToken => "SecurityCapabilities";
public bool ReadProperty(Property prop, XmlNode node)
{
if (ulong.TryParse(node.InnerText, out var value))
{
prop.Value = value;
return true;
}
return false;
}
public void WriteProperty(Property prop, XmlDocument doc, XmlNode node)
{
var value = prop.CastValue<ulong>();
node.InnerText = value.ToString();
}
}
}