Example #1
0
 public virtual void LoadFromPrototype(BodyTemplatePrototype data)
 {
     _name        = data.Name;
     _centerSlot  = data.CenterSlot;
     _slots       = data.Slots;
     _connections = data.Connections;
     CacheHashCode();
 }
Example #2
0
 public BodyTemplate(BodyTemplatePrototype data)
 {
     LoadFromPrototype(data);
 }