Show / Hide Table of Contents

Class MyBlueprintDefinitionBase

Inheritance
System.Object
MyDefinitionBase
MyBlueprintDefinitionBase
MyBlueprintDefinition
MyCompositeBlueprintDefinition
Inherited Members
MyDefinitionBase.Id
MyDefinitionBase.DisplayNameEnum
MyDefinitionBase.DescriptionEnum
MyDefinitionBase.DisplayNameString
MyDefinitionBase.DescriptionString
MyDefinitionBase.DescriptionArgs
MyDefinitionBase.Icons
MyDefinitionBase.Enabled
MyDefinitionBase.Public
MyDefinitionBase.AvailableInSurvival
MyDefinitionBase.Context
MyDefinitionBase.Init(MyObjectBuilder_DefinitionBase, MyModContext)
MyDefinitionBase.Init(MyObjectBuilder_DefinitionBase)
MyDefinitionBase.Postprocess()
MyDefinitionBase.GetObjectBuilder()
MyDefinitionBase.CheckDefinitionDLCs(String[])
MyDefinitionBase.DLCs
MyDefinitionBase.DisplayNameText
MyDefinitionBase.DescriptionText
Namespace: Sandbox.Definitions
Assembly: Sandbox.Game.dll
Syntax
public abstract class MyBlueprintDefinitionBase : MyDefinitionBase

Constructors

MyBlueprintDefinitionBase()

Declaration
protected MyBlueprintDefinitionBase()

Fields

Atomic

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

Declaration
public bool Atomic
Field Value
Type Description
System.Boolean

BaseProductionTimeInSeconds

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

Declaration
public float BaseProductionTimeInSeconds
Field Value
Type Description
System.Single

IsPrimary

Declaration
public bool IsPrimary
Field Value
Type Description
System.Boolean

OutputVolume

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

Declaration
public float OutputVolume
Field Value
Type Description
System.Single

Prerequisites

Declaration
public MyBlueprintDefinitionBase.Item[] Prerequisites
Field Value
Type Description
MyBlueprintDefinitionBase.Item[]

Priority

Priority for sorting inside production screen within tabs. Higher priority blueprints will show up before the others

Declaration
public int Priority
Field Value
Type Description
System.Int32

ProgressBarSoundCue

Declaration
public string ProgressBarSoundCue
Field Value
Type Description
System.String

Results

Declaration
public MyBlueprintDefinitionBase.Item[] Results
Field Value
Type Description
MyBlueprintDefinitionBase.Item[]

Properties

InputItemType

Declaration
public MyObjectBuilderType InputItemType { get; }
Property Value
Type Description
MyObjectBuilderType

PostprocessNeeded

Whether the Postprocess method still needs to be called.

Declaration
public bool PostprocessNeeded { get; protected set; }
Property Value
Type Description
System.Boolean

Methods

GetBlueprints(List<MyBlueprintDefinitionBase.ProductionInfo>)

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

Declaration
public abstract int GetBlueprints(List<MyBlueprintDefinitionBase.ProductionInfo> blueprints)
Parameters
Type Name Description
System.Collections.Generic.List<MyBlueprintDefinitionBase.ProductionInfo> blueprints
Returns
Type Description
System.Int32

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
MyDefinitionBase.ToString()
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