Show / Hide Table of Contents

Class MyDoor

Inheritance
System.Object
MyEntity
MyCubeBlock
Sandbox.Game.Entities.Cube.MySyncedBlock
Sandbox.Game.Entities.Cube.MyTerminalBlock
Sandbox.Game.Entities.Cube.MyFunctionalBlock
MyDoorBase
MyDoor
Implements
IMyComponentOwner<MyIDModule>
IMyUpgradableBlock
IMyUpgradableBlock
IMyTextSurfaceProvider
IMyMultiTextPanelComponentOwner
IMyDoor
IMyFunctionalBlock
IMyTerminalBlock
IMyCubeBlock
IMyEntity
IMyDoor
IMyFunctionalBlock
IMyTerminalBlock
IMyCubeBlock
IMyEntity
Inherited Members
MyDoorBase.SetOpenLocalValue(Boolean)
MyDoorBase.CreateTerminalControls()
MyDoorBase.SetOpenRequest(Boolean, Int64)
MyDoorBase.CreateSubpartConstraint(MyEntity, HkFixedConstraintData, HkConstraint)
MyDoorBase.DisposeSubpartConstraint(HkConstraint, HkFixedConstraintData)
MyDoorBase.SetupDoorSubpart(MyEntitySubpart, Int32, Boolean)
MyDoorBase.Open
MyDoorBase.AnyoneCanUse
MyDoorBase.HighlightMode
MyDoorBase.OpenChanged
MyCubeBlock.MAX_CUSTOM_NAME_LENGTH
MyCubeBlock.DUMMY_SUBBLOCK_ID
MyCubeBlock.m_soundEmitter
MyCubeBlock.m_emissiveNames
MyCubeBlock.CurrentAttachedUpgradeModules
MyCubeBlock.IsBeingRemoved
MyCubeBlock.m_activeEffects
MyCubeBlock.SlimBlock
MyCubeBlock.IsSilenced
MyCubeBlock.SilenceInChange
MyCubeBlock.UsedUpdateEveryFrame
MyCubeBlock.HandleEmissiveStateChange
MyCubeBlock.InitSkinUpdateHandled
MyCubeBlock.SubBlocks
MyCubeBlock.m_forceBlockDestructible
MyCubeBlock.GetOwnerFactionTag()
MyCubeBlock.GetUserRelationToOwner(Int64, MyRelationsBetweenPlayerAndBlock)
MyCubeBlock.GetPlayerRelationToOwner()
MyCubeBlock.FriendlyWithBlock(MyCubeBlock)
MyCubeBlock.UpdateIsWorking()
MyCubeBlock.CanContinueBuild()
MyCubeBlock.GetInteractiveObject(UInt32)
MyCubeBlock.ReleaseInventory(MyInventory, Boolean)
MyCubeBlock.OnConstraintAdded(GridLinkTypeEnum, IMyEntity)
MyCubeBlock.OnConstraintRemoved(GridLinkTypeEnum, IMyEntity)
MyCubeBlock.InitComponents()
MyCubeBlock.Init()
MyCubeBlock.HasUnparentedSubpart()
MyCubeBlock.GetLocalMatrix(Matrix)
MyCubeBlock.CalcLocalMatrix(Matrix, String)
MyCubeBlock.Components_ComponentAdded(Type, IMyEntityComponentBase)
MyCubeBlock.Components_ComponentRemoved(Type, IMyEntityComponentBase)
MyCubeBlock.GetObjectBuilder(Boolean)
MyCubeBlock.ConnectionAllowed(Vector3I, Vector3I, MyCubeBlockDefinition)
MyCubeBlock.ConnectionAllowed(Vector3I, Vector3I, Vector3I, MyCubeBlockDefinition)
MyCubeBlock.SetEmissiveStateWorking()
MyCubeBlock.SetEmissiveStateDisabled()
MyCubeBlock.SetEmissiveStateDamaged()
MyCubeBlock.CheckEmissiveState(Boolean)
MyCubeBlock.SetEmissiveState(MyStringHash, UInt32, String)
MyCubeBlock.UpdateEmissiveParts(UInt32, Single, Color, Color)
MyCubeBlock.GetDefaultEmissiveParts(Byte)
MyCubeBlock.UpdateSkin(Boolean)
MyCubeBlock.UpdateVisual()
MyCubeBlock.UpdateBeforeSimulation10()
MyCubeBlock.OnRemovedByCubeBuilder()
MyCubeBlock.OnRegisteredToGridSystems()
MyCubeBlock.OnUnregisteredFromGridSystems()
MyCubeBlock.ContactPointCallback(MyGridContactInfo)
MyCubeBlock.OnDestroy()
MyCubeBlock.CalculateCurrentModel(Matrix)
MyCubeBlock.ChangeBlockOwnerRequest(Int64, MyOwnershipShareModeEnum)
MyCubeBlock.SetEffect(String, Boolean)
MyCubeBlock.SetEffect(String, Single, Boolean, Boolean, Boolean)
MyCubeBlock.RemoveEffect(String, Int32)
MyCubeBlock.SetDamageEffectDelayed(Boolean)
MyCubeBlock.SetDamageEffect(Boolean)
MyCubeBlock.StopDamageEffect(Boolean)
MyCubeBlock.ChangeOwner(Int64, MyOwnershipShareModeEnum)
MyCubeBlock.OnOwnershipChanged()
MyCubeBlock.IMyComponentOwner<MyIDModule>.GetComponent(MyIDModule)
MyCubeBlock.OnTeleport()
MyCubeBlock.AllSubBlocksInitialized()
MyCubeBlock.AddSubBlock(String, MySlimBlock)
MyCubeBlock.SubBlocksInitialized(Boolean)
MyCubeBlock.OnSubBlockClosing(MySlimBlock)
MyCubeBlock.RemoveSubBlock(String, Boolean)
MyCubeBlock.GetBlockGridOffset(MyCubeBlockDefinition)
MyCubeBlock.GetSubBlockDataFromDummy(MyCubeBlockDefinition, String, MyModelDummy, Boolean, MyCubeBlockDefinition, MatrixD, Vector3)
MyCubeBlock.GetMass()
MyCubeBlock.GetGeometryLocalBox()
MyCubeBlock.GetSubBlocks()
MyCubeBlock.TryGetSubBlock(String, MySlimBlock)
MyCubeBlock.GetComponent()
MyCubeBlock.AddUpgradeValue(String, Single)
MyCubeBlock.CommitUpgradeValues()
MyCubeBlock.CreateRenderer(MyPersistentEntityFlags2, Vector3, Object)
MyCubeBlock.GetFractureComponent()
MyCubeBlock.RefreshModels(String, String)
MyCubeBlock.OnInventoryComponentAdded(MyInventoryBase)
MyCubeBlock.OnInventoryComponentRemoved(MyInventoryBase)
MyCubeBlock.GetIntersectionWithLine(LineD, Nullable<MyIntersectionResultLineTriangleEx>, IntersectionFlags)
MyCubeBlock.DisableUpdates()
MyCubeBlock.ReceivedDamage(Single, MyStringHash, Int64, Int64, Boolean, Nullable<MyStringHash>)
MyCubeBlock.Init(MyObjectBuilder_CubeBlock, IMyCubeGrid)
MyCubeBlock.IMyCubeBlock.CalcLocalMatrix(Matrix, String)
MyCubeBlock.IMyCubeBlock.CalculateCurrentModel(Matrix)
MyCubeBlock.IMyCubeBlock.GetObjectBuilderCubeBlock(Boolean)
MyCubeBlock.IMyCubeBlock.GetPlayerRelationToOwner()
MyCubeBlock.IMyCubeBlock.GetUserRelationToOwner(Int64, MyRelationsBetweenPlayerAndBlock)
MyCubeBlock.IMyCubeBlock.Init()
MyCubeBlock.IMyCubeBlock.Init(MyObjectBuilder_CubeBlock, IMyCubeGrid)
MyCubeBlock.IMyCubeBlock.OnBuildSuccess(Int64)
MyCubeBlock.IMyCubeBlock.OnBuildSuccess(Int64, Boolean)
MyCubeBlock.IMyCubeBlock.OnDestroy()
MyCubeBlock.IMyCubeBlock.OnModelChange()
MyCubeBlock.IMyCubeBlock.OnRegisteredToGridSystems()
MyCubeBlock.IMyCubeBlock.OnRemovedByCubeBuilder()
MyCubeBlock.IMyCubeBlock.OnUnregisteredFromGridSystems()
MyCubeBlock.IMyCubeBlock.RaycastDetectors(Vector3D, Vector3D)
MyCubeBlock.IMyCubeBlock.ReloadDetectors(Boolean)
MyCubeBlock.IMyCubeBlock.UpdateIsWorking()
MyCubeBlock.IMyCubeBlock.UpdateVisual()
MyCubeBlock.IMyCubeBlock.SetDamageEffect(Boolean)
MyCubeBlock.IMyUpgradableBlock.GetUpgrades(Dictionary<String, Single>)
MyCubeBlock.IMyCubeBlock.SetEffect(String, Boolean)
MyCubeBlock.IMyCubeBlock.SetEffect(String, Single, Boolean, Boolean, Boolean)
MyCubeBlock.IMyCubeBlock.RemoveEffect(String, Int32)
MyCubeBlock.IsBeingHacked
MyCubeBlock.UsesEmissivePreset
MyCubeBlock.Physics
MyCubeBlock.OwnerId
MyCubeBlock.BuiltBy
MyCubeBlock.ResourceSink
MyCubeBlock.BlockDefinition
MyCubeBlock.Min
MyCubeBlock.Max
MyCubeBlock.Orientation
MyCubeBlock.Position
MyCubeBlock.CubeGrid
MyCubeBlock.UseObjectsComponent
MyCubeBlock.CheckConnectionAllowed
MyCubeBlock.NumberInGrid
MyCubeBlock.IsFunctional
MyCubeBlock.IsBuilt
MyCubeBlock.IsWorking
MyCubeBlock.IDModule
MyCubeBlock.IsSubBlock
MyCubeBlock.SubBlockName
MyCubeBlock.OwnerBlock
MyCubeBlock.DefinitionDisplayNameText
MyCubeBlock.ForceBlockDestructible
MyCubeBlock.HasDamageEffect
MyCubeBlock.UpgradeValues
MyCubeBlock.IMyCubeBlock.BlockDefinition
MyCubeBlock.IMyCubeBlock.CubeGrid
MyCubeBlock.IMyCubeBlock.CubeGrid
MyCubeBlock.IMyCubeBlock.CheckConnectionAllowed
MyCubeBlock.IMyCubeBlock.Mass
MyCubeBlock.IMyCubeBlock.SlimBlock
MyCubeBlock.IMyUpgradableBlock.UpgradeCount
MyCubeBlock.IMyCubeBlock.ResourceSink
MyCubeBlock.CheckConnectionChanged
MyCubeBlock.IsWorkingChanged
MyCubeBlock.GetEmissiveStateHashFromComponent
MyCubeBlock.CanContinueBuildCheck
MyCubeBlock.OnUpdateBeforenextFrame
MyCubeBlock.OnUpgradeValuesChanged
MyCubeBlock.IMyCubeBlock.IsWorkingChanged
MyCubeBlock.CubeGridChanged
MyEntity.m_contactPoint
MyEntity.DefinitionId
MyEntity.DebugAsyncLoading
MyEntity.m_hudParams
MyEntity.m_positionResetFromServer
MyEntity.m_modelCollision
MyEntity.GamePruningProxyId
MyEntity.TopMostPruningProxyId
MyEntity.StaticForPruningStructure
MyEntity.TargetPruningProxyId
MyEntity.IsPreviewChanged
MyEntity.ReadyForReplicationAction
MyEntity.PropagateSubpartRotationThroughHieerarchy
MyEntity.ReplicationStarted
MyEntity.ReplicationEnded
MyEntity.OnEntityCloseRequest
MyEntity.InstantiateSubpartOverrideFunc
MyEntity.AddToGamePruningStructureExtCallBack
MyEntity.RemoveFromGamePruningStructureExtCallBack
MyEntity.UpdateGamePruningStructureExtCallBack
MyEntity.MyEntityFactoryCreateObjectBuilderExtCallback
MyEntity.CreateDefaultSyncEntityExtCallback
MyEntity.MyWeldingGroupsAddNodeExtCallback
MyEntity.MyWeldingGroupsRemoveNodeExtCallback
MyEntity.MyWeldingGroupsGetGroupNodesExtCallback
MyEntity.MyWeldingGroupsGroupExistsExtCallback
MyEntity.MyProceduralWorldGeneratorTrackEntityExtCallback
MyEntity.CreateStandardRenderComponentsExtCallback
MyEntity.InitComponentsExtCallback
MyEntity.MyEntitiesCreateFromObjectBuilderExtCallback
MyEntity.DebugDraw()
MyEntity.DebugDrawInvalidTriangles()
MyEntity.AddDebugRenderComponent(MyDebugRenderComponentBase)
MyEntity.ContainsDebugRenderComponent(Type)
MyEntity.TryGetDebugRenderComponent<T>(T)
MyEntity.RemoveDebugRenderComponent(Type)
MyEntity.RemoveDebugRenderComponent(MyDebugRenderComponentBase)
MyEntity.ClearDebugRenderComponents()
MyEntity.GetTopMostParent(Type)
MyEntity.GetHudParams(Boolean)
MyEntity.CanBeAddedToRender()
MyEntity.InitComponentsForTesting()
MyEntity.OnCreateSync()
MyEntity.CreateSync()
MyEntity.GetSubpart(String)
MyEntity.TryGetSubpart(String, MyEntitySubpart)
MyEntity.Simulate()
MyEntity.UpdatingStopped()
MyEntity.UpdateAfterSimulation10()
MyEntity.UpdateBeforeSimulation100()
MyEntity.UpdateAfterSimulation100()
MyEntity.GetFriendlyName()
MyEntity.GetViewMatrix()
MyEntity.Teleport(MatrixD, Object, Boolean)
MyEntity.DebugDrawPhysics()
MyEntity.GetIntersectionWithLine(LineD, Nullable<Vector3D>, Boolean, IntersectionFlags)
MyEntity.GetIntersectionWithLineAndBoundingSphere(LineD, Single)
MyEntity.GetIntersectionWithSphere(BoundingSphereD)
MyEntity.GetIntersectionWithAABB(BoundingBoxD)
MyEntity.GetTrianglesIntersectingSphere(BoundingSphere, Nullable<Vector3>, Nullable<Single>, List<MyTriangle_Vertex_Normals>, Int32)
MyEntity.DoOverlapSphereTest(Single, Vector3D)
MyEntity.GetSmallestDistanceBetweenCameraAndBoundingSphere()
MyEntity.GetLargestDistanceBetweenCameraAndBoundingSphere()
MyEntity.GetDistanceBetweenCameraAndBoundingSphere()
MyEntity.GetDistanceBetweenPlayerPositionAndBoundingSphere()
MyEntity.GetDistanceBetweenCameraAndPosition()
MyEntity.GetBaseEntity()
MyEntity.OnReplicationStarted()
MyEntity.OnReplicationEnded()
MyEntity.SetFadeOut(Boolean)
MyEntity.AddToGamePruningStructure()
MyEntity.RemoveFromGamePruningStructure()
MyEntity.UpdateGamePruningStructure()
MyEntity.RaisePhysicsChanged()
MyEntity.Init(MyObjectBuilder_EntityBase)
MyEntity.BeforeGameLogicInit()
MyEntity.ClampToWorld()
MyEntity.Init(StringBuilder, String, MyEntity, Nullable<Single>, String)
MyEntity.Delete()
MyEntity.Close()
MyEntity.BeforeSave()
MyEntity.PrepareForDraw()
MyEntity.BeforePaste()
MyEntity.AfterPaste()
MyEntity.SetEmissiveParts(String, Color, Single)
MyEntity.SetEmissivePartsForSubparts(String, Color, Single)
MyEntity.UpdateNamedEmissiveParts(UInt32, String, Color, Single)
MyEntity.InstantiateSubpart(MyModelDummy, MyEntitySubpart.Data)
MyEntity.GetCubeBlockParent(MyEntity)
MyEntity.ToString()
MyEntity.GetInventoryBase(Int32)
MyEntity.GetInventoryBase()
MyEntity.SerializeControls(BitStream)
MyEntity.DeserializeControls(BitStream, Boolean)
MyEntity.ApplyLastControls()
MyEntity.ResetControls()
MyEntity.Pin()
MyEntity.Unpin()
MyEntity.UpdateSoundContactPoint(Int64, Vector3, Vector3, Vector3, Single)
MyEntity.IMyEntity.GetTopMostParent(Type)
MyEntity.IMyEntity.GetChildren(List<IMyEntity>, Func<IMyEntity, Boolean>)
MyEntity.IMyEntity.GetFriendlyName()
MyEntity.IMyEntity.Close()
MyEntity.IMyEntity.Delete()
MyEntity.IMyEntity.GetDiffuseColor()
MyEntity.IMyEntity.GetDistanceBetweenCameraAndBoundingSphere()
MyEntity.IMyEntity.GetDistanceBetweenCameraAndPosition()
MyEntity.IMyEntity.GetLargestDistanceBetweenCameraAndBoundingSphere()
MyEntity.IMyEntity.GetSmallestDistanceBetweenCameraAndBoundingSphere()
MyEntity.IMyEntity.GetIntersectionWithLineAndBoundingSphere(LineD, Single)
MyEntity.IMyEntity.GetIntersectionWithSphere(BoundingSphereD)
MyEntity.IMyEntity.GetInventory()
MyEntity.IMyEntity.GetInventory(Int32)
MyEntity.IMyEntity.GetTrianglesIntersectingSphere(BoundingSphere, Nullable<Vector3>, Nullable<Single>, List<MyTriangle_Vertex_Normals>, Int32)
MyEntity.IMyEntity.DoOverlapSphereTest(Single, Vector3D)
MyEntity.IMyEntity.GetObjectBuilder(Boolean)
MyEntity.IMyEntity.IsVisible()
MyEntity.IMyEntity.GetViewMatrix()
MyEntity.IMyEntity.GetWorldMatrixNormalizedInv()
MyEntity.IMyEntity.SetLocalMatrix(Matrix, Object)
MyEntity.IMyEntity.SetWorldMatrix(MatrixD, Object)
MyEntity.IMyEntity.SetPosition(Vector3D)
MyEntity.IMyEntity.EnableColorMaskForSubparts(Boolean)
MyEntity.IMyEntity.SetColorMaskForSubparts(Vector3)
MyEntity.IMyEntity.SetTextureChangesForSubparts(Dictionary<String, MyTextureChange>)
MyEntity.IMyEntity.SetTextureChangesForSubparts(Dictionary<MyStringId, MyTextureChange>)
MyEntity.IMyEntity.SetEmissiveParts(String, Color, Single)
MyEntity.IMyEntity.SetEmissivePartsForSubparts(String, Color, Single)
MyEntity.IMyEntity.GetInventory()
MyEntity.IMyEntity.GetInventory(Int32)
MyEntity.IMyEntity.GetPosition()
MyEntity.Components
MyEntity.Name
MyEntity.PositionComp
MyEntity.Render
MyEntity.GameLogic
MyEntity.EntityId
MyEntity.SyncObject
MyEntity.Storage
MyEntity.EntityStorage
MyEntity.Closed
MyEntity.MarkedForClose
MyEntity.MaxGlassDistSq
MyEntity.Save
MyEntity.IsPreview
MyEntity.IsReadyForReplication
MyEntity.NeedsUpdate
MyEntity.WorldMatrix
MyEntity.Parent
MyEntity.Hierarchy
MyEntity.IMyEntity.Hierarchy
MyEntity.IMyEntity.Physics
MyEntity.InvalidateOnMove
MyEntity.SyncFlag
MyEntity.NeedsWorldMatrix
MyEntity.InScene
MyEntity.IsVolumetric
MyEntity.LocationForHudMarker
MyEntity.Model
MyEntity.ModelCollision
MyEntity.DisplayName
MyEntity.DebugName
MyEntity.Subparts
MyEntity.IsCCDForProjectiles
MyEntity.Pinned
MyEntity.UpdateDuration
MyEntity.IsReplicated
MyEntity.InventoryCount
MyEntity.HasInventory
MyEntity.DisplayNameText
MyEntity.LastSnapshotFlags
MyEntity.Flags
MyEntity.IMyEntity.Parent
MyEntity.IMyEntity.Name
MyEntity.IMyEntity.DebugAsyncLoading
MyEntity.IMyEntity.DisplayName
MyEntity.IMyEntity.MarkedForClose
MyEntity.IMyEntity.Closed
MyEntity.IMyEntity.Model
MyEntity.IMyEntity.GameLogic
MyEntity.IMyEntity.NeedsUpdate
MyEntity.IMyEntity.NearFlag
MyEntity.IMyEntity.CastShadows
MyEntity.IMyEntity.FastCastShadowResolve
MyEntity.IMyEntity.NeedsResolveCastShadow
MyEntity.IMyEntity.MaxGlassDistSq
MyEntity.IMyEntity.NeedsDraw
MyEntity.IMyEntity.NeedsDrawFromParent
MyEntity.IMyEntity.Transparent
MyEntity.IMyEntity.ShadowBoxLod
MyEntity.IMyEntity.SkipIfTooSmall
MyEntity.IMyEntity.Storage
MyEntity.IMyEntity.Visible
MyEntity.IMyEntity.Save
MyEntity.IMyEntity.PersistentFlags
MyEntity.IMyEntity.InScene
MyEntity.IMyEntity.InvalidateOnMove
MyEntity.IMyEntity.IsCCDForProjectiles
MyEntity.IMyEntity.IsVolumetric
MyEntity.IMyEntity.LocalAABB
MyEntity.IMyEntity.LocalAABBHr
MyEntity.IMyEntity.LocalMatrix
MyEntity.IMyEntity.LocalVolume
MyEntity.IMyEntity.LocalVolumeOffset
MyEntity.IMyEntity.LocationForHudMarker
MyEntity.IMyEntity.Synchronized
MyEntity.IMyEntity.WorldMatrix
MyEntity.IMyEntity.WorldMatrixInvScaled
MyEntity.IMyEntity.WorldMatrixNormalizedInv
MyEntity.IMyEntity.ModelCollision
MyEntity.IMyEntity.HasInventory
MyEntity.IMyEntity.InventoryCount
MyEntity.IMyEntity.DisplayName
MyEntity.IMyEntity.Name
MyEntity.IMyEntity.WorldAABB
MyEntity.IMyEntity.WorldAABBHr
MyEntity.IMyEntity.WorldMatrix
MyEntity.IMyEntity.WorldVolume
MyEntity.IMyEntity.WorldVolumeHr
MyEntity.StopPhysicsActivation
MyEntity.OnMarkForClose
MyEntity.OnClose
MyEntity.OnClosing
MyEntity.OnModelRefresh
MyEntity.OnUpdateOnceBeforeNextFrame
MyEntity.OnDebugDraw
MyEntity.OnPhysicsChanged
MyEntity.OnPhysicsComponentChanged
MyEntity.AddedToScene
MyEntity.RemovedFromScene
MyEntity.OnTeleported
MyEntity.IMyEntity.OnClose
MyEntity.IMyEntity.OnClosing
MyEntity.IMyEntity.OnMarkForClose
MyEntity.IMyEntity.OnPhysicsChanged
Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game.dll
Syntax
[MyCubeBlockType]
[MyTerminalInterface]
public class MyDoor : MyDoorBase, IMyComponentOwner<MyIDModule>, IMyUpgradableBlock, IMyUpgradableBlock, IMyEventProxy, IMyEventOwner, IMySyncedEntity, IMyTieredUpdateBlock, IMyUpdateTimer, IMyTextSurfaceProvider, IMyMultiTextPanelComponentOwner, IMyTextPanelComponentOwner, IMyDoor, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyDoor, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity

Constructors

MyDoor()

Declaration
public MyDoor()

Fields

MaxOpen

Declaration
public float MaxOpen
Field Value
Type Description
System.Single

Properties

DisassembleRatio

Declaration
public override float DisassembleRatio { get; }
Property Value
Type Description
System.Single
Overrides
MyCubeBlock.DisassembleRatio

OpenRatio

Declaration
public float OpenRatio { get; }
Property Value
Type Description
System.Single

Methods

BeforeDelete()

Declaration
protected override void BeforeDelete()
Overrides
MyEntity.BeforeDelete()

CheckIsWorking()

Declaration
protected override bool CheckIsWorking()
Returns
Type Description
System.Boolean
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.CheckIsWorking()

Closing()

Declaration
protected override void Closing()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.Closing()

ContactCallbackInternal()

Declaration
public override void ContactCallbackInternal()
Overrides
MyDoorBase.ContactCallbackInternal()

EnableContactCallbacks()

Declaration
public override bool EnableContactCallbacks()
Returns
Type Description
System.Boolean
Overrides
MyDoorBase.EnableContactCallbacks()

GetObjectBuilderCubeBlock(Boolean)

Declaration
public override MyObjectBuilder_CubeBlock GetObjectBuilderCubeBlock(bool copy = false)
Parameters
Type Name Description
System.Boolean copy
Returns
Type Description
MyObjectBuilder_CubeBlock
Overrides
MyDoorBase.GetObjectBuilderCubeBlock(Boolean)

