top of page

VR Ammo Clip

This is base ammo clip class which slides into the weapon.

Class name:

Include:

Type:

Lines of code:

AVR_AmmoClip

#include "VR/VR_Player/Weapons/VR_AmmoClip.h"

Interactable Actor

147

​General Information

Description

VR Ammo Clip is a class which stores the ammo and is fundumetal for every ammo class.


Settings

Ammo - This is an integer variable which represents the amount of ammo inside the mag.

Caliber - This is an integer variable which is a caliber index.


Blueprint API Reference

Public Member Functions

 

 Get Ammo 
    Returns ammo amount

Output
   uint8
 
 

Get Caliber
    Returns the current caliber

Output
   uint8
 
 

Get Is Apllyed
    Returns true if ammo is in the weapon

Output
   bool
 
 

Protected Attributes

 

Caliber
 
 

uint8 	PrevAmmo
 
 

bool 	bIsApllyed
 

bottom of page