Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
Sandbox.Game.Entities.MyShipController Class Reference
Inheritance diagram for Sandbox.Game.Entities.MyShipController:
Sandbox.Game.Entities.IMyControllableEntity Sandbox.ModAPI.Ingame.IMyShipController VRage.Game.ModAPI.Interfaces.IMyControllableEntity Sandbox.ModAPI.Ingame.IMyTerminalBlock Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.Game.Entities.MyCockpit Sandbox.Game.Entities.MyRemoteControl Sandbox.Game.Entities.Blocks.MyCryoChamber

Public Member Functions

bool IsShooting ()
 
 MyShipController ()
 
override void Init (MyObjectBuilder_CubeBlock objectBuilder, MyCubeGrid cubeGrid)
 
override MyObjectBuilder_CubeBlock GetObjectBuilderCubeBlock (bool copy=false)
 
virtual MatrixD GetHeadMatrix (bool includeY, bool includeX=true, bool forceBoneMatrix=false, bool forceHeadBone=false)
 
override MatrixD GetViewMatrix ()
 
void MoveAndRotate (Vector3 moveIndicator, Vector2 rotationIndicator, float rollIndicator)
 
void MoveAndRotate ()
 
void MoveAndRotateStopped ()
 
override void UpdatingStopped ()
 
void UpdateControls ()
 
override void UpdateAfterSimulation ()
 
override void UpdateOnceBeforeFrame ()
 
override void UpdateBeforeSimulation10 ()
 
override void UpdateBeforeSimulation100 ()
 
override void OnRemovedFromScene (object source)
 
override void OnAddedToScene (object source)
 
virtual void ForceReleaseControl ()
 
void Shoot (MyShootActionEnum action)
 
void Zoom (bool newKeyPress)
 
void Use ()
 
void PlayUseSound (bool getIn)
 
void RaiseControlledEntityUsed ()
 
void UseContinues ()
 
void UseFinished ()
 
void PickUp ()
 
void PickUpContinues ()
 
void PickUpFinished ()
 
void Crouch ()
 
void Jump ()
 
void SwitchWalk ()
 
void Sprint (bool enabled)
 
void Up ()
 
void Down ()
 
virtual void ShowInventory ()
 
virtual void ShowTerminal ()
 
void SwitchBroadcasting ()
 
void SwitchDamping ()
 
virtual void SwitchThrusts ()
 
void Die ()
 
void SwitchLights ()
 
void SwitchHandbrake ()
 
void SwitchLeadingGears ()
 
void HudNotifications ()
 
void SwitchReactors ()
 
void DrawHud (IMyCameraController camera, long playerId)
 
virtual bool IsLargeShip ()
 
bool CanSwitchToWeapon (MyDefinitionId?weapon)
 
void SwitchToWeapon (MyDefinitionId weapon)
 
void SwitchToWeapon (MyToolbarItemWeapon weapon)
 
override void OnRegisteredToGridSystems ()
 
override void OnUnregisteredFromGridSystems ()
 
void SetWeaponSystem (MyGridWeaponSystem weaponSystem)
 
override void UpdateVisual ()
 
void BeginShoot (MyShootActionEnum action)
 This will be called locally to start shooting with the given action More...
 
void EndShoot (MyShootActionEnum action)
 This will be called locally to start shooting with the given action More...
 
void OnBeginShoot (MyShootActionEnum action)
 This will be called back from the sync object both on local and remote clients More...
 
void OnEndShoot (MyShootActionEnum action)
 This will be called back from the sync object both on local and remote clients More...
 
void RemoveUsers (bool local)
 
MyEntityCameraSettings GetCameraEntitySettings ()
 
override void SetDamageEffect (bool show)
 
override void StopDamageEffect ()
 
void RequestUse (UseActionEnum actionEnum, IMyControllableEntity usedBy)
 
void BeginShootSync (MyShootActionEnum action=MyShootActionEnum.PrimaryAction)
 
void EndShootSync (MyShootActionEnum action=MyShootActionEnum.PrimaryAction)
 
MyGridNetState GetNetState ()
 
void SetNetState (MyGridNetState netState)
 
Vector3D GetNaturalGravity ()
 Gets the detected natural gravity vector and power at the current location. More...
 
