Space Engineers
Classes | Public Member Functions | Public Attributes | Properties | List of all members
Sandbox.Definitions.MyBlueprintDefinitionBase Class Referenceabstract
Inheritance diagram for Sandbox.Definitions.MyBlueprintDefinitionBase:
VRage.Game.MyDefinitionBase Sandbox.Definitions.MyBlueprintDefinition Sandbox.Definitions.MyCompositeBlueprintDefinition Sandbox.Definitions.MyBlockBlueprintDefinition Sandbox.Definitions.MyRepairBlueprintDefinition

Classes

struct  Item
 
struct  ProductionInfo
 

Public Member Functions

abstract void Postprocess ()
 Postprocess initialization. Should set PostprocessNeeded to false if initialization was successful. More...
 
override string ToString ()
 
abstract int GetBlueprints (List< ProductionInfo > blueprints)
 Should return the number of added blueprints (to make building hierarchical blueprint production infos easier) More...
 
- Public Member Functions inherited from VRage.Game.MyDefinitionBase
void Init (MyObjectBuilder_DefinitionBase builder, MyModContext modContext)
 
void Save (string filepath)
 
virtual MyObjectBuilder_DefinitionBase GetObjectBuilder ()
 
override string ToString ()
 

Public Attributes

Item[] Prerequisites
 
Item[] Results
 
string ProgressBarSoundCue = null
 
float BaseProductionTimeInSeconds = 1.0f
 Base production time in seconds, which is affected by speed increase of refinery or assembler. More...
 
float OutputVolume
 Total volume of products created by one unit of blueprint. This is for production calculation purposes. More...
 
bool Atomic
 Whether the the blueprint's outputs have to be produced as a whole at once (because you cannot divide some output items) More...
 
- 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
 

Properties

MyObjectBuilderType InputItemType [get]
 
bool PostprocessNeeded [get, protected set]
 Whether the Postprocess method still needs to be called. More...
 
- 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

- Protected Member Functions inherited from VRage.Game.MyDefinitionBase
virtual void Init (MyObjectBuilder_DefinitionBase builder)
 

Detailed Description

Definition at line 16 of file MyBlueprintDefinitionBase.cs.

Member Function Documentation

abstract int Sandbox.Definitions.MyBlueprintDefinitionBase.GetBlueprints ( List< ProductionInfo blueprints)
pure virtual

Should return the number of added blueprints (to make building hierarchical blueprint production infos easier)

abstract void Sandbox.Definitions.MyBlueprintDefinitionBase.Postprocess ( )
pure virtual

Postprocess initialization. Should set PostprocessNeeded to false if initialization was successful.

Reimplemented from VRage.Game.MyDefinitionBase.

Implemented in Sandbox.Definitions.MyBlueprintDefinition, Sandbox.Definitions.MyCompositeBlueprintDefinition, and Sandbox.Definitions.MyBlockBlueprintDefinition.

override string Sandbox.Definitions.MyBlueprintDefinitionBase.ToString ( )
inline

Definition at line 96 of file MyBlueprintDefinitionBase.cs.

Member Data Documentation

bool Sandbox.Definitions.MyBlueprintDefinitionBase.Atomic

Whether the the blueprint's outputs have to be produced as a whole at once (because you cannot divide some output items)

Definition at line 68 of file MyBlueprintDefinitionBase.cs.

float Sandbox.Definitions.MyBlueprintDefinitionBase.BaseProductionTimeInSeconds = 1.0f

Base production time in seconds, which is affected by speed increase of refinery or assembler.

Definition at line 58 of file MyBlueprintDefinitionBase.cs.

float Sandbox.Definitions.MyBlueprintDefinitionBase.OutputVolume

Total volume of products created by one unit of blueprint. This is for production calculation purposes.

Definition at line 63 of file MyBlueprintDefinitionBase.cs.

Item [] Sandbox.Definitions.MyBlueprintDefinitionBase.Prerequisites

Definition at line 49 of file MyBlueprintDefinitionBase.cs.

string Sandbox.Definitions.MyBlueprintDefinitionBase.ProgressBarSoundCue = null

Definition at line 52 of file MyBlueprintDefinitionBase.cs.

Item [] Sandbox.Definitions.MyBlueprintDefinitionBase.Results

Definition at line 50 of file MyBlueprintDefinitionBase.cs.

Property Documentation

MyObjectBuilderType Sandbox.Definitions.MyBlueprintDefinitionBase.InputItemType
get

Definition at line 71 of file MyBlueprintDefinitionBase.cs.

bool Sandbox.Definitions.MyBlueprintDefinitionBase.PostprocessNeeded
getprotected set

Whether the Postprocess method still needs to be called.

Definition at line 87 of file MyBlueprintDefinitionBase.cs.


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