Space Engineers
|
Public Attributes | |
Vector3 | Size |
float | Mass |
string | Model |
string[] | Models |
MyStringId | IconSymbol |
float | Volume |
float | ModelVolume |
MyStringHash | PhysicalMaterial |
MyStringHash | VoxelMaterial |
bool | CanSpawnFromScreen |
bool | RotateOnSpawnX = false |
bool | RotateOnSpawnY = false |
bool | RotateOnSpawnZ = false |
int | Health |
MyDefinitionId | DestroyedPieceId = null |
int | DestroyedPieces = 0 |
StringBuilder | ExtraInventoryTooltipLine |
MyFixedPoint | MaxStackAmount |
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) |
Properties | |
bool | HasIntegralAmounts [get] |
bool | HasModelVariants [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... | |
Additional Inherited Members | |
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) |
virtual MyObjectBuilder_DefinitionBase | GetObjectBuilder () |
override string | ToString () |
Definition at line 17 of file MyPhysicalItemDefinition.cs.
|
inlineprotectedvirtual |
Reimplemented from VRage.Game.MyDefinitionBase.
Reimplemented in Sandbox.Definitions.MyToolItemDefinition, Sandbox.Definitions.MyWeaponItemDefinition, Sandbox.Definitions.MySchematicItemDefinition, and Sandbox.Definitions.MyUsableItemDefinition.
Definition at line 55 of file MyPhysicalItemDefinition.cs.
bool Sandbox.Definitions.MyPhysicalItemDefinition.CanSpawnFromScreen |
Definition at line 28 of file MyPhysicalItemDefinition.cs.
MyDefinitionId Sandbox.Definitions.MyPhysicalItemDefinition.DestroyedPieceId = null |
Definition at line 33 of file MyPhysicalItemDefinition.cs.
int Sandbox.Definitions.MyPhysicalItemDefinition.DestroyedPieces = 0 |
Definition at line 34 of file MyPhysicalItemDefinition.cs.
StringBuilder Sandbox.Definitions.MyPhysicalItemDefinition.ExtraInventoryTooltipLine |
Definition at line 35 of file MyPhysicalItemDefinition.cs.
int Sandbox.Definitions.MyPhysicalItemDefinition.Health |
Definition at line 32 of file MyPhysicalItemDefinition.cs.
MyStringId Sandbox.Definitions.MyPhysicalItemDefinition.IconSymbol |
Definition at line 23 of file MyPhysicalItemDefinition.cs.
float Sandbox.Definitions.MyPhysicalItemDefinition.Mass |
Definition at line 20 of file MyPhysicalItemDefinition.cs.
MyFixedPoint Sandbox.Definitions.MyPhysicalItemDefinition.MaxStackAmount |
Definition at line 36 of file MyPhysicalItemDefinition.cs.
string Sandbox.Definitions.MyPhysicalItemDefinition.Model |
Definition at line 21 of file MyPhysicalItemDefinition.cs.
string [] Sandbox.Definitions.MyPhysicalItemDefinition.Models |
Definition at line 22 of file MyPhysicalItemDefinition.cs.
float Sandbox.Definitions.MyPhysicalItemDefinition.ModelVolume |
Definition at line 25 of file MyPhysicalItemDefinition.cs.
MyStringHash Sandbox.Definitions.MyPhysicalItemDefinition.PhysicalMaterial |
Definition at line 26 of file MyPhysicalItemDefinition.cs.
bool Sandbox.Definitions.MyPhysicalItemDefinition.RotateOnSpawnX = false |
Definition at line 29 of file MyPhysicalItemDefinition.cs.
bool Sandbox.Definitions.MyPhysicalItemDefinition.RotateOnSpawnY = false |
Definition at line 30 of file MyPhysicalItemDefinition.cs.
bool Sandbox.Definitions.MyPhysicalItemDefinition.RotateOnSpawnZ = false |
Definition at line 31 of file MyPhysicalItemDefinition.cs.
Vector3 Sandbox.Definitions.MyPhysicalItemDefinition.Size |
Definition at line 19 of file MyPhysicalItemDefinition.cs.
float Sandbox.Definitions.MyPhysicalItemDefinition.Volume |
Definition at line 24 of file MyPhysicalItemDefinition.cs.
MyStringHash Sandbox.Definitions.MyPhysicalItemDefinition.VoxelMaterial |
Definition at line 27 of file MyPhysicalItemDefinition.cs.
|
get |
Definition at line 39 of file MyPhysicalItemDefinition.cs.
|
get |
Definition at line 48 of file MyPhysicalItemDefinition.cs.