Assembly: Sandbox.Game.dll

public class MyShipWelderDefinition: MyShipToolDefinition

Fields

Member Description
static PCU_CONSTRUCTION_STAGE_COST Inherited from MyCubeBlockDefinition
ActionSound Inherited from MyCubeBlockDefinition
AimingOffset Inherited from MyCubeBlockDefinition
AllowInteractionThroughBlock Inherited from MyCubeBlockDefinition
AmmoExplosionEffect Inherited from MyCubeBlockDefinition
AmmoExplosionSound Inherited from MyCubeBlockDefinition
AutorotateMode Inherited from MyCubeBlockDefinition
AvailableInSurvival Inherited from MyDefinitionBase
BlockPairName Inherited from MyCubeBlockDefinition
BlockTopology Inherited from MyCubeBlockDefinition
BlockVariantsGroup Inherited from MyCubeBlockDefinition
Bones Inherited from MyCubeBlockDefinition
BuildMaterial Build material - always lower case (for walls - "stone", "wood").

Inherited from MyCubeBlockDefinition
BuildProgressModels Models used when building. They are sorted in ascending order according to their percentage.

Inherited from MyCubeBlockDefinition
BuildProgressToPlaceGeneratedBlocks Value of build progress when generated blocks start to generate.

Inherited from MyCubeBlockDefinition
BuildType Building type - always lower case (wall, ...).

Inherited from MyCubeBlockDefinition
Color Inherited from MyCubeBlockDefinition
Components Index 0 is first component on stack, the one which is build first and destroyed last.

Inherited from MyCubeBlockDefinition
Context Inherited from MyDefinitionBase
CriticalGroup Inherited from MyCubeBlockDefinition
CriticalIntegrityRatio Inherited from MyCubeBlockDefinition
CubeDefinition Inherited from MyCubeBlockDefinition
CubeSize Inherited from MyCubeBlockDefinition
DamagedSound Inherited from MyCubeBlockDefinition
DamageEffectID Inherited from MyCubeBlockDefinition
DamageEffectName Inherited from MyCubeBlockDefinition
DamageEffectOffset Inherited from MyCubeBlockDefinition
DamageMultiplierExplosion Inherited from MyCubeBlockDefinition
DamageThreshold Inherited from MyCubeBlockDefinition
DeformationRatio Inherited from MyCubeBlockDefinition
DepressurizationEffectOffset Inherited from MyCubeBlockDefinition
DescriptionArgs String used for shortcuts used in description

Inherited from MyDefinitionBase
DescriptionEnum Enum used for localization of description. Null for player created definitions.

Inherited from MyDefinitionBase
DescriptionString String used for user created description which do not have localization support.

Inherited from MyDefinitionBase
DestroyEffect Inherited from MyCubeBlockDefinition
DestroyEffectOffset Inherited from MyCubeBlockDefinition
DestroyEffectScale Inherited from MyCubeBlockDefinition
DestroySound Inherited from MyCubeBlockDefinition
DetonateChance Inherited from MyCubeBlockDefinition
DisassembleRatio Inherited from MyCubeBlockDefinition
DisplayNameVariant Inherited from MyCubeBlockDefinition
EdgeType Inherited from MyCubeBlockDefinition
Effects Inherited from MyCubeBlockDefinition
EmissiveColorPreset Inherited from MyCubeBlockDefinition
Enabled Definition can be disabled by mod, then it will be removed from definition manager

Inherited from MyDefinitionBase
EnableUseObjectSimpleTargeting Inherited from MyCubeBlockDefinition
EntityComponents Inherited from MyCubeBlockDefinition
Flare Inherited from MyShipToolDefinition
GeneralDamageMultiplier Inherited from MyCubeBlockDefinition
GeneratedBlockDefinitions Inherited from MyCubeBlockDefinition
GeneratedBlockType Inherited from MyCubeBlockDefinition
HasPhysics Inherited from MyCubeBlockDefinition
Icons Icons for the definition, they are used from top to bottom.

