Space Engineers
Public Member Functions | Protected Attributes | List of all members
Sandbox.Game.Weapons.MyToolBase Class Reference
Inheritance diagram for Sandbox.Game.Weapons.MyToolBase:
Sandbox.Game.Weapons.MyDeviceBase

Public Member Functions

 MyToolBase ()
 
 MyToolBase (Vector3 localMuzzlePosition, MatrixD matrix)
 
void OnWorldPositionChanged (MatrixD matrix)
 
override bool CanSwitchAmmoMagazine ()
 
override bool SwitchToNextAmmoMagazine ()
 
override bool SwitchAmmoMagazineToNextAvailable ()
 
override Vector3D GetMuzzleLocalPosition ()
 
override Vector3D GetMuzzleWorldPosition ()
 
MyObjectBuilder_ToolBase GetObjectBuilder ()
 
void Init (MyObjectBuilder_ToolBase objectBuilder)
 
- Public Member Functions inherited from Sandbox.Game.Weapons.MyDeviceBase
void Init (MyObjectBuilder_DeviceBase objectBuilder)
 

Protected Attributes

Vector3 m_positionMuzzleLocal
 
Vector3D m_positionMuzzleWorld
 

Additional Inherited Members

- Static Public Member Functions inherited from Sandbox.Game.Weapons.MyDeviceBase
static string GetGunNotificationName (MyDefinitionId gunId)
 
- Properties inherited from Sandbox.Game.Weapons.MyDeviceBase
uint InventoryItemId [get, set]
 Reference to the inventory item that this device originated from. Can be used to update the inventory item (when ammo changes etc...) More...
 

Detailed Description

Definition at line 12 of file MyToolBase.cs.

Constructor & Destructor Documentation

Sandbox.Game.Weapons.MyToolBase.MyToolBase ( )
inline

Definition at line 19 of file MyToolBase.cs.

Sandbox.Game.Weapons.MyToolBase.MyToolBase ( Vector3  localMuzzlePosition,
MatrixD  matrix 
)
inline

Definition at line 21 of file MyToolBase.cs.

Member Function Documentation

override bool Sandbox.Game.Weapons.MyToolBase.CanSwitchAmmoMagazine ( )
inlinevirtual

Implements Sandbox.Game.Weapons.MyDeviceBase.

Definition at line 32 of file MyToolBase.cs.

override Vector3D Sandbox.Game.Weapons.MyToolBase.GetMuzzleLocalPosition ( )
inlinevirtual

Implements Sandbox.Game.Weapons.MyDeviceBase.

Definition at line 49 of file MyToolBase.cs.

override Vector3D Sandbox.Game.Weapons.MyToolBase.GetMuzzleWorldPosition ( )
inlinevirtual

Implements Sandbox.Game.Weapons.MyDeviceBase.

Definition at line 54 of file MyToolBase.cs.

MyObjectBuilder_ToolBase Sandbox.Game.Weapons.MyToolBase.GetObjectBuilder ( )
inline

Definition at line 59 of file MyToolBase.cs.

void Sandbox.Game.Weapons.MyToolBase.Init ( MyObjectBuilder_ToolBase  objectBuilder)
inline

Definition at line 66 of file MyToolBase.cs.

void Sandbox.Game.Weapons.MyToolBase.OnWorldPositionChanged ( MatrixD  matrix)
inline

Definition at line 27 of file MyToolBase.cs.

override bool Sandbox.Game.Weapons.MyToolBase.SwitchAmmoMagazineToNextAvailable ( )
inlinevirtual

Implements Sandbox.Game.Weapons.MyDeviceBase.

Definition at line 43 of file MyToolBase.cs.

override bool Sandbox.Game.Weapons.MyToolBase.SwitchToNextAmmoMagazine ( )
inlinevirtual

Implements Sandbox.Game.Weapons.MyDeviceBase.

Definition at line 37 of file MyToolBase.cs.

Member Data Documentation

Vector3 Sandbox.Game.Weapons.MyToolBase.m_positionMuzzleLocal
protected

Definition at line 15 of file MyToolBase.cs.

Vector3D Sandbox.Game.Weapons.MyToolBase.m_positionMuzzleWorld
protected

Definition at line 16 of file MyToolBase.cs.


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