Show / Hide Table of Contents

Interface IMyHandheldGunObject<T>

Inherited Members
IMyGunObject<T>.DirectionToTarget(Vector3D)
IMyGunObject<T>.CanShoot(MyShootActionEnum, Int64, MyGunStatusEnum)
IMyGunObject<T>.Shoot(MyShootActionEnum, Vector3, Nullable<Vector3D>, String)
IMyGunObject<T>.GetShootDirection()
IMyGunObject<T>.BeginShoot(MyShootActionEnum)
IMyGunObject<T>.EndShoot(MyShootActionEnum)
IMyGunObject<T>.BeginFailReaction(MyShootActionEnum, MyGunStatusEnum)
IMyGunObject<T>.BeginFailReactionLocal(MyShootActionEnum, MyGunStatusEnum)
IMyGunObject<T>.ShootFailReactionLocal(MyShootActionEnum, MyGunStatusEnum)
IMyGunObject<T>.GetTotalAmmunitionAmount()
IMyGunObject<T>.GetAmmunitionAmount()
IMyGunObject<T>.GetMagazineAmount()
IMyGunObject<T>.OnControlAcquired(IMyCharacter)
IMyGunObject<T>.OnControlReleased()
IMyGunObject<T>.DrawHud(IMyCameraController, Int64)
IMyGunObject<T>.DrawHud(IMyCameraController, Int64, Boolean)
IMyGunObject<T>.UpdateSoundEmitter()
IMyGunObject<T>.SupressShootAnimation()
IMyGunObject<T>.GetMuzzlePosition()
IMyGunObject<T>.IsToolbarUsable()
IMyGunObject<T>.BackkickForcePerSecond
IMyGunObject<T>.ShakeAmount
IMyGunObject<T>.DefinitionId
IMyGunObject<T>.EnabledInWorldRules
IMyGunObject<T>.GunBase
IMyGunObject<T>.IsSkinnable
IMyGunObject<T>.IsTargetLockingCapable
IMyGunObject<T>.IsShooting
IMyGunObject<T>.ShootDirectionUpdateTime
IMyGunObject<T>.NeedsShootDirectionWhileAiming
IMyGunObject<T>.MaximumShotLength
Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game.dll
Syntax
public interface IMyHandheldGunObject<out T> : IMyGunObject<T> where T : MyDeviceBase
Type Parameters
Name Description
T

Properties

CurrentAmmunition

Declaration
int CurrentAmmunition { get; set; }
Property Value
Type Description
System.Int32

CurrentMagazineAmmunition

Declaration
int CurrentMagazineAmmunition { get; set; }
Property Value
Type Description
System.Int32

CurrentMagazineAmount

Declaration
int CurrentMagazineAmount { get; set; }
Property Value
Type Description
System.Int32

ForceAnimationInsteadOfIK

Declaration
bool ForceAnimationInsteadOfIK { get; }
Property Value
Type Description
System.Boolean

IsBlocking

Declaration
bool IsBlocking { get; }
Property Value
Type Description
System.Boolean

IsRecoiling

Declaration
bool IsRecoiling { get; }
Property Value
Type Description
System.Boolean

IsReloading

Declaration
bool IsReloading { get; }
Property Value
Type Description
System.Boolean

NeedsReload

Declaration
bool NeedsReload { get; }
Property Value
Type Description
System.Boolean

OwnerId

Declaration
long OwnerId { get; }
Property Value
Type Description
System.Int64

OwnerIdentityId

Declaration
long OwnerIdentityId { get; }
Property Value
Type Description
System.Int64

PhysicalItemDefinition

Declaration
MyPhysicalItemDefinition PhysicalItemDefinition { get; }
Property Value
Type Description
MyPhysicalItemDefinition

PhysicalObject

Declaration
MyObjectBuilder_PhysicalGunObject PhysicalObject { get; }
Property Value
Type Description
MyObjectBuilder_PhysicalGunObject

Reloadable

Declaration
bool Reloadable { get; }
Property Value
Type Description
System.Boolean

Methods

CanDoubleClickToStick(MyShootActionEnum)

Declaration
bool CanDoubleClickToStick(MyShootActionEnum action)
Parameters
Type Name Description
MyShootActionEnum action
Returns
Type Description
System.Boolean

CanReload()

Declaration
bool CanReload()
Returns
Type Description
System.Boolean

DoubleClicked(MyShootActionEnum)

Declaration
void DoubleClicked(MyShootActionEnum action)
Parameters
Type Name Description
MyShootActionEnum action

GetReloadDuration()

Declaration
float GetReloadDuration()
Returns
Type Description
System.Single

GetShakeOnAction(MyShootActionEnum)

Declaration
bool GetShakeOnAction(MyShootActionEnum action)
Parameters
Type Name Description
MyShootActionEnum action
Returns
Type Description
System.Boolean

PlayReloadSound()

Declaration
void PlayReloadSound()

Reload()

Declaration
bool Reload()
Returns
Type Description
System.Boolean

ShouldEndShootOnPause(MyShootActionEnum)

Declaration
bool ShouldEndShootOnPause(MyShootActionEnum action)
Parameters
Type Name Description
MyShootActionEnum action
Returns
Type Description
System.Boolean
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