Loading...
Searching...
No Matches
BaseMagazineComponent Interface Reference
Inheritance diagram for BaseMagazineComponent:
GameComponent MagazineComponent

Public Member Functions

proto external ResourceName GetAmmoType (int idx=0)
 
proto external IEntity GetOwner ()
 
proto external bool IsUsed ()
 
proto external void SetAmmoCount (int ammoCount)
 IMPORTANT* Could only be called on the master.
 
proto external int GetAmmoCount ()
 Returns the remaining ammo.
 
proto external int GetMaxAmmoCount ()
 Returns the maximum amount of ammo in this magazine.
 
proto external BaseMagazineWell GetMagazineWell ()
 
proto external UIInfo GetUIInfo ()
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Additional Inherited Members

- Protected Member Functions inherited from GameComponent
void OnDelete (IEntity owner)
 Called when Entity is being to be destroyed (deleted) or component to be deleted.
 

Member Function Documentation

◆ GetAmmoCount()

proto external int BaseMagazineComponent.GetAmmoCount ( )

Returns the remaining ammo.

◆ GetAmmoType()

proto external ResourceName BaseMagazineComponent.GetAmmoType ( int idx = 0)

◆ GetMagazineWell()

proto external BaseMagazineWell BaseMagazineComponent.GetMagazineWell ( )

◆ GetMaxAmmoCount()

proto external int BaseMagazineComponent.GetMaxAmmoCount ( )

Returns the maximum amount of ammo in this magazine.

◆ GetOwner()

proto external IEntity BaseMagazineComponent.GetOwner ( )

◆ GetUIInfo()

proto external UIInfo BaseMagazineComponent.GetUIInfo ( )

◆ IsUsed()

proto external bool BaseMagazineComponent.IsUsed ( )

◆ SetAmmoCount()

proto external void BaseMagazineComponent.SetAmmoCount ( int ammoCount)

IMPORTANT* Could only be called on the master.

Set the remaining ammo.


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