Namespace Sandbox.Game
Classes
BlockDamagedEvent
BlockEvent
BlockFunctionalityChangedEvent
ButtonPanelEvent
ConnectorStateChangedEvent
ContractAbandonedEvent
ContractAcceptedEvent
ContractFailedEvent
ContractFinishedEvent
CutsceneEvent
DoubleKeyPlayerEvent
FloatingObjectPlayerEvent
GameEnum
GridJumpedEvent
GridPowerGenerationStateChangedEvent
ItemSpawnedEvent
LandingGearUnlockedEvent
MatchStateChangedEvent
MatchStateEndedEvent
MatchStateEndingEvent
MatchStateStartedEvent
MyActivity
MyAutomaticRifleGunConstants
MyBasicGameInfo
MyBoulderInformation
MyCachedServerItem
MyCachedServerItem.MyServerData
MyCampaignManager
MyCharacterMovementSettings
MyCollisionParticleSettings
MyControlsSpace
MyCredits
MyCreditsDepartment
MyCreditsNotice
MyCreditsPerson
MyDebrisConstants
MyDecals
MyDestructionParticleSettings
MyDLCs
Class for storing DLC ids.
MyDrillConstants
MyEnergyConstants
MyExplosionFlags
MyExplosionInfo
MyExplosionInfoSimplified
MyExplosionParticlesTypeEnum
MyExplosions
MyExplosionsConstants
MyGridExplosion
This class is responsible for calculating damage from explosions It works by recursively raycasting from the point it needs to calculate to the explosion center. It does two types of raycast, 3D DDA raycasts for traversing grids (ships, stations) and Havok raycasts for traversing space between grids. For each block, it builds a stack of blocks that are between it and the explosion center and then calculates the damage for all blocks in this stack. It early exits if it encounters a block that was already calculated.