Vector3D GetArtificialGravity ()
 Gets the detected artificial gravity vector and power at the current location. More...
 
Vector3D GetTotalGravity ()
 Gets the total accumulated gravity vector and power at the current location, taking both natural and artificial gravity into account. More...
 
MyShipMass CalculateShipMass ()
 Gets information about the current mass of the ship. More...
 
- Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyTerminalBlock
bool HasLocalPlayerAccess ()
 
bool HasPlayerAccess (long playerId)
 
void SetCustomName (string text)
 
void SetCustomName (StringBuilder text)
 
void GetActions (List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null)
 
void SearchActionsOfName (string name, List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null)
 
Sandbox.ModAPI.Interfaces.ITerminalAction GetActionWithName (string name)
 
Sandbox.ModAPI.Interfaces.ITerminalProperty GetProperty (string id)
 
void GetProperties (List< Sandbox.ModAPI.Interfaces.ITerminalProperty > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalProperty, bool > collect=null)
 
bool HasLocalPlayerAccess ()
 
bool HasPlayerAccess (long playerId)
 
void RequestShowOnHUD (bool enable)
 
void SetCustomName (string text)
 
void SetCustomName (StringBuilder text)
 
void GetActions (List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null)
 
- Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
string GetOwnerFactionTag ()
 
Sandbox.Common.MyRelationsBetweenPlayerAndBlock GetPlayerRelationToOwner ()
 
Sandbox.Common.MyRelationsBetweenPlayerAndBlock GetUserRelationToOwner (long playerId)
 
void UpdateIsWorking ()
 

Static Public Member Functions

static bool HasPriorityOver (MyShipController first, MyShipController second)
 

Public Attributes

MyGridGyroSystem GridGyroSystem
 
MyGridSelectionSystem GridSelectionSystem
 
MyGridReflectorLightSystem GridReflectorLights
 
bool BuildingMode = false
 
bool hasPower = false
 

Protected Member Functions

bool IsShooting (MyShootActionEnum action)
 
override void CreateTerminalControls ()
 
virtual void ComponentStack_IsFunctionalChanged ()
 
void ClearMovementControl ()
 
virtual void UpdateShipInfo10 (bool controlAcquired=false)
 
virtual void OnControlAcquired_UpdateCamera ()
 
virtual bool IsCameraController ()
 
void OnControlAcquired (MyEntityController controller)
 
virtual void OnControlReleased_UpdateCamera ()
 
virtual void OnControlReleased (MyEntityController controller)
 
virtual bool ShouldSit ()
 
virtual void UpdateCameraAfterChange (bool resetHeadLocalAngle=true)
 
virtual void sync_UseSuccess (UseActionEnum actionEnum, IMyControllableEntity user)
 
void sync_ControlledEntity_Used ()
 
virtual void OnControlledEntity_Used ()
 
void EndShootAll ()
 
override void Closing ()
 
virtual void UpdateSoundState ()
 
virtual void StartLoopSound ()
 
virtual void StopLoopSound ()
 
virtual void RemoveLocal ()
 
virtual bool CanBeMainCockpit ()
 
virtual bool CanHaveHorizon ()
 
bool IsMainCockpitFree ()
 

Protected Attributes

MyRechargeSocket m_rechargeSocket
 
bool m_enableFirstPerson = false
 
bool m_enableShipControl = true
 
bool m_enableBuilderCockpit = false
 
MyEntity3DSoundEmitter m_soundEmitter
 
MySoundPair m_baseIdleSound
 
MySoundPair GetOutOfCockpitSound = MySoundPair.Empty
 
MySoundPair GetInCockpitSound = MySoundPair.Empty
 
MyCharacter m_lastPilot = null
 
bool m_singleWeaponMode
 
Vector3 m_headLocalPosition
 

Properties

MyResourceDistributorComponent GridResourceDistributor [get]
 
MyGridWheelSystem GridWheels [get]
 
MyEntityThrustComponent EntityThrustComponent [get]
 
virtual MyStringId LeaveNotificationHintText [get]
 
bool EnableShipControl [get]
 
bool PlayDefaultUseSound [get]
 
MyToolbar Toolbar [get]
 
bool HasWheels [get]
 
