[ Back ]
Class:
UConsumeRegenComponent :  UActorComponent
Module:
NerveNetCore (NerveNetLibrary Plugin)
Header:
ConsumeRegenComponent.h
Source:
ConsumeRegenComponent.cpp
Description:
System that manages energy and items. Useful for health bars, ammo inventory, etc.


Variables:
bool
UseEnergy
System will use a floating value.
bool
UseItems
System will use an integer value.
bool
StartConsuming
Short description here.
bool
StartFull
Short description here.
bool
DisableRegen
Short description here.
bool
FreeConsume
Short description here.
float
ConsumeRate
Short description here.
float
RegenRate
Short description here.
float
EnergyCurrent
Short description here.
float
EnergyMax
Short description here.
int
ItemsCurrentCount
Short description here.
int
ItemsMaxCount
Short description here.
int
ItemsConsumeCount
Short description here.
int
ItemsRegenCount
Short description here.


Functions:
bool
()
bool
()
bool
()
void
()
void
()
void
()
void
()
bool
()
bool
()
float
()
float
()
void
(float Amount)
void
(float Amount)
void
(int Amount)
void
(int Amount)



bool CanConsume ()
This is a description of the function. Things will go here that explain what the hell this function does.


bool IsConsuming ()
This is a description of the function. Things will go here that explain what the hell this function does.


bool IsRegening ()
This is a description of the function. Things will go here that explain what the hell this function does.


void StartConsume ()
This is a description of the function. Things will go here that explain what the hell this function does.


void StopConsume ()
This is a description of the function. Things will go here that explain what the hell this function does.


void Empty ()
This is a description of the function. Things will go here that explain what the hell this function does.


void Fill ()
This is a description of the function. Things will go here that explain what the hell this function does.


bool IsEmpty ()
This is a description of the function. Things will go here that explain what the hell this function does.


bool IsFull ()
This is a description of the function. Things will go here that explain what the hell this function does.


float PercentFull ()
This is a description of the function. Things will go here that explain what the hell this function does.


float PercentEmpty ()
This is a description of the function. Things will go here that explain what the hell this function does.


void AddEnergy
(
float
Amount
This is a short description of parameter value 1.
)
This is a description of the function. Things will go here that explain what the hell this function does.


void RemoveEnergy
(
float
Amount
This is a short description of parameter value 1.
)
This is a description of the function. Things will go here that explain what the hell this function does.


void AddItems
(
int
Amount
This is a short description of parameter value 1.
)
This is a description of the function. Things will go here that explain what the hell this function does.


void RemoveItems
(
int
Amount
This is a short description of parameter value 1.
)
This is a description of the function. Things will go here that explain what the hell this function does.