2019-01-30 06:36:56 +00:00
|
|
|
|
using System.Xml;
|
|
|
|
|
|
2019-02-01 17:19:20 +00:00
|
|
|
|
namespace RobloxFiles.XmlFormat.PropertyTokens
|
2019-01-30 06:36:56 +00:00
|
|
|
|
{
|
|
|
|
|
public class RefToken : IXmlPropertyToken
|
|
|
|
|
{
|
|
|
|
|
public string Token => "Ref";
|
|
|
|
|
|
|
|
|
|
public bool ReadToken(Property prop, XmlNode token)
|
|
|
|
|
{
|
|
|
|
|
string refId = token.InnerText;
|
|
|
|
|
prop.Type = PropertyType.Ref;
|
|
|
|
|
prop.Value = refId;
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|