Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VehicleFactionAffiliationComponent Class Reference
Inheritance diagram for SCR_VehicleFactionAffiliationComponent:
SCR_FactionAffiliationComponent

Protected Member Functions

override event void OnPostInit (IEntity owner)
bool IsVehicleOccupied ()
 Check if there are any occupants regardless of life state.
bool IsVehicleActive ()
 Check if there are any conscious and alive occupants among the occupants.
void OnCompartmentEntered (IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move)
void OnCompartmentLeft (IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move)
void UpdateOccupantsCount (IEntity ignoreOccupant=null)
void OnOccupantLifeStateChanged (ECharacterLifeState previousLifeState, ECharacterLifeState newLifeState)

Protected Attributes

int m_iOccupantCount
int m_iAliveOccupantCount

Detailed Description

Definition at line 6 of file SCR_VehicleFactionAffiliationComponent.c.

Member Function Documentation

◆ IsVehicleActive()

bool SCR_VehicleFactionAffiliationComponent::IsVehicleActive ( )
inlineprotected

Check if there are any conscious and alive occupants among the occupants.

Definition at line 26 of file SCR_VehicleFactionAffiliationComponent.c.

◆ IsVehicleOccupied()

bool SCR_VehicleFactionAffiliationComponent::IsVehicleOccupied ( )
inlineprotected

Check if there are any occupants regardless of life state.

Definition at line 19 of file SCR_VehicleFactionAffiliationComponent.c.

◆ OnCompartmentEntered()

void SCR_VehicleFactionAffiliationComponent::OnCompartmentEntered ( IEntity vehicle,
IEntity occupant,
BaseCompartmentSlot compartment,
bool move )
inlineprotected

Definition at line 32 of file SCR_VehicleFactionAffiliationComponent.c.

◆ OnCompartmentLeft()

void SCR_VehicleFactionAffiliationComponent::OnCompartmentLeft ( IEntity vehicle,
IEntity occupant,
BaseCompartmentSlot compartment,
bool move )
inlineprotected

Definition at line 71 of file SCR_VehicleFactionAffiliationComponent.c.

◆ OnOccupantLifeStateChanged()

void SCR_VehicleFactionAffiliationComponent::OnOccupantLifeStateChanged ( ECharacterLifeState previousLifeState,
ECharacterLifeState newLifeState )
inlineprotected

Definition at line 121 of file SCR_VehicleFactionAffiliationComponent.c.

◆ OnPostInit()

override event void SCR_VehicleFactionAffiliationComponent::OnPostInit ( IEntity owner)
inlineprotected

Definition at line 12 of file SCR_VehicleFactionAffiliationComponent.c.

◆ UpdateOccupantsCount()

void SCR_VehicleFactionAffiliationComponent::UpdateOccupantsCount ( IEntity ignoreOccupant = null)
inlineprotected

Definition at line 81 of file SCR_VehicleFactionAffiliationComponent.c.

Member Data Documentation

◆ m_iAliveOccupantCount

int SCR_VehicleFactionAffiliationComponent::m_iAliveOccupantCount
protected

Definition at line 9 of file SCR_VehicleFactionAffiliationComponent.c.

◆ m_iOccupantCount

int SCR_VehicleFactionAffiliationComponent::m_iOccupantCount
protected

Definition at line 8 of file SCR_VehicleFactionAffiliationComponent.c.


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