Inherited from MyDefinitionBase
Id Inherited from MyDefinitionBase
IntegrityPointsPerSec Inherited from MyCubeBlockDefinition
IsAirTight Inherited from MyCubeBlockDefinition
IsCubePressurized Inherited from MyCubeBlockDefinition
IsStandAlone Inherited from MyCubeBlockDefinition
Mass Inherited from MyPhysicalModelDefinition
MaxIntegrity Inherited from MyCubeBlockDefinition
MaxIntegrityRatio Inherited from MyCubeBlockDefinition
MechanicalTopInitialPlacementOffset Inherited from MyCubeBlockDefinition
Model Inherited from MyPhysicalModelDefinition
ModelOffset Inherited from MyCubeBlockDefinition
MountPoints Inherited from MyCubeBlockDefinition
OwnershipIntegrityRatio Inherited from MyCubeBlockDefinition
PCU Inherited from MyCubeBlockDefinition
PhysicalMaterial Inherited from MyPhysicalModelDefinition
PhysicsOption Inherited from MyCubeBlockDefinition
PlaceDecals Inherited from MyCubeBlockDefinition
PrimarySound Inherited from MyCubeBlockDefinition
Public Indicates if definition should be offered in Cube builder

Inherited from MyDefinitionBase
ScreenAreas Inherited from MyFunctionalBlockDefinition
SensorOffset Inherited from MyShipToolDefinition
SensorRadius Inherited from MyShipToolDefinition
SilenceableByShipSoundSystem Inherited from MyCubeBlockDefinition
SingleBlockGridVoxelPlacement Inherited from MyCubeBlockDefinition
Size Inherited from MyCubeBlockDefinition
Skeleton Inherited from MyCubeBlockDefinition
TagDefinition Inherited from MyCubeBlockDefinition
TieredUpdateTimes Inherited from MyCubeBlockDefinition
UniqueVersion Inherited from MyCubeBlockDefinition
UseInstanceRender Inherited from MyPhysicalModelDefinition
UseModelIntersection Inherited from MyCubeBlockDefinition
UseNeighbourOxygenRooms Flag used by GridGasSystem to determine if this block should exclude from creating pressurize room. If true, this block cannot be pressurize room itself. This is only valid for blocks which are bigger than 1x1x1, because otherwise they are excluded automatically.

Inherited from MyCubeBlockDefinition
UsesDeformation Inherited from MyCubeBlockDefinition
Variants Inherited from MyCubeBlockDefinition
VoxelPlacement Defines how much block can penetrate voxel.

Inherited from MyCubeBlockDefinition
WheelPlacementPlacementCollider Inherited from MyCubeBlockDefinition
YesNoToolbarBackground Inherited from MyCubeBlockDefinition
YesNoToolbarNoTooltip Explains what yes action does

Inherited from MyCubeBlockDefinition
YesNoToolbarYesTooltip Explains what yes action does

Inherited from MyCubeBlockDefinition
BlockStages Obsolete: Use new block variant group system

Array of block stages. Stage represents other block definition which have different UV mapping, mirrored model, etc (stone rounded corner...). Stages can be cycled when building cubes.

Inherited from MyCubeBlockDefinition

Properties

Member Description
Center Inherited from MyCubeBlockDefinition
DescriptionText Use this property when showing description in GUI, as it takes into account more complex description construction.

Inherited from MyDefinitionBase
Direction Allowed cube block directions.

Inherited from MyCubeBlockDefinition
DisplayNameEnum Enum used for localization of display name. Null for player created definitions.

Inherited from MyDefinitionBase
DisplayNameString String name used for user created definitions which do not have localization support.

Inherited from MyDefinitionBase
DisplayNameText Inherited from MyCubeBlockDefinition
DisplayNameText Use this property when showing name in GUI instead of DisplayName. This takes into account more complex name construction.

Inherited from MyDefinitionBase
DLCs Inherited from MyDefinitionBase
GuiVisible Inherited from MyCubeBlockDefinition
IsGeneratedBlock Inherited from MyCubeBlockDefinition
IsInventoryItem Inherited from MyCubeBlockDefinition
Mirrored Inherited from MyCubeBlockDefinition
MirroringBlock Inherited from MyCubeBlockDefinition
MirroringCenter Inherited from MyCubeBlockDefinition
NewsletterSubscriptionNeeded Inherited from MyCubeBlockDefinition
NotWorkingPriorityMultiplier Inherited from MyCubeBlockDefinition
PriorityModifier Inherited from MyCubeBlockDefinition
RandomRotation Inherited from MyCubeBlockDefinition
Rotation Allowed cube block rotations.

Inherited from MyCubeBlockDefinition
SimpleUpdateVisualOnSkinChange Inherited from MyCubeBlockDefinition
SymmetryX Inherited from MyCubeBlockDefinition
SymmetryY Inherited from MyCubeBlockDefinition
SymmetryZ Inherited from MyCubeBlockDefinition
TargetingGroups Inherited from MyCubeBlockDefinition
UseVanillaPlacementDetection Inherited from MyCubeBlockDefinition

Constructors

Member Description
MyShipWelderDefinition()
MyShipToolDefinition() Inherited from MyShipToolDefinition
MyFunctionalBlockDefinition() Inherited from MyFunctionalBlockDefinition
MyCubeBlockDefinition() Inherited from MyCubeBlockDefinition
MyPhysicalModelDefinition() Inherited from MyPhysicalModelDefinition
MyDefinitionBase() Inherited from MyDefinitionBase

Methods

Member Description
static ClearPreloadedConstructionModels() Inherited from MyCubeBlockDefinition
static GetMountPointWallIndex(Direction) Inherited from MyCubeBlockDefinition
static NormalToBlockSide(Vector3I) Inherited from MyCubeBlockDefinition
static PreloadConstructionModels(MyCubeBlockDefinition) Inherited from MyCubeBlockDefinition
CheckDefinitionDLCs(String[]) Checks if the definition has all required DLCs as it should have

Inherited from MyDefinitionBase
ClearTargetableCache() ModAPI: Should be called if you modify targeting groups.

Inherited from MyCubeBlockDefinition
ContainsComputer() Inherited from MyCubeBlockDefinition
FinalModelThreshold() Inherited from MyCubeBlockDefinition
GetBuildProgressModelIndex(float) Inherited from MyCubeBlockDefinition
GetBuildProgressModelMountPoints(float) Inherited from MyCubeBlockDefinition
GetGeneratedBlockDefinition(MyStringId) Inherited from MyCubeBlockDefinition
GetLimitType() Inherited from MyCubeBlockDefinition
GetObjectBuilder() Inherited from MyCubeBlockDefinition
GetObjectBuilder() Inherited from MyDefinitionBase
Init(MyObjectBuilder_DefinitionBase, MyModContext) Inherited from MyDefinitionBase
InitPressurization() Inherited from MyCubeBlockDefinition
IsTurretTargetable() Inherited from MyCubeBlockDefinition
MatchingTurretTargetingGroup(MyStringHash) Inherited from MyCubeBlockDefinition
ModelChangeIsNeeded(float, float) Tells, whether a model change is needed, if the block changes integrity from A to B or vice versa.

Inherited from MyCubeBlockDefinition
MountPointLocalNormalToBlockLocal(Vector3, Direction) Inherited from MyCubeBlockDefinition
MountPointLocalToBlockLocal(Vector3, Direction) Inherited from MyCubeBlockDefinition
Postprocess() Override this in case you want to do some postprocessing of the definition before the game starts. Prefer to use MyDefinitionPostprocessor instead.Postprocess is useful if you want to process the definition before the game begins,

but you only want to do it when all the definitions are loaded and merged.

Inherited from MyDefinitionBase
RatioEnoughForDamageEffect(float) Inherited from MyCubeBlockDefinition
RatioEnoughForOwnership(float) Inherited from MyCubeBlockDefinition
ToString() Inherited from MyDefinitionBase

Inheritance: MyDefinitionBase ˃ MyPhysicalModelDefinition ˃ MyCubeBlockDefinition ˃ MyFunctionalBlockDefinition ˃ MyShipToolDefinition