Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_GarbageSystem Class Reference

Script entry for garbage system modding. More...

Inheritance diagram for SCR_GarbageSystem:
GarbageSystem

Protected Member Functions

float OnInsertRequested (IEntity entity, float lifetime)
void HandleVehicleResourcesChanged (SCR_ResourceContainer container)
SCR_ResourceContainer FindVehicleResourceContainer (notnull IEntity entity, EResourceType resourceType)

Static Protected Member Functions

static SCR_GarbageSystem GetByEntityWorld (IEntity entity)

Protected Attributes

const float RESOURCE_LIFETIME_PERCENTAGE = 0.25

Detailed Description

Script entry for garbage system modding.

Definition at line 2 of file SCR_GarbageSystem.c.

Member Function Documentation

◆ FindVehicleResourceContainer()

SCR_ResourceContainer SCR_GarbageSystem::FindVehicleResourceContainer ( notnull IEntity entity,
EResourceType resourceType )
inlineprotected

Definition at line 43 of file SCR_GarbageSystem.c.

◆ GetByEntityWorld()

SCR_GarbageSystem SCR_GarbageSystem::GetByEntityWorld ( IEntity entity)
inlinestaticprotected

Definition at line 70 of file SCR_GarbageSystem.c.

◆ HandleVehicleResourcesChanged()

void SCR_GarbageSystem::HandleVehicleResourcesChanged ( SCR_ResourceContainer container)
inlineprotected

Definition at line 31 of file SCR_GarbageSystem.c.

◆ OnInsertRequested()

float SCR_GarbageSystem::OnInsertRequested ( IEntity entity,
float lifetime )
inlineprotected

Definition at line 7 of file SCR_GarbageSystem.c.

Member Data Documentation

◆ RESOURCE_LIFETIME_PERCENTAGE

const float SCR_GarbageSystem::RESOURCE_LIFETIME_PERCENTAGE = 0.25
protected

Definition at line 4 of file SCR_GarbageSystem.c.


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