Space Engineers
|
Classes | |
class | BuildProgressModel |
class | Component |
struct | MountPoint |
Public Member Functions | |
override MyObjectBuilder_DefinitionBase | GetObjectBuilder () |
bool | RatioEnoughForOwnership (float ratio) |
bool | RatioEnoughForDamageEffect (float ratio) |
bool | ModelChangeIsNeeded (float percentageA, float percentageB) |
Tells, whether a model change is needed, if the block changes integrity from A to B or vice versa. More... | |
float | FinalModelThreshold () |
Vector3 | MountPointLocalToBlockLocal (Vector3 coord, Base6Directions.Direction mountPointDirection) |
Vector3 | MountPointLocalNormalToBlockLocal (Vector3 normal, Base6Directions.Direction mountPointDirection) |
MountPoint[] | GetBuildProgressModelMountPoints (float currentIntegrityRatio) |
void | InitPressurization () |
void | InitNavigationInfo (MyObjectBuilder_CubeBlockDefinition blockDef, string infoSubtypeId) |
bool | ContainsComputer () |
MyCubeBlockDefinition | GetGeneratedBlockDefinition (MyStringId additionalModelType) |
Public Member Functions inherited from VRage.Game.MyDefinitionBase | |
void | Init (MyObjectBuilder_DefinitionBase builder, MyModContext modContext) |
virtual void | Postprocess () |
Override this in case you want to do some postprocessing of the definition before the game starts. More... | |
void | Save (string filepath) |
override string | ToString () |
Static Public Member Functions | |
static int | GetMountPointWallIndex (Base6Directions.Direction direction) |
static BlockSideEnum | NormalToBlockSide (Vector3I normal) |
Public Attributes | |
MyCubeSize | CubeSize |
MyBlockTopology | BlockTopology = MyBlockTopology.TriangleMesh |
Vector3I | Size |
Vector3 | ModelOffset |
bool | UseModelIntersection = false |
MyCubeDefinition | CubeDefinition |
bool | SilenceableByShipSoundSystem = false |
Component[] | Components |
Index 0 is first component on stack, the one which is build first and destroyed last. More... | |
UInt16 | CriticalGroup |
float | CriticalIntegrityRatio |
float | OwnershipIntegrityRatio |
float | MaxIntegrityRatio |
float | MaxIntegrity |
int | DamageEffectID = null |
string | DestroyEffect = "" |
MySoundPair | DestroySound = MySoundPair.Empty |
CubeBlockEffectBase[] | Effects |
MountPoint[] | MountPoints |
Dictionary< Vector3I, Dictionary< Vector3I, bool > > | IsCubePressurized |
MyBlockNavigationDefinition | NavigationDefinition |
Color | Color |
List< MyCubeBlockDefinition > | Variants = new List<MyCubeBlockDefinition>() |
MyCubeBlockDefinition | UniqueVersion |
MyPhysicsOption | PhysicsOption |
MyStringId | DisplayNameVariant |
string | BlockPairName |
float | DeformationRatio |
float | IntegrityPointsPerSec |
string | EdgeType |
List< BoneInfo > | Skeleton |
Dictionary< Vector3I, Vector3 > | Bones |
bool | IsAirTight = false |
MyStringId | BuildType |
Building type - always lower case (wall, ...). More... | |
string | BuildMaterial |
Build material - always lower case (for walls - "stone", "wood"). More... | |
MyDefinitionId[] | GeneratedBlockDefinitions |
MyStringId | GeneratedBlockType |
float | BuildProgressToPlaceGeneratedBlocks |
Value of build progress when generated blocks start to generate. More... | |
bool | CreateFracturedPieces |
string[] | CompoundTemplates |
bool | CompoundEnabled |
string | MultiBlock |
Dictionary< string, MyDefinitionId > | SubBlockDefinitions |
Map from dummy name subblock definition. More... | |
MyDefinitionId[] | BlockStages |
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. More... | |
BuildProgressModel[] | BuildProgressModels |
Models used when building. They are sorted in ascending order according to their percentage. More... | |
float | DisassembleRatio |
MyAutorotateMode | AutorotateMode |
MySoundPair | PrimarySound |
MySoundPair | ActionSound |
MySoundPair | DamagedSound |
int | Points |
Dictionary< string, MyObjectBuilder_ComponentBase > | EntityComponents = null |
VoxelPlacementOverride | VoxelPlacement |
Defines how much block can penetrate voxel. More... | |
Public Attributes inherited from Sandbox.Definitions.MyPhysicalModelDefinition | |
string | Model |
MyPhysicalMaterialDefinition | PhysicalMaterial |
float | Mass |
Public Attributes inherited from VRage.Game.MyDefinitionBase | |
MyDefinitionId | Id |
MyStringId | DisplayNameEnum |
Enum used for localization of display name. Null for player created definitions. More... | |
MyStringId | DescriptionEnum |
Enum used for localization of description. Null for player created definitions. More... | |
String | DisplayNameString |
String name used for user created definitions which do not have localization support. More... | |
String | DescriptionString |
String used for user created description which do not have localization support. More... | |
string[] | Icons |
Icons for the definition, they are used from top to bottom. More... | |
bool | Enabled = true |
Definition can be disabled by mod, then it will be removed from definition manager More... | |
bool | Public = true |
Indicates if definition should be offered in Cube builder More... | |
bool | AvailableInSurvival |
MyModContext | Context |
Protected Member Functions | |
override void | Init (MyObjectBuilder_DefinitionBase builder) |
Protected Member Functions inherited from Sandbox.Definitions.MyPhysicalModelDefinition | |
override void | Init (MyObjectBuilder_DefinitionBase builder) |
Properties | |
MyBlockDirection | Direction [get] |
Allowed cube block directions. More... | |
MyBlockRotation | Rotation [get] |
Allowed cube block rotations. More... | |
bool | IsGeneratedBlock [get] |
Vector3I | Center [get] |
MySymmetryAxisEnum | SymmetryX [get] |
MySymmetryAxisEnum | SymmetryY [get] |
MySymmetryAxisEnum | SymmetryZ [get] |
string | MirroringBlock [get] |
override String | DisplayNameText [get] |
bool | GuiVisible [get] |
bool | Mirrored [get] |
bool | RandomRotation [get] |
Properties inherited from VRage.Game.MyDefinitionBase | |
virtual String | DisplayNameText [get] |
Use this property when showing name in GUI instead of DisplayName. This takes into account more complex name construction. More... | |
virtual String | DescriptionText [get] |
Use this property when showing description in GUI, as it takes into account more complex description construction. More... | |
Definition at line 163 of file MyCubeBlockDefinition.cs.
|
inline |
Definition at line 1158 of file MyCubeBlockDefinition.cs.
|
inline |
Definition at line 792 of file MyCubeBlockDefinition.cs.
|
inline |
Definition at line 1034 of file MyCubeBlockDefinition.cs.
|
inline |
Definition at line 1164 of file MyCubeBlockDefinition.cs.
|
inlinestatic |
Definition at line 857 of file MyCubeBlockDefinition.cs.
|
inlinevirtual |
Reimplemented from VRage.Game.MyDefinitionBase.
Definition at line 678 of file MyCubeBlockDefinition.cs.
|
inlineprotectedvirtual |
Reimplemented from VRage.Game.MyDefinitionBase.
Reimplemented in Sandbox.Definitions.MyThrustDefinition, Sandbox.Definitions.MyReactorDefinition, Sandbox.Definitions.MyProductionBlockDefinition, Sandbox.Definitions.MyLaserAntennaDefinition, Sandbox.Definitions.MyMedicalRoomDefinition, Sandbox.Definitions.MyOxygenGeneratorDefinition, Sandbox.Definitions.MyShipControllerDefinition, Sandbox.Definitions.MyLightingBlockDefinition, Sandbox.Definitions.MyRefineryDefinition, Sandbox.Definitions.MyLargeTurretBaseDefinition, Sandbox.Definitions.MyOxygenFarmDefinition, Sandbox.Definitions.MyMotorSuspensionDefinition, Sandbox.Definitions.MySolarPanelDefinition, Sandbox.Definitions.MyGravityGeneratorSphereDefinition, Sandbox.Definitions.MyJumpDriveDefinition, Sandbox.Definitions.MyLandingGearDefinition, Sandbox.Definitions.MyMergeBlockDefinition, Sandbox.Definitions.MySpaceBallDefinition, Sandbox.Definitions.MyMechanicalConnectionBlockBaseDefinition, Sandbox.Definitions.MyMotorStatorDefinition, Sandbox.Definitions.MyReflectorBlockDefinition, Sandbox.Definitions.MyShipDrillDefinition, Sandbox.Definitions.MyWeaponBlockDefinition, Sandbox.Definitions.MyDoorDefinition, Sandbox.Definitions.MyGasTankDefinition, Sandbox.Definitions.MyMissileLauncherDefinition, Sandbox.Definitions.MyPistonBaseDefinition, Sandbox.Definitions.MyTimerBlockDefinition, Sandbox.Definitions.MyGravityGeneratorBaseDefinition, Sandbox.Definitions.MyGravityGeneratorDefinition, Sandbox.Definitions.MyProjectorDefinition, Sandbox.Definitions.MySensorBlockDefinition, Sandbox.Definitions.MyTextPanelDefinition, Sandbox.Definitions.MyVirtualMassDefinition, Sandbox.Definitions.MyGyroDefinition, Sandbox.Definitions.MyMotorAdvancedStatorDefinition, Sandbox.Definitions.MyPowerProducerDefinition, Sandbox.Definitions.MyWarheadDefinition, Sandbox.Definitions.MyOreDetectorDefinition, Sandbox.Definitions.MyPoweredCargoContainerDefinition, Sandbox.Definitions.MyProgrammableBlockDefinition, Sandbox.Definitions.MyRadioAntennaDefinition, Sandbox.Definitions.MyRemoteControlDefinition, Sandbox.Definitions.MySoundBlockDefinition, and SpaceEngineers.Definitions.MyUpgradeModuleDefinition.
Definition at line 416 of file MyCubeBlockDefinition.cs.
|
inline |
Definition at line 1115 of file MyCubeBlockDefinition.cs.
|
inline |
Definition at line 1048 of file MyCubeBlockDefinition.cs.
|
inline |
Tells, whether a model change is needed, if the block changes integrity from A to B or vice versa.
Definition at line 772 of file MyCubeBlockDefinition.cs.
|
inline |
Definition at line 871 of file MyCubeBlockDefinition.cs.
|
inline |
Definition at line 862 of file MyCubeBlockDefinition.cs.
|
inlinestatic |
Definition at line 879 of file MyCubeBlockDefinition.cs.
|
inline |
Definition at line 764 of file MyCubeBlockDefinition.cs.
|
inline |
Definition at line 759 of file MyCubeBlockDefinition.cs.
MySoundPair Sandbox.Definitions.MyCubeBlockDefinition.ActionSound |
Definition at line 380 of file MyCubeBlockDefinition.cs.
MyAutorotateMode Sandbox.Definitions.MyCubeBlockDefinition.AutorotateMode |
Definition at line 371 of file MyCubeBlockDefinition.cs.
string Sandbox.Definitions.MyCubeBlockDefinition.BlockPairName |
Definition at line 284 of file MyCubeBlockDefinition.cs.
MyDefinitionId [] Sandbox.Definitions.MyCubeBlockDefinition.BlockStages |
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.
Definition at line 338 of file MyCubeBlockDefinition.cs.
MyBlockTopology Sandbox.Definitions.MyCubeBlockDefinition.BlockTopology = MyBlockTopology.TriangleMesh |
Definition at line 252 of file MyCubeBlockDefinition.cs.
Definition at line 291 of file MyCubeBlockDefinition.cs.
string Sandbox.Definitions.MyCubeBlockDefinition.BuildMaterial |
Build material - always lower case (for walls - "stone", "wood").
Definition at line 303 of file MyCubeBlockDefinition.cs.
BuildProgressModel [] Sandbox.Definitions.MyCubeBlockDefinition.BuildProgressModels |
Models used when building. They are sorted in ascending order according to their percentage.
Definition at line 343 of file MyCubeBlockDefinition.cs.
float Sandbox.Definitions.MyCubeBlockDefinition.BuildProgressToPlaceGeneratedBlocks |
Value of build progress when generated blocks start to generate.
Definition at line 321 of file MyCubeBlockDefinition.cs.
MyStringId Sandbox.Definitions.MyCubeBlockDefinition.BuildType |
Building type - always lower case (wall, ...).
Definition at line 298 of file MyCubeBlockDefinition.cs.
Color Sandbox.Definitions.MyCubeBlockDefinition.Color |
Definition at line 279 of file MyCubeBlockDefinition.cs.
Component [] Sandbox.Definitions.MyCubeBlockDefinition.Components |
Index 0 is first component on stack, the one which is build first and destroyed last.
Definition at line 263 of file MyCubeBlockDefinition.cs.
bool Sandbox.Definitions.MyCubeBlockDefinition.CompoundEnabled |
Definition at line 326 of file MyCubeBlockDefinition.cs.
string [] Sandbox.Definitions.MyCubeBlockDefinition.CompoundTemplates |
Definition at line 325 of file MyCubeBlockDefinition.cs.
bool Sandbox.Definitions.MyCubeBlockDefinition.CreateFracturedPieces |
Definition at line 323 of file MyCubeBlockDefinition.cs.
UInt16 Sandbox.Definitions.MyCubeBlockDefinition.CriticalGroup |
Definition at line 264 of file MyCubeBlockDefinition.cs.
float Sandbox.Definitions.MyCubeBlockDefinition.CriticalIntegrityRatio |
Definition at line 266 of file MyCubeBlockDefinition.cs.
MyCubeDefinition Sandbox.Definitions.MyCubeBlockDefinition.CubeDefinition |
Definition at line 256 of file MyCubeBlockDefinition.cs.
MyCubeSize Sandbox.Definitions.MyCubeBlockDefinition.CubeSize |
Definition at line 251 of file MyCubeBlockDefinition.cs.
MySoundPair Sandbox.Definitions.MyCubeBlockDefinition.DamagedSound |
Definition at line 381 of file MyCubeBlockDefinition.cs.
int Sandbox.Definitions.MyCubeBlockDefinition.DamageEffectID = null |
Definition at line 271 of file MyCubeBlockDefinition.cs.
float Sandbox.Definitions.MyCubeBlockDefinition.DeformationRatio |
Definition at line 285 of file MyCubeBlockDefinition.cs.
string Sandbox.Definitions.MyCubeBlockDefinition.DestroyEffect = "" |
Definition at line 272 of file MyCubeBlockDefinition.cs.
MySoundPair Sandbox.Definitions.MyCubeBlockDefinition.DestroySound = MySoundPair.Empty |
Definition at line 273 of file MyCubeBlockDefinition.cs.
float Sandbox.Definitions.MyCubeBlockDefinition.DisassembleRatio |
Definition at line 370 of file MyCubeBlockDefinition.cs.
MyStringId Sandbox.Definitions.MyCubeBlockDefinition.DisplayNameVariant |
Definition at line 283 of file MyCubeBlockDefinition.cs.
string Sandbox.Definitions.MyCubeBlockDefinition.EdgeType |
Definition at line 288 of file MyCubeBlockDefinition.cs.
CubeBlockEffectBase [] Sandbox.Definitions.MyCubeBlockDefinition.Effects |
Definition at line 274 of file MyCubeBlockDefinition.cs.
Dictionary<string, MyObjectBuilder_ComponentBase> Sandbox.Definitions.MyCubeBlockDefinition.EntityComponents = null |
Definition at line 388 of file MyCubeBlockDefinition.cs.
MyDefinitionId [] Sandbox.Definitions.MyCubeBlockDefinition.GeneratedBlockDefinitions |
Definition at line 314 of file MyCubeBlockDefinition.cs.
MyStringId Sandbox.Definitions.MyCubeBlockDefinition.GeneratedBlockType |
Definition at line 315 of file MyCubeBlockDefinition.cs.
float Sandbox.Definitions.MyCubeBlockDefinition.IntegrityPointsPerSec |
Definition at line 286 of file MyCubeBlockDefinition.cs.
bool Sandbox.Definitions.MyCubeBlockDefinition.IsAirTight = false |
Definition at line 293 of file MyCubeBlockDefinition.cs.
Dictionary<Vector3I, Dictionary<Vector3I, bool> > Sandbox.Definitions.MyCubeBlockDefinition.IsCubePressurized |
Definition at line 277 of file MyCubeBlockDefinition.cs.
float Sandbox.Definitions.MyCubeBlockDefinition.MaxIntegrity |
Definition at line 269 of file MyCubeBlockDefinition.cs.
float Sandbox.Definitions.MyCubeBlockDefinition.MaxIntegrityRatio |
Definition at line 268 of file MyCubeBlockDefinition.cs.
Vector3 Sandbox.Definitions.MyCubeBlockDefinition.ModelOffset |
Definition at line 254 of file MyCubeBlockDefinition.cs.
MountPoint [] Sandbox.Definitions.MyCubeBlockDefinition.MountPoints |
Definition at line 276 of file MyCubeBlockDefinition.cs.
string Sandbox.Definitions.MyCubeBlockDefinition.MultiBlock |
Definition at line 328 of file MyCubeBlockDefinition.cs.
MyBlockNavigationDefinition Sandbox.Definitions.MyCubeBlockDefinition.NavigationDefinition |
Definition at line 278 of file MyCubeBlockDefinition.cs.
float Sandbox.Definitions.MyCubeBlockDefinition.OwnershipIntegrityRatio |
Definition at line 267 of file MyCubeBlockDefinition.cs.
MyPhysicsOption Sandbox.Definitions.MyCubeBlockDefinition.PhysicsOption |
Definition at line 282 of file MyCubeBlockDefinition.cs.
int Sandbox.Definitions.MyCubeBlockDefinition.Points |
Definition at line 383 of file MyCubeBlockDefinition.cs.
MySoundPair Sandbox.Definitions.MyCubeBlockDefinition.PrimarySound |
Definition at line 379 of file MyCubeBlockDefinition.cs.
bool Sandbox.Definitions.MyCubeBlockDefinition.SilenceableByShipSoundSystem = false |
Definition at line 257 of file MyCubeBlockDefinition.cs.
Vector3I Sandbox.Definitions.MyCubeBlockDefinition.Size |
Definition at line 253 of file MyCubeBlockDefinition.cs.
List<BoneInfo> Sandbox.Definitions.MyCubeBlockDefinition.Skeleton |
Definition at line 290 of file MyCubeBlockDefinition.cs.
Dictionary<string, MyDefinitionId> Sandbox.Definitions.MyCubeBlockDefinition.SubBlockDefinitions |
Map from dummy name subblock definition.
Definition at line 333 of file MyCubeBlockDefinition.cs.
MyCubeBlockDefinition Sandbox.Definitions.MyCubeBlockDefinition.UniqueVersion |
Definition at line 281 of file MyCubeBlockDefinition.cs.
bool Sandbox.Definitions.MyCubeBlockDefinition.UseModelIntersection = false |
Definition at line 255 of file MyCubeBlockDefinition.cs.
List<MyCubeBlockDefinition> Sandbox.Definitions.MyCubeBlockDefinition.Variants = new List<MyCubeBlockDefinition>() |
Definition at line 280 of file MyCubeBlockDefinition.cs.
VoxelPlacementOverride Sandbox.Definitions.MyCubeBlockDefinition.VoxelPlacement |
Defines how much block can penetrate voxel.
Definition at line 414 of file MyCubeBlockDefinition.cs.
|
get |
Definition at line 346 of file MyCubeBlockDefinition.cs.
|
get |
Allowed cube block directions.
Definition at line 308 of file MyCubeBlockDefinition.cs.
|
get |
Definition at line 391 of file MyCubeBlockDefinition.cs.
|
get |
Definition at line 407 of file MyCubeBlockDefinition.cs.
|
get |
Definition at line 316 of file MyCubeBlockDefinition.cs.
|
get |
Definition at line 408 of file MyCubeBlockDefinition.cs.
|
get |
Definition at line 374 of file MyCubeBlockDefinition.cs.
|
get |
Definition at line 409 of file MyCubeBlockDefinition.cs.
|
get |
Allowed cube block rotations.
Definition at line 312 of file MyCubeBlockDefinition.cs.
|
get |
Definition at line 352 of file MyCubeBlockDefinition.cs.
|
get |
Definition at line 358 of file MyCubeBlockDefinition.cs.
|
get |
Definition at line 364 of file MyCubeBlockDefinition.cs.