Show / Hide Table of Contents

Interface IMyGunBaseUser

Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game.dll
Syntax
public interface IMyGunBaseUser

Properties

AmmoInventory

The inventory in which the weapon searches for additional ammo

Declaration
MyInventory AmmoInventory { get; }
Property Value
Type Description
MyInventory

ConstraintDisplayName

Declaration
string ConstraintDisplayName { get; }
Property Value
Type Description
System.String

IgnoreEntities

Declaration
MyEntity[] IgnoreEntities { get; }
Property Value
Type Description
MyEntity[]

Launcher

Declaration
IMyMissileGunObject Launcher { get; }
Property Value
Type Description
IMyMissileGunObject

Owner

Declaration
MyEntity Owner { get; }
Property Value
Type Description
MyEntity

OwnerId

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

PhysicalItemId

The physical item that is being searched for in the weapon inventory. Can be ignored if WeaponInventory is null

Declaration
MyDefinitionId PhysicalItemId { get; }
Property Value
Type Description
MyDefinitionId

Weapon

Declaration
MyEntity Weapon { get; }
Property Value
Type Description
MyEntity

WeaponInventory

The inventory in which the weapon searches for it's object builder (e.g. an automatic rifle in character's inventory) Can be null if the object builder is not to be searched

Declaration
MyInventory WeaponInventory { get; }
Property Value
Type Description
MyInventory

Extension Methods

MyGunBaseUserExtension.PutConstraint(IMyGunBaseUser)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