public override object GetClassFrom(JMXStructure Structure) { ResAttachable.Slot obj = new ResAttachable.Slot() { Type = (ResAttachable.SlotType)((JMXOption)Structure.Childs[0]).Value, MeshSetIndex = (uint)((JMXAttribute)Structure.Childs[1]).Value, }; return(obj); }
public Slot(string Name, ResAttachable.Slot Slot) : base(Name, true) { Childs.Add(new JMXOption("Type", Slot.Type, JMXOption.GetValues <object>(typeof(ResAttachable.SlotType)))); Childs.Add(new JMXAttribute("MeshSetIndex", Slot.MeshSetIndex)); }