예제 #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;
 }