|
Space Engineers
|
Public Member Functions | |||
| void | AddNeighbours () | ||
| void | ApplyAccumulatedDamage (bool addDirtyParts=true) | ||
| string | CalculateCurrentModel (out VRageMath.Matrix orientation) | ||
| void | ComputeScaledCenter (out VRageMath.Vector3D scaledCenter) | ||
| void | ComputeScaledHalfExtents (out VRageMath.Vector3 scaledHalfExtents) | ||
| void | ComputeWorldCenter (out VRageMath.Vector3D worldCenter) | ||
| void | FixBones (float oldDamage, float maxAllowedBoneMovement) | ||
| void | FullyDismount (IMyInventory outputInventory) | ||
| MyObjectBuilder_CubeBlock | GetCopyObjectBuilder () | ||
| void | GetMissingComponents (System.Collections.Generic.Dictionary< string, int > addToDictionary) | ||
| MyObjectBuilder_CubeBlock | GetObjectBuilder () | ||
| void | InitOrientation (ref VRageMath.Vector3I forward, ref VRageMath.Vector3I up) | ||
| void | InitOrientation (VRageMath.Base6Directions.Direction Forward, VRageMath.Base6Directions.Direction Up) | ||
| void | InitOrientation (VRageMath.MyBlockOrientation orientation) | ||
| void | MoveItemsFromConstructionStockpile (IMyInventory toInventory, MyItemFlags flags=MyItemFlags.None) | ||
| void | RemoveNeighbours () | ||
| void | SetToConstructionSite () | ||
| void | SpawnConstructionStockpile () | ||
| void | SpawnFirstItemInConstructionStockpile () | ||
| void | UpdateVisual () | ||
| VRageMath.Vector3 | GetColorMask () | ||
| void | DecreaseMountLevel (float grinderAmount, IMyInventory outputInventory, bool useDefaultDeconstructEfficiency=false) | ||
| Decreases the build level of a block More... | |||
| void | IncreaseMountLevel (float welderMountAmount, long welderOwnerPlayerId, IMyInventory outputInventory=null, float maxAllowedBoneMovement=0, bool isHelping=false, MyOwnershipShareModeEnum share=MyOwnershipShareModeEnum.Faction) | ||
| Increases the build level of a block More... | |||
| int | GetConstructionStockpileItemAmount (MyDefinitionId id) | ||
| Get the amount of items in the construction stockpile More... | |||
| void | MoveItemsToConstructionStockpile (IMyInventory fromInventory) | ||
| Move items missing from an inventory into the construction stockpile More... | |||
| void | ClearConstructionStockpile (IMyInventory outputInventory) | ||
| Clears out the construction stockpile and moves the components into a destination inventory More... | |||
| void | PlayConstructionSound (MyIntegrityChangeEnum integrityChangeType, bool deconstruction=false) | ||
| Play the construction sound associated with the integrity change More... | |||
| bool | CanContinueBuild (IMyInventory sourceInventory) | ||
| Can we continue to weld this block? More... | |||
| void | GetWorldBoundingBox (out BoundingBoxD aabb, bool useAABBFromBlockCubes=false) | ||
| The AABB of this block More... | |||
Public Member Functions inherited from VRage.Game.ModAPI.Interfaces.IMyDestroyableObject | |||
| void | OnDestroy () | ||
| bool | DoDamage (float damage, MyStringHash damageSource, bool sync, MyHitInfo?hitInfo=null, long attackerId=0) | ||
Public Member Functions inherited from VRage.Game.ModAPI.Interfaces.IMyDecalProxy | |||
| void | AddDecals (MyHitInfo hitInfo, MyStringHash source, object customdata, IMyDecalHandler decalHandler, MyStringHash material) | ||
| |||
Definition at line 9 of file IMySlimBlock.cs.
| void VRage.Game.ModAPI.IMySlimBlock.AddNeighbours | ( | ) |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| void VRage.Game.ModAPI.IMySlimBlock.ApplyAccumulatedDamage | ( | bool | addDirtyParts = true | ) |
| string VRage.Game.ModAPI.IMySlimBlock.CalculateCurrentModel | ( | out VRageMath.Matrix | orientation | ) |
| bool VRage.Game.ModAPI.IMySlimBlock.CanContinueBuild | ( | IMyInventory | sourceInventory | ) |
Can we continue to weld this block?
| sourceInventory | Source inventory that is used for components |
| void VRage.Game.ModAPI.IMySlimBlock.ClearConstructionStockpile | ( | IMyInventory | outputInventory | ) |
Clears out the construction stockpile and moves the components into a destination inventory
| outputInventory | The inventory where the components are moved into |
| void VRage.Game.ModAPI.IMySlimBlock.ComputeScaledCenter | ( | out VRageMath.Vector3D | scaledCenter | ) |
| void VRage.Game.ModAPI.IMySlimBlock.ComputeScaledHalfExtents | ( | out VRageMath.Vector3 | scaledHalfExtents | ) |
| void VRage.Game.ModAPI.IMySlimBlock.ComputeWorldCenter | ( | out VRageMath.Vector3D | worldCenter | ) |
| void VRage.Game.ModAPI.IMySlimBlock.DecreaseMountLevel | ( | float | grinderAmount, |
| IMyInventory | outputInventory, | ||
| bool | useDefaultDeconstructEfficiency = false |
||
| ) |
Decreases the build level of a block
| grinderAmount | The integrity amount of change |
| outputInventory | The inventory where output components will be sent to |
| useDefaultDeconstructEfficiency |
| void VRage.Game.ModAPI.IMySlimBlock.FixBones | ( | float | oldDamage, |
| float | maxAllowedBoneMovement | ||
| ) |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| void VRage.Game.ModAPI.IMySlimBlock.FullyDismount | ( | IMyInventory | outputInventory | ) |
| VRageMath.Vector3 VRage.Game.ModAPI.IMySlimBlock.GetColorMask | ( | ) |
| int VRage.Game.ModAPI.IMySlimBlock.GetConstructionStockpileItemAmount | ( | MyDefinitionId | id | ) |
Get the amount of items in the construction stockpile
| id | Definition of component in stockpile to check |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| MyObjectBuilder_CubeBlock VRage.Game.ModAPI.IMySlimBlock.GetCopyObjectBuilder | ( | ) |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| void VRage.Game.ModAPI.IMySlimBlock.GetMissingComponents | ( | System.Collections.Generic.Dictionary< string, int > | addToDictionary | ) |
Implements VRage.Game.ModAPI.Ingame.IMySlimBlock.
| MyObjectBuilder_CubeBlock VRage.Game.ModAPI.IMySlimBlock.GetObjectBuilder | ( | ) |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| void VRage.Game.ModAPI.IMySlimBlock.GetWorldBoundingBox | ( | out BoundingBoxD | aabb, |
| bool | useAABBFromBlockCubes = false |
||
| ) |
The AABB of this block
| aabb | |
| useAABBFromBlockCubes |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| void VRage.Game.ModAPI.IMySlimBlock.IncreaseMountLevel | ( | float | welderMountAmount, |
| long | welderOwnerPlayerId, | ||
| IMyInventory | outputInventory = null, |
||
| float | maxAllowedBoneMovement = 0, |
||
| bool | isHelping = false, |
||
| MyOwnershipShareModeEnum | share = MyOwnershipShareModeEnum.Faction |
||
| ) |
Increases the build level of a block
| welderMountAmount | The integrity amount of change |
| welderOwnerPlayerId | The player id of the entity increasing the mount level |
| outputInventory | The inventory where components are taken from |
| maxAllowedBoneMovement | Maximum movement of bones |
| isHelping | Is this increase helping another player |
| share | ShareMode used when block becomes functional |
| void VRage.Game.ModAPI.IMySlimBlock.InitOrientation | ( | ref VRageMath.Vector3I | forward, |
| ref VRageMath.Vector3I | up | ||
| ) |
| void VRage.Game.ModAPI.IMySlimBlock.InitOrientation | ( | VRageMath.Base6Directions.Direction | Forward, |
| VRageMath.Base6Directions.Direction | Up | ||
| ) |
| void VRage.Game.ModAPI.IMySlimBlock.InitOrientation | ( | VRageMath.MyBlockOrientation | orientation | ) |
| void VRage.Game.ModAPI.IMySlimBlock.MoveItemsFromConstructionStockpile | ( | IMyInventory | toInventory, |
| MyItemFlags | flags = MyItemFlags.None |
||
| ) |
| void VRage.Game.ModAPI.IMySlimBlock.MoveItemsToConstructionStockpile | ( | IMyInventory | fromInventory | ) |
Move items missing from an inventory into the construction stockpile
| fromInventory | The inventory where the components are being taken from |
| void VRage.Game.ModAPI.IMySlimBlock.PlayConstructionSound | ( | MyIntegrityChangeEnum | integrityChangeType, |
| bool | deconstruction = false |
||
| ) |
Play the construction sound associated with the integrity change
| integrityChangeType | Type of integrity change |
| deconstruction | Is this deconstruction? |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| void VRage.Game.ModAPI.IMySlimBlock.RemoveNeighbours | ( | ) |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| void VRage.Game.ModAPI.IMySlimBlock.SetToConstructionSite | ( | ) |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| void VRage.Game.ModAPI.IMySlimBlock.SpawnConstructionStockpile | ( | ) |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| void VRage.Game.ModAPI.IMySlimBlock.SpawnFirstItemInConstructionStockpile | ( | ) |
Implemented in Sandbox.Game.Entities.Cube.MySlimBlock.
| void VRage.Game.ModAPI.IMySlimBlock.UpdateVisual | ( | ) |
Implements VRage.Game.ModAPI.Ingame.IMySlimBlock.
|
get |
Definition at line 11 of file IMySlimBlock.cs.
|
get |
The blocks definition
Definition at line 102 of file IMySlimBlock.cs.
|
get |
Definition at line 14 of file IMySlimBlock.cs.
|
get |
Definition at line 15 of file IMySlimBlock.cs.
|
get |
Definition at line 50 of file IMySlimBlock.cs.
|
get |
Definition at line 20 of file IMySlimBlock.cs.
|
get |
Definition at line 21 of file IMySlimBlock.cs.
|
get |
Definition at line 23 of file IMySlimBlock.cs.
|
get |
Definition at line 29 of file IMySlimBlock.cs.
|
get |
Definition at line 34 of file IMySlimBlock.cs.
|
get |
Definition at line 35 of file IMySlimBlock.cs.
|
get |
Definition at line 36 of file IMySlimBlock.cs.
|
get |
Definition at line 39 of file IMySlimBlock.cs.
|
get |
Largest part of block
Definition at line 106 of file IMySlimBlock.cs.
|
get |
Definition at line 37 of file IMySlimBlock.cs.
|
get |
Definition at line 38 of file IMySlimBlock.cs.
|
get |
The blocks that neighbour this block
Definition at line 114 of file IMySlimBlock.cs.
|
get |
Blocks orientation
Definition at line 110 of file IMySlimBlock.cs.
|
getset |
Definition at line 49 of file IMySlimBlock.cs.
|
get |
Definition at line 43 of file IMySlimBlock.cs.
|
get |
Definition at line 46 of file IMySlimBlock.cs.
|
get |
Definition at line 47 of file IMySlimBlock.cs.
1.8.8