Space Engineers
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Properties | List of all members
Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent Class Reference
Inheritance diagram for Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent:
VRage.Game.Components.MySessionComponentBase Sandbox.Game.GameSystems.ContextHandling.IMyFocusHolder VRage.Game.Components.Interfaces.IMyUserInputComponent

Public Member Functions

override void Init (MyObjectBuilder_SessionComponent sessionComponent)
 
override void InitFromDefinition (MySessionComponentDefinition definition)
 
override void LoadData ()
 
bool HandleGameInput ()
 
void OnLostFocus ()
 Called when lost game focus. More...
 
void DeactivateCopyPasteVoxel (bool clear=false)
 
void DeactivateCopyPasteFloatingObject (bool clear=false)
 
void DeactivateCopyPaste (bool clear=false)
 
void ActivateVoxelClipboard (MyObjectBuilder_EntityBase voxelMap, IMyStorage storage, Vector3 centerDeltaDirection, float dragVectorLength)
 
void ActivateFloatingObjectClipboard (MyObjectBuilder_FloatingObject floatingObject, Vector3 centerDeltaDirection, float dragVectorLength)
 
override void UpdateBeforeSimulation ()
 
- Public Member Functions inherited from VRage.Game.Components.MySessionComponentBase
virtual bool UpdatedBeforeInit ()
 
 MySessionComponentBase ()
 
void SetUpdateOrder (MyUpdateOrder order)
 
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 ()
 
virtual void HandleInput ()
 
override string ToString ()
 

Static Public Member Functions

static void PrepareCharacterCollisionPoints (List< Vector3D > outList)
 

Static Public Attributes

static MyClipboardComponent Static
 

Protected Member Functions

override void UnloadData ()
 

Protected Attributes

MyBlockBuilderRotationHints m_rotationHints = new MyBlockBuilderRotationHints()
 
bool m_rotationHintRotating = false
 

Static Protected Attributes

static readonly MyStringId[] m_rotationControls
 
static readonly int[] m_rotationDirections = new int[6] { -1, 1, 1, -1, 1, -1 }
 

Properties

static MyClipboardDefinition ClipboardDefinition [get]
 
MyGridClipboard Clipboard [get]
 
Vector3D FreePlacementTarget [get]
 
static bool SpectatorIsBuilding [get]
 
- 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...
 

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 38 of file MyClipboardComponent.cs.

Member Function Documentation

void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.ActivateFloatingObjectClipboard ( MyObjectBuilder_FloatingObject  floatingObject,
Vector3  centerDeltaDirection,
float  dragVectorLength 
)
inline

Definition at line 865 of file MyClipboardComponent.cs.

void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.ActivateVoxelClipboard ( MyObjectBuilder_EntityBase  voxelMap,
IMyStorage  storage,
Vector3  centerDeltaDirection,
float  dragVectorLength 
)
inline

Definition at line 858 of file MyClipboardComponent.cs.

void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.DeactivateCopyPaste ( bool  clear = false)
inline

Definition at line 724 of file MyClipboardComponent.cs.

void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.DeactivateCopyPasteFloatingObject ( bool  clear = false)
inline

Definition at line 713 of file MyClipboardComponent.cs.

void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.DeactivateCopyPasteVoxel ( bool  clear = false)
inline

Definition at line 702 of file MyClipboardComponent.cs.

bool Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.HandleGameInput ( )
inline

Definition at line 218 of file MyClipboardComponent.cs.

override void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.Init ( MyObjectBuilder_SessionComponent  sessionComponent)
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 145 of file MyClipboardComponent.cs.

override void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.InitFromDefinition ( MySessionComponentDefinition  definition)
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 150 of file MyClipboardComponent.cs.

override void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.LoadData ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 165 of file MyClipboardComponent.cs.

void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.OnLostFocus ( )
inline

Called when lost game focus.

Implements Sandbox.Game.GameSystems.ContextHandling.IMyFocusHolder.

Definition at line 694 of file MyClipboardComponent.cs.

static void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.PrepareCharacterCollisionPoints ( List< Vector3D outList)
inlinestatic

Definition at line 811 of file MyClipboardComponent.cs.

override void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.UnloadData ( )
inlineprotectedvirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 171 of file MyClipboardComponent.cs.

override void Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.UpdateBeforeSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 872 of file MyClipboardComponent.cs.

Member Data Documentation

readonly MyStringId [] Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.m_rotationControls
staticprotected
Initial value:
= new MyStringId[]
{
MyControlsSpace.CUBE_ROTATE_VERTICAL_POSITIVE,
MyControlsSpace.CUBE_ROTATE_VERTICAL_NEGATIVE,
MyControlsSpace.CUBE_ROTATE_HORISONTAL_POSITIVE,
MyControlsSpace.CUBE_ROTATE_HORISONTAL_NEGATIVE,
MyControlsSpace.CUBE_ROTATE_ROLL_POSITIVE,
MyControlsSpace.CUBE_ROTATE_ROLL_NEGATIVE,
}

Definition at line 45 of file MyClipboardComponent.cs.

readonly int [] Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.m_rotationDirections = new int[6] { -1, 1, 1, -1, 1, -1 }
staticprotected

Definition at line 55 of file MyClipboardComponent.cs.

bool Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.m_rotationHintRotating = false
protected

Definition at line 105 of file MyClipboardComponent.cs.

MyBlockBuilderRotationHints Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.m_rotationHints = new MyBlockBuilderRotationHints()
protected

Definition at line 101 of file MyClipboardComponent.cs.

MyClipboardComponent Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.Static
static

Definition at line 43 of file MyClipboardComponent.cs.

Property Documentation

MyGridClipboard Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.Clipboard
get

Definition at line 68 of file MyClipboardComponent.cs.

MyClipboardDefinition Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.ClipboardDefinition
staticget

Definition at line 62 of file MyClipboardComponent.cs.

Vector3D Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.FreePlacementTarget
get

Definition at line 90 of file MyClipboardComponent.cs.

bool Sandbox.Game.SessionComponents.Clipboard.MyClipboardComponent.SpectatorIsBuilding
staticget

Definition at line 125 of file MyClipboardComponent.cs.


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