Space Engineers ModAPI Reference
Space Engineers ModAPI Reference
Namespaces
VRage.Game.ModAPI
IMyCubeBlock Interface
IMyCubeBlock Methods
AddUpgradeValue Method
CalcLocalMatrix Method
CalculateCurrentModel Method
DebugDraw Method
GetObjectBuilderCubeBlock Method
GetOwnerFactionTag Method
GetPlayerRelationToOwner Method
GetUserRelationToOwner Method
Init Method
OnBuildSuccess Method
OnDestroy Method
OnModelChange Method
OnRegisteredToGridSystems Method
OnRemovedByCubeBuilder Method
OnUnregisteredFromGridSystems Method
RaycastDetectors Method
ReloadDetectors Method
SetDamageEffect Method
UpdateIsWorking Method
UpdateVisual Method
IMyCubeBlock
OnDestroy Method
[This is preliminary documentation and is subject to change.]
Called when block is destroyed before being removed from grid
Namespace:
VRage.Game.ModAPI
Assembly:
VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
Copy
void
OnDestroy
()
See Also
Reference
IMyCubeBlock Interface
VRage.Game.ModAPI Namespace
Updated: 5/27/2016 6:59:01 PM