Init(MyObjectBuilder_CubeBlock, MyCubeGrid)

Declaration
public override void Init(MyObjectBuilder_CubeBlock builder, MyCubeGrid cubeGrid)
Parameters
Type Name Description
MyObjectBuilder_CubeBlock builder
MyCubeGrid cubeGrid
Overrides
MyDoorBase.Init(MyObjectBuilder_CubeBlock, MyCubeGrid)

IsClosing()

Declaration
public override bool IsClosing()
Returns
Type Description
System.Boolean
Overrides
MyDoorBase.IsClosing()

OnAddedToScene(Object)

Declaration
public override void OnAddedToScene(object source)
Parameters
Type Name Description
System.Object source
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.OnAddedToScene(System.Object)

OnBuildSuccess(Int64, Boolean)

Declaration
public override void OnBuildSuccess(long builtBy, bool instantBuild)
Parameters
Type Name Description
System.Int64 builtBy
System.Boolean instantBuild
Overrides
MyCubeBlock.OnBuildSuccess(Int64, Boolean)

OnCubeGridChanged(MyCubeGrid)

Declaration
public override void OnCubeGridChanged(MyCubeGrid oldGrid)
Parameters
Type Name Description
MyCubeGrid oldGrid
Overrides
MyCubeBlock.OnCubeGridChanged(MyCubeGrid)

