Space Engineers
Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties | Events | List of all members
Sandbox.Game.Screens.Helpers.MyToolbarComponent Class Reference
Inheritance diagram for Sandbox.Game.Screens.Helpers.MyToolbarComponent:
VRage.Game.Components.MySessionComponentBase VRage.Game.Components.Interfaces.IMyUserInputComponent

Public Member Functions

 MyToolbarComponent ()
 
override void LoadData ()
 
override void HandleInput ()
 
override void UpdateBeforeSimulation ()
 
- Public Member Functions inherited from VRage.Game.Components.MySessionComponentBase
virtual bool UpdatedBeforeInit ()
 
 MySessionComponentBase ()
 
void SetUpdateOrder (MyUpdateOrder order)
 
virtual void InitFromDefinition (MySessionComponentDefinition definition)
 
virtual void Init (MyObjectBuilder_SessionComponent sessionComponent)
 
virtual MyObjectBuilder_SessionComponent GetObjectBuilder ()
 
void AfterLoadData ()
 
void UnloadDataConditional ()
 
virtual void SaveData ()
 
virtual void BeforeStart ()
 
virtual void Simulate ()
 
virtual void UpdateAfterSimulation ()
 
virtual void UpdatingStopped ()
 
virtual void Draw ()
 
override string ToString ()
 

Static Public Member Functions

static void UpdateCurrentToolbar ()
 
static void InitCharacterToolbar (MyObjectBuilder_Toolbar characterToolbar)
 
static void InitToolbar (MyToolbarType type, MyObjectBuilder_Toolbar builder)
 
static MyObjectBuilder_Toolbar GetObjectBuilder (MyToolbarType type)
 
static StringBuilder GetSlotControlText (int slotIndex)
 

Protected Member Functions

override void UnloadData ()
 

Properties

static bool IsToolbarControlShown [get, set]
 
static MyToolbar CurrentToolbar [get, set]
 
static MyToolbar CharacterToolbar [get]
 
static bool GlobalBuilding [get]
 
static bool CreativeModeEnabled [get]
 
static bool AutoUpdate [get, set]
 
- Properties inherited from VRage.Game.Components.MySessionComponentBase
MyUpdateOrder UpdateOrder [get]
 
MyObjectBuilderType ObjectBuilderType [get]
 
bool Loaded [get]
 
bool Initialized [get]
 
MyDefinitionId Definition [get, set]
 
virtual Type[] Dependencies [get]
 
virtual bool IsRequiredByGame [get]
 Indicates whether a session component should be used in current configuration. Example: MyDestructionData component returns true only when game uses Havok Destruction More...
 

Events

static Action CurrentToolbarChanged
 

Additional Inherited Members

- Public Attributes inherited from VRage.Game.Components.MySessionComponentBase
readonly string DebugName
 
readonly int Priority
 
readonly Type ComponentType
 
IMySession Session
 

Detailed Description

Definition at line 22 of file MyToolbarComponent.cs.

Constructor & Destructor Documentation

Sandbox.Game.Screens.Helpers.MyToolbarComponent.MyToolbarComponent ( )
inline

Definition at line 133 of file MyToolbarComponent.cs.

Member Function Documentation

static MyObjectBuilder_Toolbar Sandbox.Game.Screens.Helpers.MyToolbarComponent.GetObjectBuilder ( MyToolbarType  type)
inlinestatic

Definition at line 262 of file MyToolbarComponent.cs.

static StringBuilder Sandbox.Game.Screens.Helpers.MyToolbarComponent.GetSlotControlText ( int  slotIndex)
inlinestatic

Definition at line 271 of file MyToolbarComponent.cs.

override void Sandbox.Game.Screens.Helpers.MyToolbarComponent.HandleInput ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 148 of file MyToolbarComponent.cs.

static void Sandbox.Game.Screens.Helpers.MyToolbarComponent.InitCharacterToolbar ( MyObjectBuilder_Toolbar  characterToolbar)
inlinestatic

Definition at line 246 of file MyToolbarComponent.cs.

static void Sandbox.Game.Screens.Helpers.MyToolbarComponent.InitToolbar ( MyToolbarType  type,
MyObjectBuilder_Toolbar  builder 
)
inlinestatic

Definition at line 251 of file MyToolbarComponent.cs.

override void Sandbox.Game.Screens.Helpers.MyToolbarComponent.LoadData ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 142 of file MyToolbarComponent.cs.

override void Sandbox.Game.Screens.Helpers.MyToolbarComponent.UnloadData ( )
inlineprotectedvirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 233 of file MyToolbarComponent.cs.

override void Sandbox.Game.Screens.Helpers.MyToolbarComponent.UpdateBeforeSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 212 of file MyToolbarComponent.cs.

static void Sandbox.Game.Screens.Helpers.MyToolbarComponent.UpdateCurrentToolbar ( )
inlinestatic

Definition at line 96 of file MyToolbarComponent.cs.

Property Documentation

bool Sandbox.Game.Screens.Helpers.MyToolbarComponent.AutoUpdate
staticgetset

Definition at line 292 of file MyToolbarComponent.cs.

MyToolbar Sandbox.Game.Screens.Helpers.MyToolbarComponent.CharacterToolbar
staticget

Definition at line 89 of file MyToolbarComponent.cs.

bool Sandbox.Game.Screens.Helpers.MyToolbarComponent.CreativeModeEnabled
staticget

Definition at line 122 of file MyToolbarComponent.cs.

MyToolbar Sandbox.Game.Screens.Helpers.MyToolbarComponent.CurrentToolbar
staticgetset

Definition at line 70 of file MyToolbarComponent.cs.

bool Sandbox.Game.Screens.Helpers.MyToolbarComponent.GlobalBuilding
staticget

Definition at line 110 of file MyToolbarComponent.cs.

bool Sandbox.Game.Screens.Helpers.MyToolbarComponent.IsToolbarControlShown
staticgetset

Definition at line 48 of file MyToolbarComponent.cs.

Event Documentation

Action Sandbox.Game.Screens.Helpers.MyToolbarComponent.CurrentToolbarChanged
static

Definition at line 131 of file MyToolbarComponent.cs.


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