VRage.Groups.MyGroups< MyCubeGrid, MyGridPhysicalGroupDataControlGroup [get]
 
virtual MyCharacter Pilot [get]
 
virtual ControllerPriority Priority [get]
 
bool PrimaryLookaround [get]
 
virtual bool ForceFirstPersonCamera [get, set]
 
bool EnableFirstPerson [get]
 
MyEntity TopGrid [get]
 
MyEntity IsUsing [get]
 
override Vector3D LocationForHudMarker [get]
 
new MyShipControllerDefinition BlockDefinition [get]
 
bool ControlThrusters [get, set]
 
bool ControlWheels [get, set]
 
MyEntity Entity [get]
 
MyControllerInfo ControllerInfo [get]
 
bool SingleWeaponMode [get]
 
bool IsMainCockpit [get, set]
 
bool HorizonIndicatorEnabled [get, set]
 
virtual MyToolbarType ToolbarType [get]
 
virtual float HeadLocalXAngle [get, set]
 
virtual float HeadLocalYAngle [get, set]
 
MyStringId ControlContext [get]
 
- Properties inherited from Sandbox.Game.Entities.IMyControllableEntity
MyControllerInfo ControllerInfo [get]
 
new MyEntity Entity [get]
 
float HeadLocalXAngle [get, set]
 
float HeadLocalYAngle [get, set]
 
bool EnabledBroadcasting [get]
 
MyToolbarType ToolbarType [get]
 
MyStringId ControlContext [get]
 
MyToolbar Toolbar [get]
 
- Properties inherited from VRage.Game.ModAPI.Interfaces.IMyControllableEntity
IMyEntity Entity [get]
 
bool ForceFirstPersonCamera [get, set]
 
bool EnabledThrusts [get]
 
bool EnabledDamping [get]
 
bool EnabledLights [get]
 
bool EnabledLeadingGears [get]
 
bool EnabledReactors [get]
 
bool EnabledHelmet [get]
 
bool PrimaryLookaround [get]
 
- Properties inherited from Sandbox.ModAPI.Ingame.IMyShipController
bool IsUnderControl [get]
 Indicates whether a block is locally or remotely controlled. More...
 
bool ControlWheels [get]
 Indicates whether wheels are being controlled by this controller. More...
 
bool ControlThrusters [get]
 Indicates whether thrusters are being controlled by this controller. More...
 
bool HandBrake [get]
 Indicates the current state of the handbrake. More...
 
bool DampenersOverride [get]
 Indicates whether dampeners are currently enabled. More...
 
Vector3 MoveIndicator [get]
 Directional input from user/autopilot. Values can be very large with high controller sensitivity More...
 
Vector2 RotationIndicator [get]
 Pitch, yaw input from user/autopilot. Values can be very large with high controller sensitivity More...
 
float RollIndicator [get]
 Roll input from user/autopilot. Values can be very large with high controller sensitivity More...
 
- Properties inherited from Sandbox.ModAPI.Ingame.IMyTerminalBlock
string CustomName [get]
 
string CustomNameWithFaction [get]
 
string DetailedInfo [get]
 
string CustomInfo [get]
 
string CustomData [get, set]
 Gets or sets the Custom Data string. NOTE: Only use this for user input. For storing large mod configs, create your own MyModStorageComponent More...
 
bool ShowOnHUD [get]
 
- Properties inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
Sandbox.Common.ObjectBuilders.Definitions.SerializableDefinitionId BlockDefinition [get]
 
bool CheckConnectionAllowed [get]
 
IMyCubeGrid CubeGrid [get]
 
String DefinitionDisplayNameText [get]
 
float DisassembleRatio [get]
 
String DisplayNameText [get]
 
bool IsBeingHacked [get]
 
bool IsFunctional [get]
 
bool IsWorking [get]
 
VRageMath.Vector3I Max [get]
 
VRageMath.Vector3I Min [get]
 
int NumberInGrid [get]
 
VRageMath.MyBlockOrientation Orientation [get]
 
long OwnerId [get]
 
VRageMath.Vector3I Position [get]
 

Additional Inherited Members

- Events inherited from Sandbox.ModAPI.Ingame.IMyTerminalBlock
Action< IMyTerminalBlockCustomNameChanged
 
