示例#1
0
        public override void Deserialize(VRage.Game.ObjectBuilders.ComponentSystem.MyObjectBuilder_ComponentBase builder)
        {
            base.Deserialize(builder);
            var craftBuilder = builder as MyObjectBuilder_CraftingComponentBase;

            m_lockedByEntityId = craftBuilder.LockedByEntityId;
        }
示例#2
0
        public override void Deserialize(VRage.Game.ObjectBuilders.ComponentSystem.MyObjectBuilder_ComponentBase builder)
        {
            base.Deserialize(builder);
            var ob = builder as MyObjectBuilder_UpdateTrigger;

            m_size = ob.Size;
        }
示例#3
0
 public override void Deserialize(VRage.Game.ObjectBuilders.ComponentSystem.MyObjectBuilder_ComponentBase builder)
 {
     base.Deserialize(builder);
     m_objectBuilder = builder as MyObjectBuilder_UseObjectsComponent;
 }