Space Engineers
Public Member Functions | List of all members
Sandbox.Game.Entities.MyConstructionStockpile Class Reference

Public Member Functions

 MyConstructionStockpile ()
 
MyObjectBuilder_ConstructionStockpile GetObjectBuilder ()
 
void Init (MyObjectBuilder_ConstructionStockpile objectBuilder)
 
void Init (MyObjectBuilder_Inventory objectBuilder)
 
bool IsEmpty ()
 
void ClearSyncList ()
 
List< MyStockpileItemGetSyncList ()
 
bool AddItems (int count, MyDefinitionId contentId, MyItemFlags flags=MyItemFlags.None)
 
bool AddItems (int count, MyObjectBuilder_PhysicalObject physicalObject)
 
bool RemoveItems (int count, MyObjectBuilder_PhysicalObject physicalObject)
 
bool RemoveItems (int count, MyDefinitionId id, MyItemFlags flags=MyItemFlags.None)
 
List< MyStockpileItemGetItems ()
 
int GetItemAmount (MyDefinitionId contentId, MyItemFlags flags=MyItemFlags.None)
 

Detailed Description

Definition at line 33 of file MyConstructionStockpile.cs.

Constructor & Destructor Documentation

Sandbox.Game.Entities.MyConstructionStockpile.MyConstructionStockpile ( )
inline

Definition at line 38 of file MyConstructionStockpile.cs.

Member Function Documentation

bool Sandbox.Game.Entities.MyConstructionStockpile.AddItems ( int  count,
MyDefinitionId  contentId,
MyItemFlags  flags = MyItemFlags.None 
)
inline

Definition at line 111 of file MyConstructionStockpile.cs.

bool Sandbox.Game.Entities.MyConstructionStockpile.AddItems ( int  count,
MyObjectBuilder_PhysicalObject  physicalObject 
)
inline

Definition at line 122 of file MyConstructionStockpile.cs.

void Sandbox.Game.Entities.MyConstructionStockpile.ClearSyncList ( )
inline

Definition at line 101 of file MyConstructionStockpile.cs.

int Sandbox.Game.Entities.MyConstructionStockpile.GetItemAmount ( MyDefinitionId  contentId,
MyItemFlags  flags = MyItemFlags.None 
)
inline

Definition at line 234 of file MyConstructionStockpile.cs.

List<MyStockpileItem> Sandbox.Game.Entities.MyConstructionStockpile.GetItems ( )
inline

Definition at line 229 of file MyConstructionStockpile.cs.

MyObjectBuilder_ConstructionStockpile Sandbox.Game.Entities.MyConstructionStockpile.GetObjectBuilder ( )
inline

Definition at line 40 of file MyConstructionStockpile.cs.

List<MyStockpileItem> Sandbox.Game.Entities.MyConstructionStockpile.GetSyncList ( )
inline

Definition at line 106 of file MyConstructionStockpile.cs.

void Sandbox.Game.Entities.MyConstructionStockpile.Init ( MyObjectBuilder_ConstructionStockpile  objectBuilder)
inline

Definition at line 58 of file MyConstructionStockpile.cs.

void Sandbox.Game.Entities.MyConstructionStockpile.Init ( MyObjectBuilder_Inventory  objectBuilder)
inline

Definition at line 77 of file MyConstructionStockpile.cs.

bool Sandbox.Game.Entities.MyConstructionStockpile.IsEmpty ( )
inline

Definition at line 96 of file MyConstructionStockpile.cs.

bool Sandbox.Game.Entities.MyConstructionStockpile.RemoveItems ( int  count,
MyObjectBuilder_PhysicalObject  physicalObject 
)
inline

Definition at line 163 of file MyConstructionStockpile.cs.

bool Sandbox.Game.Entities.MyConstructionStockpile.RemoveItems ( int  count,
MyDefinitionId  id,
MyItemFlags  flags = MyItemFlags.None 
)
inline

Definition at line 168 of file MyConstructionStockpile.cs.


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