Action< IMyTerminalBlockOwnershipChanged
 
Action< IMyTerminalBlockPropertiesChanged
 
Action< IMyTerminalBlockShowOnHUDChanged
 
Action< IMyTerminalBlockVisibilityChanged
 
- Events inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
Action< IMyCubeBlockIsWorkingChanged
 

Detailed Description

Definition at line 56 of file MyShipController.cs.

Constructor & Destructor Documentation

Sandbox.Game.Entities.MyShipController.MyShipController ( )
inline

Definition at line 227 of file MyShipController.cs.

Member Function Documentation

void Sandbox.Game.Entities.MyShipController.BeginShoot ( MyShootActionEnum  action)
inline

This will be called locally to start shooting with the given action

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 1949 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.BeginShootSync ( MyShootActionEnum  action = MyShootActionEnum.PrimaryAction)
inline

Definition at line 2602 of file MyShipController.cs.

MyShipMass Sandbox.Game.Entities.MyShipController.CalculateShipMass ( )
inline

Gets information about the current mass of the ship.

Returns

Implements Sandbox.ModAPI.Ingame.IMyShipController.

Definition at line 62 of file MyShipController_ModAPI.cs.

virtual bool Sandbox.Game.Entities.MyShipController.CanBeMainCockpit ( )
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 2131 of file MyShipController.cs.

virtual bool Sandbox.Game.Entities.MyShipController.CanHaveHorizon ( )
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.Blocks.MyCryoChamber.

Definition at line 2136 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.CanSwitchToWeapon ( MyDefinitionId weapon)
inline

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 1667 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.ClearMovementControl ( )
inlineprotected

Definition at line 528 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.Closing ( )
inlineprotected

Definition at line 2020 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.ComponentStack_IsFunctionalChanged ( )
inlineprotectedvirtual
override void Sandbox.Game.Entities.MyShipController.CreateTerminalControls ( )
inlineprotected

Definition at line 248 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.Crouch ( )
inline
void Sandbox.Game.Entities.MyShipController.Die ( )
inline
void Sandbox.Game.Entities.MyShipController.Down ( )
inline
void Sandbox.Game.Entities.MyShipController.DrawHud ( IMyCameraController  camera,
long  playerId 
)
inline
void Sandbox.Game.Entities.MyShipController.EndShoot ( MyShootActionEnum  action)
inline

This will be called locally to start shooting with the given action

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 1988 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.EndShootAll ( )
inlineprotected

Definition at line 1966 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.EndShootSync ( MyShootActionEnum  action = MyShootActionEnum.PrimaryAction)
inline

Definition at line 2634 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.ForceReleaseControl ( )
inlinevirtual

Reimplemented in Sandbox.Game.Entities.MyRemoteControl.

Definition at line 1280 of file MyShipController.cs.

Vector3D Sandbox.Game.Entities.MyShipController.GetArtificialGravity ( )
inline

Gets the detected artificial gravity vector and power at the current location.

Returns

Implements Sandbox.ModAPI.Ingame.IMyShipController.

Definition at line 37 of file MyShipController_ModAPI.cs.

MyEntityCameraSettings Sandbox.Game.Entities.MyShipController.GetCameraEntitySettings ( )
inline

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 2409 of file MyShipController.cs.

virtual MatrixD Sandbox.Game.Entities.MyShipController.GetHeadMatrix ( bool  includeY,
bool  includeX = true,
bool  forceBoneMatrix = false,
bool  forceHeadBone = false 
)
inlinevirtual
Vector3D Sandbox.Game.Entities.MyShipController.GetNaturalGravity ( )
inline

Gets the detected natural gravity vector and power at the current location.

Returns

Implements Sandbox.ModAPI.Ingame.IMyShipController.

Definition at line 32 of file MyShipController_ModAPI.cs.

MyGridNetState Sandbox.Game.Entities.MyShipController.GetNetState ( )
inline

Definition at line 2700 of file MyShipController.cs.

override MyObjectBuilder_CubeBlock Sandbox.Game.Entities.MyShipController.GetObjectBuilderCubeBlock ( bool  copy = false)
inline

Definition at line 393 of file MyShipController.cs.

