Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
Sandbox.Game.MyInventoryConstraint Class Reference

Public Member Functions

 MyInventoryConstraint (MyStringId description, string icon=null, bool whitelist=true)
 
 MyInventoryConstraint (String description, string icon=null, bool whitelist=true)
 
MyInventoryConstraint Add (MyDefinitionId id)
 
MyInventoryConstraint Remove (MyDefinitionId id)
 
MyInventoryConstraint AddObjectBuilderType (MyObjectBuilderType type)
 
MyInventoryConstraint RemoveObjectBuilderType (MyObjectBuilderType type)
 
void Clear ()
 
bool Check (MyDefinitionId checkedId)
 
void UpdateIcon ()
 

Public Attributes

string Icon
 
bool m_useDefaultIcon = false
 
readonly String Description
 

Properties

bool IsWhitelist [get, set]
 
IEnumerable< MyDefinitionIdConstrainedIds [get]
 
IEnumerable< MyObjectBuilderTypeConstrainedTypes [get]
 

Detailed Description

Definition at line 18 of file MyInventoryConstraint.cs.

Constructor & Destructor Documentation

Sandbox.Game.MyInventoryConstraint.MyInventoryConstraint ( MyStringId  description,
string  icon = null,
bool  whitelist = true 
)
inline

Definition at line 41 of file MyInventoryConstraint.cs.

Sandbox.Game.MyInventoryConstraint.MyInventoryConstraint ( String  description,
string  icon = null,
bool  whitelist = true 
)
inline

Definition at line 52 of file MyInventoryConstraint.cs.

Member Function Documentation

MyInventoryConstraint Sandbox.Game.MyInventoryConstraint.Add ( MyDefinitionId  id)
inline

Definition at line 63 of file MyInventoryConstraint.cs.

MyInventoryConstraint Sandbox.Game.MyInventoryConstraint.AddObjectBuilderType ( MyObjectBuilderType  type)
inline

Definition at line 78 of file MyInventoryConstraint.cs.

bool Sandbox.Game.MyInventoryConstraint.Check ( MyDefinitionId  checkedId)
inline

Definition at line 99 of file MyInventoryConstraint.cs.

void Sandbox.Game.MyInventoryConstraint.Clear ( )
inline

Definition at line 92 of file MyInventoryConstraint.cs.

MyInventoryConstraint Sandbox.Game.MyInventoryConstraint.Remove ( MyDefinitionId  id)
inline

Definition at line 70 of file MyInventoryConstraint.cs.

MyInventoryConstraint Sandbox.Game.MyInventoryConstraint.RemoveObjectBuilderType ( MyObjectBuilderType  type)
inline

Definition at line 85 of file MyInventoryConstraint.cs.

void Sandbox.Game.MyInventoryConstraint.UpdateIcon ( )
inline

Definition at line 124 of file MyInventoryConstraint.cs.

Member Data Documentation

readonly String Sandbox.Game.MyInventoryConstraint.Description

Definition at line 22 of file MyInventoryConstraint.cs.

string Sandbox.Game.MyInventoryConstraint.Icon

Definition at line 20 of file MyInventoryConstraint.cs.

bool Sandbox.Game.MyInventoryConstraint.m_useDefaultIcon = false

Definition at line 21 of file MyInventoryConstraint.cs.

Property Documentation

IEnumerable<MyDefinitionId> Sandbox.Game.MyInventoryConstraint.ConstrainedIds
get

Definition at line 33 of file MyInventoryConstraint.cs.

IEnumerable<MyObjectBuilderType> Sandbox.Game.MyInventoryConstraint.ConstrainedTypes
get

Definition at line 37 of file MyInventoryConstraint.cs.

bool Sandbox.Game.MyInventoryConstraint.IsWhitelist
getset

Definition at line 27 of file MyInventoryConstraint.cs.


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