internal void AddProperty(RobloxProperty Property) { if (Properties == null) { Properties = new List <RobloxProperty>(); } Properties.Add(Property); }
internal bool GetProperty(string PropertyName, out RobloxProperty PropertyInst) { if (this.Properties != null) { foreach (var Property in Properties) { if (Property.Name == PropertyName) { PropertyInst = Property; return(true); } } } if (Superclass != null) { return(Superclass.GetProperty(PropertyName, out PropertyInst)); } PropertyInst = null; return(false); }