Vector3D Sandbox.Game.Entities.MyShipController.GetTotalGravity ( )
inline

Gets the total accumulated gravity vector and power at the current location, taking both natural and artificial gravity into account.

Returns

Implements Sandbox.ModAPI.Ingame.IMyShipController.

Definition at line 42 of file MyShipController_ModAPI.cs.

override MatrixD Sandbox.Game.Entities.MyShipController.GetViewMatrix ( )
inline

Definition at line 419 of file MyShipController.cs.

static bool Sandbox.Game.Entities.MyShipController.HasPriorityOver ( MyShipController  first,
MyShipController  second 
)
inlinestatic

Definition at line 849 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.HudNotifications ( )
inline

Definition at line 1507 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.Init ( MyObjectBuilder_CubeBlock  objectBuilder,
MyCubeGrid  cubeGrid 
)
inline

Definition at line 324 of file MyShipController.cs.

virtual bool Sandbox.Game.Entities.MyShipController.IsCameraController ( )
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 1084 of file MyShipController.cs.

virtual bool Sandbox.Game.Entities.MyShipController.IsLargeShip ( )
inlinevirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 1626 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.IsMainCockpitFree ( )
inlineprotected

Definition at line 2141 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.IsShooting ( MyShootActionEnum  action)
inlineprotected

Definition at line 176 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.IsShooting ( )
inline

Definition at line 181 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.Jump ( )
inline
void Sandbox.Game.Entities.MyShipController.MoveAndRotate ( Vector3  moveIndicator,
Vector2  rotationIndicator,
float  rollIndicator 
)
inline
void Sandbox.Game.Entities.MyShipController.MoveAndRotate ( )
inline

Definition at line 440 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.MoveAndRotateStopped ( )
inline
override void Sandbox.Game.Entities.MyShipController.OnAddedToScene ( object  source)
inline

Definition at line 1073 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.OnBeginShoot ( MyShootActionEnum  action)
inline

This will be called back from the sync object both on local and remote clients

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 1999 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.OnControlAcquired ( MyEntityController  controller)
inlineprotected

Definition at line 1113 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.OnControlAcquired_UpdateCamera ( )
inlineprotectedvirtual
virtual void Sandbox.Game.Entities.MyShipController.OnControlledEntity_Used ( )
inlineprotectedvirtual
virtual void Sandbox.Game.Entities.MyShipController.OnControlReleased ( MyEntityController  controller)
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 1200 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.OnControlReleased_UpdateCamera ( )
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 1195 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.OnEndShoot ( MyShootActionEnum  action)
inline

This will be called back from the sync object both on local and remote clients

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 2010 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.OnRegisteredToGridSystems ( )
inline

Definition at line 1812 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.OnRemovedFromScene ( object  source)
inline

Definition at line 1068 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.OnUnregisteredFromGridSystems ( )
inline

Definition at line 1830 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.PickUp ( )
inline
void Sandbox.Game.Entities.MyShipController.PickUpContinues ( )
inline
void Sandbox.Game.Entities.MyShipController.PickUpFinished ( )
inline

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 1375 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.PlayUseSound ( bool  getIn)
inline

Definition at line 1345 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.RaiseControlledEntityUsed ( )
inline

Definition at line 1354 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.RemoveLocal ( )
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 2064 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.RemoveUsers ( bool  local)
inline

Definition at line 2052 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.RequestUse ( UseActionEnum  actionEnum,
IMyControllableEntity  usedBy 
)
inline

Definition at line 2508 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.SetDamageEffect ( bool  show)
inline

Definition at line 2419 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.SetNetState ( MyGridNetState  netState)
inline

Definition at line 2710 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.SetWeaponSystem ( MyGridWeaponSystem  weaponSystem)
inline

Definition at line 1862 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.Shoot ( MyShootActionEnum  action)
inline

Definition at line 1321 of file MyShipController.cs.

virtual bool Sandbox.Game.Entities.MyShipController.ShouldSit ( )
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 1299 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.ShowInventory ( )
inlinevirtual
virtual void Sandbox.Game.Entities.MyShipController.ShowTerminal ( )
inlinevirtual
void Sandbox.Game.Entities.MyShipController.Sprint ( bool  enabled)
inline

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 1391 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.StartLoopSound ( )
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 2042 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.StopDamageEffect ( )
inline