OnEnabledChanged()

Declaration
protected override void OnEnabledChanged()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.OnEnabledChanged()

OnModelChange()

Declaration
public override void OnModelChange()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.OnModelChange()

OnOpenChanged(SyncBase)

Declaration
protected override void OnOpenChanged(SyncBase obj)
Parameters
Type Name Description
VRage.Sync.SyncBase obj
Overrides
MyDoorBase.OnOpenChanged(SyncBase)

OnRemovedFromScene(Object)

Declaration
public override void OnRemovedFromScene(object source)
Parameters
Type Name Description
System.Object source
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.OnRemovedFromScene(System.Object)

UpdateAfterSimulation()

Declaration
public override void UpdateAfterSimulation()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.UpdateAfterSimulation()

UpdateBeforeSimulation()

Declaration
public override void UpdateBeforeSimulation()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.UpdateBeforeSimulation()

UpdateOnceBeforeFrame()

Declaration
public override void UpdateOnceBeforeFrame()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.UpdateOnceBeforeFrame()

WorldPositionChanged(Object)

Declaration
protected override void WorldPositionChanged(object source)
Parameters
Type Name Description
System.Object source
Overrides
MyCubeBlock.WorldPositionChanged(Object)

Events

DoorStateChanged

Declaration
public event Action<bool> DoorStateChanged
Event Type
Type Description
System.Action<System.Boolean>

