Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.ModAPI.Ingame.IMyUpgradableBlock Interface Reference

interface to retrieve upgrade effects on block More...

Inheritance diagram for Sandbox.ModAPI.Ingame.IMyUpgradableBlock:
Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.ModAPI.IMyUpgradableBlock Sandbox.Game.Entities.MyCubeBlock Sandbox.Game.Entities.Blocks.MyAttachableTopBlockBase Sandbox.Game.Entities.Cube.MyFracturedBlock Sandbox.Game.Entities.Cube.MyLadder Sandbox.Game.Entities.Cube.MyPassage Sandbox.Game.Entities.Cube.MySyncedBlock Sandbox.Game.Entities.MyCompoundCubeBlock Sandbox.Game.Entities.MyConveyor Sandbox.Game.Entities.MyConveyorConnector

Public Member Functions

void GetUpgrades (out Dictionary< string, float > upgrades)
 get list of upgrades (r/o); string - upgrade type, float - effect value as float (1 = 100%) More...
 
- Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
string GetOwnerFactionTag ()
 
Sandbox.Common.MyRelationsBetweenPlayerAndBlock GetPlayerRelationToOwner ()
 
Sandbox.Common.MyRelationsBetweenPlayerAndBlock GetUserRelationToOwner (long playerId)
 
void UpdateIsWorking ()
 
void UpdateVisual ()
 

Properties

uint UpgradeCount [get]
 number of upgrades applied More...
 
- Properties inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
Sandbox.Common.ObjectBuilders.Definitions.SerializableDefinitionId BlockDefinition [get]
 
bool CheckConnectionAllowed [get]
 
IMyCubeGrid CubeGrid [get]
 
String DefinitionDisplayNameText [get]
 
float DisassembleRatio [get]
 
String DisplayNameText [get]
 
bool IsBeingHacked [get]
 
bool IsFunctional [get]
 
bool IsWorking [get]
 
VRageMath.Vector3I Max [get]
 
VRageMath.Vector3I Min [get]
 
int NumberInGrid [get]
 
VRageMath.MyBlockOrientation Orientation [get]
 
long OwnerId [get]
 
VRageMath.Vector3I Position [get]
 

Additional Inherited Members

- Events inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
Action< IMyCubeBlockIsWorkingChanged
 

Detailed Description

interface to retrieve upgrade effects on block

Definition at line 12 of file IMyUpgradableBlock.cs.

Member Function Documentation

void Sandbox.ModAPI.Ingame.IMyUpgradableBlock.GetUpgrades ( out Dictionary< string, float >  upgrades)

get list of upgrades (r/o); string - upgrade type, float - effect value as float (1 = 100%)

Property Documentation

uint Sandbox.ModAPI.Ingame.IMyUpgradableBlock.UpgradeCount
get

number of upgrades applied

Definition at line 23 of file IMyUpgradableBlock.cs.


The documentation for this interface was generated from the following file: