Show / Hide Table of Contents

Class MyDoorBase

GR: Added this class to be used as a base for all door classes. Added only very basic functionallity no new definitions or object builders. The main issue was that door actions (open / close) couldn't be used in groups because they were not inheriting from same class. Instead were inheriting directly from MyFunctionalBlock so this class is used in between for common attributes.

Inheritance
System.Object
MyEntity
MyCubeBlock
Sandbox.Game.Entities.Cube.MySyncedBlock
Sandbox.Game.Entities.Cube.MyTerminalBlock
Sandbox.Game.Entities.Cube.MyFunctionalBlock
MyDoorBase
MyAdvancedDoor
MyAirtightDoorGeneric
MyDoor
Implements
IMyComponentOwner<MyIDModule>
IMyUpgradableBlock
IMyUpgradableBlock
IMyTextSurfaceProvider
IMyMultiTextPanelComponentOwner
IMyFunctionalBlock
IMyFunctionalBlock
IMyTerminalBlock
IMyTerminalBlock
IMyCubeBlock
IMyCubeBlock
IMyEntity
IMyEntity
Inherited Members
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.CheckIsWorking()
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.OnAddedToScene(Object)
MyCubeBlock.OnRemovedFromScene(Object)
MyCubeBlock.ConnectionAllowed(Vector3I, Vector3I, MyCubeBlockDefinition)
MyCubeBlock.ConnectionAllowed(Vector3I, Vector3I, Vector3I, MyCubeBlockDefinition)
MyCubeBlock.WorldPositionChanged(Object)
MyCubeBlock.Closing()
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.UpdateOnceBeforeFrame()
MyCubeBlock.UpdateBeforeSimulation10()
MyCubeBlock.UpdateBeforeSimulation()
MyCubeBlock.OnBuildSuccess(Int64, Boolean)
MyCubeBlock.OnRemovedByCubeBuilder()
MyCubeBlock.OnRegisteredToGridSystems()
MyCubeBlock.OnUnregisteredFromGridSystems()
MyCubeBlock.ContactPointCallback(MyGridContactInfo)
MyCubeBlock.OnDestroy()
MyCubeBlock.OnModelChange()
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.OnCubeGridChanged(MyCubeGrid)
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.DisassembleRatio
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.UpdateAfterSimulation()
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.BeforeDelete()
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]
public abstract class MyDoorBase : MyFunctionalBlock, IMyComponentOwner<MyIDModule>, IMyUpgradableBlock, IMyUpgradableBlock, IMyEventProxy, IMyEventOwner, IMySyncedEntity, IMyTieredUpdateBlock, IMyUpdateTimer, IMyTextSurfaceProvider, IMyMultiTextPanelComponentOwner, IMyTextPanelComponentOwner, IMyFunctionalBlock, IMyFunctionalBlock, IMyTerminalBlock, IMyTerminalBlock, IMyCubeBlock, IMyCubeBlock, IMyEntity, IMyEntity

Constructors

MyDoorBase()

Declaration
public MyDoorBase()

Properties

AnyoneCanUse

Declaration
public bool AnyoneCanUse { get; set; }
Property Value
Type Description
System.Boolean

HighlightMode

Declaration
public override MyCubeBlockHighlightModes HighlightMode { get; }
Property Value
Type Description
MyCubeBlockHighlightModes
Overrides
MyCubeBlock.HighlightMode

Open

Declaration
public bool Open { get; set; }
Property Value
Type Description
System.Boolean

Methods

ContactCallbackInternal()

Declaration
public virtual void ContactCallbackInternal()

CreateSubpartConstraint(MyEntity, out HkFixedConstraintData, out HkConstraint)

Declaration
protected void CreateSubpartConstraint(MyEntity subpart, out HkFixedConstraintData constraintData, out HkConstraint constraint)
Parameters
Type Name Description
MyEntity subpart
Havok.HkFixedConstraintData constraintData
Havok.HkConstraint constraint

CreateTerminalControls()

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

DisposeSubpartConstraint(ref HkConstraint, ref HkFixedConstraintData)

Declaration
protected void DisposeSubpartConstraint(ref HkConstraint constraint, ref HkFixedConstraintData constraintData)
Parameters
Type Name Description
Havok.HkConstraint constraint
Havok.HkFixedConstraintData constraintData

EnableContactCallbacks()

Declaration
public virtual bool EnableContactCallbacks()
Returns
Type Description
System.Boolean

GetObjectBuilderCubeBlock(Boolean)

Declaration
public override MyObjectBuilder_CubeBlock GetObjectBuilderCubeBlock(bool copy = false)
Parameters
Type Name Description
System.Boolean copy
Returns
Type Description
MyObjectBuilder_CubeBlock
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.GetObjectBuilderCubeBlock(System.Boolean)

Init(MyObjectBuilder_CubeBlock, MyCubeGrid)

Declaration
public override void Init(MyObjectBuilder_CubeBlock objectBuilder, MyCubeGrid cubeGrid)
Parameters
Type Name Description
MyObjectBuilder_CubeBlock objectBuilder
MyCubeGrid cubeGrid
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.Init(VRage.Game.MyObjectBuilder_CubeBlock, Sandbox.Game.Entities.MyCubeGrid)

IsClosing()

Declaration
public abstract bool IsClosing()
Returns
Type Description
System.Boolean

OnOpenChanged(SyncBase)

Declaration
protected virtual void OnOpenChanged(SyncBase obj)
Parameters
Type Name Description
VRage.Sync.SyncBase obj

SetOpenLocalValue(Boolean)

Declaration
protected void SetOpenLocalValue(bool value)
Parameters
Type Name Description
System.Boolean value

SetOpenRequest(Boolean, Int64)

Declaration
public void SetOpenRequest(bool open, long identityId)
Parameters
Type Name Description
System.Boolean open
System.Int64 identityId

SetupDoorSubpart(MyEntitySubpart, Int32, Boolean)

Declaration
protected static void SetupDoorSubpart(MyEntitySubpart subpart, int havokCollisionSystemID, bool refreshInPlace)
Parameters
Type Name Description
MyEntitySubpart subpart
System.Int32 havokCollisionSystemID
System.Boolean refreshInPlace

Events

OpenChanged

Declaration
public event Action<MyDoorBase> OpenChanged
Event Type
Type Description
System.Action<MyDoorBase>

Implements

IMyComponentOwner<T>
IMyUpgradableBlock
IMyUpgradableBlock
IMyTextSurfaceProvider
IMyMultiTextPanelComponentOwner
IMyFunctionalBlock
IMyFunctionalBlock
IMyTerminalBlock
IMyTerminalBlock
IMyCubeBlock
IMyCubeBlock
IMyEntity
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
☀
☾