Definition at line 2432 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.StopLoopSound ( )
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 2047 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.SwitchBroadcasting ( )
inline

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 1411 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.SwitchDamping ( )
inline
void Sandbox.Game.Entities.MyShipController.SwitchHandbrake ( )
inline

Definition at line 1482 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.SwitchLeadingGears ( )
inline
void Sandbox.Game.Entities.MyShipController.SwitchLights ( )
inline
void Sandbox.Game.Entities.MyShipController.SwitchReactors ( )
inline
virtual void Sandbox.Game.Entities.MyShipController.SwitchThrusts ( )
inlinevirtual
void Sandbox.Game.Entities.MyShipController.SwitchToWeapon ( MyDefinitionId  weapon)
inline

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 1687 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.SwitchToWeapon ( MyToolbarItemWeapon  weapon)
inline

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 1695 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.SwitchWalk ( )
inline
void Sandbox.Game.Entities.MyShipController.sync_ControlledEntity_Used ( )
inlineprotected

Definition at line 1904 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.sync_UseSuccess ( UseActionEnum  actionEnum,
IMyControllableEntity  user 
)
inlineprotectedvirtual
void Sandbox.Game.Entities.MyShipController.Up ( )
inline
override void Sandbox.Game.Entities.MyShipController.UpdateAfterSimulation ( )
inline

Definition at line 598 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.UpdateBeforeSimulation10 ( )
inline

Definition at line 719 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.UpdateBeforeSimulation100 ( )
inline

Definition at line 829 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.UpdateCameraAfterChange ( bool  resetHeadLocalAngle = true)
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 1317 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.UpdateControls ( )
inline

Definition at line 593 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.UpdateOnceBeforeFrame ( )
inline

Definition at line 714 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.UpdateShipInfo10 ( bool  controlAcquired = false)
inlineprotectedvirtual

Definition at line 768 of file MyShipController.cs.

virtual void Sandbox.Game.Entities.MyShipController.UpdateSoundState ( )
inlineprotectedvirtual

Reimplemented in Sandbox.Game.Entities.MyCockpit.

Definition at line 2037 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.UpdateVisual ( )
inline

Implements Sandbox.ModAPI.Ingame.IMyCubeBlock.

Definition at line 1868 of file MyShipController.cs.

override void Sandbox.Game.Entities.MyShipController.UpdatingStopped ( )
inline

Definition at line 586 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.Use ( )
inline
void Sandbox.Game.Entities.MyShipController.UseContinues ( )
inline
void Sandbox.Game.Entities.MyShipController.UseFinished ( )
inline

Implements Sandbox.Game.Entities.IMyControllableEntity.

Definition at line 1363 of file MyShipController.cs.

void Sandbox.Game.Entities.MyShipController.Zoom ( bool  newKeyPress)
inline

Definition at line 1334 of file MyShipController.cs.

Member Data Documentation

bool Sandbox.Game.Entities.MyShipController.BuildingMode = false

Definition at line 121 of file MyShipController.cs.

MySoundPair Sandbox.Game.Entities.MyShipController.GetInCockpitSound = MySoundPair.Empty
protected

Definition at line 127 of file MyShipController.cs.

MySoundPair Sandbox.Game.Entities.MyShipController.GetOutOfCockpitSound = MySoundPair.Empty
protected

Definition at line 126 of file MyShipController.cs.

MyGridGyroSystem Sandbox.Game.Entities.MyShipController.GridGyroSystem

Definition at line 60 of file MyShipController.cs.

MyGridReflectorLightSystem Sandbox.Game.Entities.MyShipController.GridReflectorLights

Definition at line 66 of file MyShipController.cs.

MyGridSelectionSystem Sandbox.Game.Entities.MyShipController.GridSelectionSystem

Definition at line 61 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.hasPower = false

Definition at line 122 of file MyShipController.cs.

MySoundPair Sandbox.Game.Entities.MyShipController.m_baseIdleSound
protected

Definition at line 125 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.m_enableBuilderCockpit = false
protected

Definition at line 108 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.m_enableFirstPerson = false
protected

Definition at line 106 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.m_enableShipControl = true
protected

