Space Engineers ModAPI Reference
Space Engineers ModAPI Reference
Namespaces
VRage.Game.Entity
MyEntity Class
MyEntity Methods
AddDebugRenderComponent Method
AddToGamePruningStructure Method
AfterPaste Method
BeforePaste Method
BeforeSave Method
ClearDebugRenderComponents Method
Close Method
CreateSync Method
DebugDraw Method
DebugDrawInvalidTriangles Method
DebugDrawPhysics Method
Delete Method
DoOverlapSphereTest Method
GetBaseEntity Method
GetDistanceBetweenCameraAndBoundingSphere Method
GetDistanceBetweenCameraAndPosition Method
GetDistanceBetweenPlayerPositionAndBoundingSphere Method
GetFriendlyName Method
GetHudParams Method
GetIntersectionWithLine Method
GetIntersectionWithLineAndBoundingSphere Method
GetIntersectionWithSphere Method
GetInventoryBase Method
GetLargestDistanceBetweenCameraAndBoundingSphere Method
GetObjectBuilder Method
GetSmallestDistanceBetweenCameraAndBoundingSphere Method
GetSubpart Method
GetTopMostParent Method
GetTrianglesIntersectingSphere Method
GetViewMatrix Method
IMyEntity.Close Method
IMyEntity.Delete Method
IMyEntity.DoOverlapSphereTest Method
IMyEntity.EnableColorMaskForSubparts Method
IMyEntity.GetChildren Method
IMyEntity.GetDiffuseColor Method
IMyEntity.GetDistanceBetweenCameraAndBoundingSphere Method
IMyEntity.GetDistanceBetweenCameraAndPosition Method
IMyEntity.GetFriendlyName Method
IMyEntity.GetIntersectionWithLineAndBoundingSphere Method
IMyEntity.GetIntersectionWithSphere Method
IMyEntity.GetLargestDistanceBetweenCameraAndBoundingSphere Method
IMyEntity.GetObjectBuilder Method
IMyEntity.GetPosition Method
IMyEntity.GetSmallestDistanceBetweenCameraAndBoundingSphere Method
IMyEntity.GetTopMostParent Method
IMyEntity.GetTrianglesIntersectingSphere Method
IMyEntity.GetViewMatrix Method
IMyEntity.GetWorldMatrixNormalizedInv Method
IMyEntity.IsVisible Method
IMyEntity.SetColorMaskForSubparts Method
IMyEntity.SetEmissiveParts Method
IMyEntity.SetEmissivePartsForSubparts Method
IMyEntity.SetLocalMatrix Method
IMyEntity.SetPosition Method
IMyEntity.SetWorldMatrix Method
Init Method
OnAddedToScene Method
OnRemovedFromScene Method
PrepareForDraw Method
RaisePhysicsChanged Method
RefreshModels Method
RemoveFromGamePruningStructure Method
SetEmissiveParts Method
SetEmissivePartsForSubparts Method
SetSpeedsAccordingToServerValues Method
ToString Method
TryGetSubpart Method
UpdateAfterSimulation Method
UpdateAfterSimulation10 Method
UpdateAfterSimulation100 Method
UpdateBeforeSimulation Method
UpdateBeforeSimulation10 Method
UpdateBeforeSimulation100 Method
UpdateGamePruningStructure Method
UpdateOnceBeforeFrame Method
UpdatingStopped Method
MyEntity
BeforeSave Method
[This is preliminary documentation and is subject to change.]
Called before method GetObjectBuilder, when saving sector
Namespace:
VRage.Game.Entity
Assembly:
VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
Copy
public
virtual
void
BeforeSave
()
Implements
IMyEntity
BeforeSave
See Also
Reference
MyEntity Class
VRage.Game.Entity Namespace
Updated: 5/27/2016 6:59:01 PM