OnDoorClosed

Declaration
public event Action<IMyDoor> OnDoorClosed
Event Type
Type Description
System.Action<IMyDoor>

OnDoorOpened

Declaration
public event Action<IMyDoor> OnDoorOpened
Event Type
Type Description
System.Action<IMyDoor>

OnDoorStateChanged

Declaration
public event Action<IMyDoor, bool> OnDoorStateChanged
Event Type
Type Description
System.Action<IMyDoor, System.Boolean>

Explicit Interface Implementations

IMyDoor.IsFullyClosed

Declaration
bool IMyDoor.IsFullyClosed { get; }
Returns
Type Description
System.Boolean

IMyDoor.CloseDoor()

Declaration
void IMyDoor.CloseDoor()

IMyDoor.OpenDoor()

Declaration
void IMyDoor.OpenDoor()

IMyDoor.Status

Declaration
DoorStatus IMyDoor.Status { get; }
Returns
Type Description
DoorStatus

IMyDoor.ToggleDoor()

Declaration
void IMyDoor.ToggleDoor()

Implements

IMyComponentOwner<T>
IMyUpgradableBlock
IMyUpgradableBlock
IMyTextSurfaceProvider
IMyMultiTextPanelComponentOwner
IMyDoor
IMyFunctionalBlock
IMyTerminalBlock
IMyCubeBlock
IMyEntity
IMyDoor
IMyFunctionalBlock
IMyTerminalBlock
IMyCubeBlock
IMyEntity

