|
Public Member Functions inherited from Sandbox.Game.Entities.IMyGunObject< T > |
Vector3 | DirectionToTarget (Vector3D target) |
|
bool | CanShoot (MyShootActionEnum action, long shooter, out MyGunStatusEnum status) |
| Should return true if and only if the gun would be able to shoot using the given shoot action. This method should not do any side-effects such as play sounds or create particle FX. More...
|
|
void | Shoot (MyShootActionEnum action, Vector3 direction, Vector3D?overrideWeaponPos, string gunAction=null) |
| Perform the shoot action according to the action parameter. This method should only be called when CanShoot returns true for the given action! More...
|
|
void | EndShoot (MyShootActionEnum action) |
|
void | BeginFailReaction (MyShootActionEnum action, MyGunStatusEnum status) |
| Perform a fail reaction to begin shoot that is shown on all clients (e.g. fail sound, etc.) More...
|
|
void | BeginFailReactionLocal (MyShootActionEnum action, MyGunStatusEnum status) |
|
void | ShootFailReactionLocal (MyShootActionEnum action, MyGunStatusEnum status) |
|
int | GetAmmunitionAmount () |
|
void | OnControlAcquired (MyCharacter owner) |
|
void | OnControlReleased () |
|
void | DrawHud (IMyCameraController camera, long playerId) |
|
void | UpdateSoundEmitter () |
|
Definition at line 9 of file IMyHandheldGunObject.cs.