Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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));
 }