Extension Methods

MyEntityInventoryOwnerExtensions.InventoryOwnerType(MyEntity)
MyEntityExtensions.GetPhysicsBody(MyEntity)
MyEntityExtensions.UpdateGamePruningStructure(MyEntity)
MyEntityExtensions.AddToGamePruningStructure(MyEntity)
MyEntityExtensions.RemoveFromGamePruningStructure(MyEntity)
MyEntityExtensions.EntityFactoryCreateObjectBuilder(MyEntity)
MyEntityExtensions.CreateDefaultSyncEntity(MyEntity)
MyEntityExtensions.AddNodeToWeldingGroups(MyEntity)
MyEntityExtensions.RemoveNodeFromWeldingGroups(MyEntity)
MyEntityExtensions.GetWeldingGroupNodes(MyEntity, List<MyEntity>)
MyEntityExtensions.WeldingGroupExists(MyEntity)
MyEntityExtensions.ProceduralWorldGeneratorTrackEntity(MyEntity)
MyEntityExtensions.TryGetInventory(MyEntity, out MyInventoryBase)
MyEntityExtensions.TryGetInventory(MyEntity, out MyInventory)
MyEntityExtensions.GetInventory(MyEntity, Int32)
MyEntityContainerEventExtensions.RaiseEntityEvent(MyEntity, MyStringHash, MyEntityContainerEventExtensions.EntityEventParams)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