Esempio n. 1
0
 public override void UpdateFromJSON(object data, FPackageFileSummary summary)
 {
     Value = Convert.ToSingle(data);
     if (Guid == null)
     {
         Guid = new FPropertyGuid
         {
             HasGuid = 0
         };
     }
 }
Esempio n. 2
0
        public override void UpdateFromJSON(object data, FPackageFileSummary summary)
        {
            string newName = Convert.ToString(data);

            if (Value == null)
            {
                Value = new FName();
            }
            if (Guid == null)
            {
                Guid = new FPropertyGuid
                {
                    HasGuid = 0
                };
            }
            Value.UpdateName(newName, summary);
        }