Definition at line 107 of file MyShipController.cs.

Vector3 Sandbox.Game.Entities.MyShipController.m_headLocalPosition
protected

Definition at line 1931 of file MyShipController.cs.

MyCharacter Sandbox.Game.Entities.MyShipController.m_lastPilot = null
protected

Definition at line 215 of file MyShipController.cs.

MyRechargeSocket Sandbox.Game.Entities.MyShipController.m_rechargeSocket
protected

Definition at line 86 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.m_singleWeaponMode
protected

Definition at line 1930 of file MyShipController.cs.

MyEntity3DSoundEmitter Sandbox.Game.Entities.MyShipController.m_soundEmitter
protected

Definition at line 124 of file MyShipController.cs.

Property Documentation

new MyShipControllerDefinition Sandbox.Game.Entities.MyShipController.BlockDefinition
get

Definition at line 1640 of file MyShipController.cs.

MyStringId Sandbox.Game.Entities.MyShipController.ControlContext
get

Definition at line 2415 of file MyShipController.cs.

VRage.Groups.MyGroups<MyCubeGrid, MyGridPhysicalGroupData> Sandbox.Game.Entities.MyShipController.ControlGroup
get

Definition at line 205 of file MyShipController.cs.

MyControllerInfo Sandbox.Game.Entities.MyShipController.ControllerInfo
get

Definition at line 1933 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.ControlThrusters
getset

Definition at line 1649 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.ControlWheels
getset

Definition at line 1660 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.EnableFirstPerson
get

Definition at line 575 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.EnableShipControl
get

Definition at line 109 of file MyShipController.cs.

MyEntity Sandbox.Game.Entities.MyShipController.Entity
get

Definition at line 1925 of file MyShipController.cs.

MyEntityThrustComponent Sandbox.Game.Entities.MyShipController.EntityThrustComponent
get

Definition at line 73 of file MyShipController.cs.

virtual bool Sandbox.Game.Entities.MyShipController.ForceFirstPersonCamera
getset

Definition at line 558 of file MyShipController.cs.

MyResourceDistributorComponent Sandbox.Game.Entities.MyShipController.GridResourceDistributor
get

Definition at line 63 of file MyShipController.cs.

MyGridWheelSystem Sandbox.Game.Entities.MyShipController.GridWheels
get

Definition at line 68 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.HasWheels
get

Definition at line 192 of file MyShipController.cs.

virtual float Sandbox.Game.Entities.MyShipController.HeadLocalXAngle
getset

Definition at line 2335 of file MyShipController.cs.

virtual float Sandbox.Game.Entities.MyShipController.HeadLocalYAngle
getset

Definition at line 2341 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.HorizonIndicatorEnabled
getset

Definition at line 2149 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.IsMainCockpit
getset

Definition at line 2092 of file MyShipController.cs.

MyEntity Sandbox.Game.Entities.MyShipController.IsUsing
get

Definition at line 1622 of file MyShipController.cs.

virtual MyStringId Sandbox.Game.Entities.MyShipController.LeaveNotificationHintText
getprotected

Definition at line 104 of file MyShipController.cs.

override Vector3D Sandbox.Game.Entities.MyShipController.LocationForHudMarker
get

Definition at line 1632 of file MyShipController.cs.

virtual MyCharacter Sandbox.Game.Entities.MyShipController.Pilot
get

Definition at line 212 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.PlayDefaultUseSound
get

Definition at line 128 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.PrimaryLookaround
get

Definition at line 429 of file MyShipController.cs.

virtual ControllerPriority Sandbox.Game.Entities.MyShipController.Priority
getprotected

Definition at line 218 of file MyShipController.cs.

bool Sandbox.Game.Entities.MyShipController.SingleWeaponMode
get

Definition at line 2075 of file MyShipController.cs.

MyToolbar Sandbox.Game.Entities.MyShipController.Toolbar
get

Definition at line 149 of file MyShipController.cs.

virtual MyToolbarType Sandbox.Game.Entities.MyShipController.ToolbarType
get

Definition at line 2158 of file MyShipController.cs.

MyEntity Sandbox.Game.Entities.MyShipController.TopGrid
get

Definition at line 1614 of file MyShipController.cs.


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