Space Engineers
Public Member Functions | Static Public Member Functions | Properties | List of all members
Sandbox.Game.Weapons.MyDeviceBase Class Referenceabstract
Inheritance diagram for Sandbox.Game.Weapons.MyDeviceBase:
Sandbox.Game.Weapons.MyGunBase Sandbox.Game.Weapons.MyToolBase

Public Member Functions

void Init (MyObjectBuilder_DeviceBase objectBuilder)
 
abstract Vector3D GetMuzzleLocalPosition ()
 
abstract Vector3D GetMuzzleWorldPosition ()
 
abstract bool CanSwitchAmmoMagazine ()
 
abstract bool SwitchToNextAmmoMagazine ()
 
abstract bool SwitchAmmoMagazineToNextAvailable ()
 

Static Public Member Functions

static string GetGunNotificationName (MyDefinitionId gunId)
 

Properties

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 24 of file MyDeviceBase.cs.

Member Function Documentation

abstract bool Sandbox.Game.Weapons.MyDeviceBase.CanSwitchAmmoMagazine ( )
pure virtual
static string Sandbox.Game.Weapons.MyDeviceBase.GetGunNotificationName ( MyDefinitionId  gunId)
inlinestatic

Definition at line 26 of file MyDeviceBase.cs.

abstract Vector3D Sandbox.Game.Weapons.MyDeviceBase.GetMuzzleLocalPosition ( )
pure virtual
abstract Vector3D Sandbox.Game.Weapons.MyDeviceBase.GetMuzzleWorldPosition ( )
pure virtual
void Sandbox.Game.Weapons.MyDeviceBase.Init ( MyObjectBuilder_DeviceBase  objectBuilder)
inline

Definition at line 38 of file MyDeviceBase.cs.

abstract bool Sandbox.Game.Weapons.MyDeviceBase.SwitchAmmoMagazineToNextAvailable ( )
pure virtual
abstract bool Sandbox.Game.Weapons.MyDeviceBase.SwitchToNextAmmoMagazine ( )
pure virtual

Property Documentation

uint Sandbox.Game.Weapons.MyDeviceBase.InventoryItemId
getset

Reference to the inventory item that this device originated from. Can be used to update the inventory item (when ammo changes etc...)

Definition at line 36 of file MyDeviceBase.cs.


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