Sandbox.Game.Weapons
MyToolBase
Assembly: Sandbox.Game.dll
public class MyToolBase: MyDeviceBase
Properties
| Member | Description |
|---|---|
| InventoryItemId | Reference to the inventory item that this device originated from. Can be used to update the inventory item (when ammo changes etc...) Inherited from MyDeviceBase |
Constructors
| Member | Description |
|---|---|
| MyToolBase() | |
| MyToolBase(Vector3, MatrixD) |
Methods
| Member | Description |
|---|---|
| CanSwitchAmmoMagazine() | |
| GetMuzzleLocalPosition() | |
| GetMuzzleWorldPosition() | |
| GetObjectBuilder() | |
| Init(MyObjectBuilder_ToolBase) | |
| OnWorldPositionChanged(MatrixD) | |
| SwitchAmmoMagazineToNextAvailable() | |
| SwitchToNextAmmoMagazine() | |
| CanSwitchAmmoMagazine() | Determines whether this device can switch ammo Inherited from MyDeviceBase |
| GetMuzzleLocalPosition() | Gets the muzzle local position Inherited from MyDeviceBase |
| GetMuzzleWorldPosition() | Gets the muzzle world position Inherited from MyDeviceBase |
| Init(MyObjectBuilder_DeviceBase) | Initialization of the device Inherited from MyDeviceBase |
| SwitchAmmoMagazineToNextAvailable() | Switches to the next available ammo magazine Inherited from MyDeviceBase |
| SwitchToNextAmmoMagazine() | Switches to the next ammo magazine Inherited from MyDeviceBase |
Inheritance: MyDeviceBase