|
override void | OnCompartmentEntered (IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move) |
|
override void | OnCompartmentLeft (IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move) |
|
override void | OnFactionChanged (Faction previous, Faction current) |
|
void | OnPostInit (IEntity owner) |
| Called after all components are initialized.
|
|
void | OnCompartmentEntering (IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move) |
|
void | OnCompartmentEntered (IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move) |
|
void | OnCompartmentLeft (IEntity vehicle, IEntity occupant, BaseCompartmentSlot compartment, bool move) |
|
void | OnFactionChanged (Faction previous, Faction current) |
|
◆ IsVehicleActive()
bool SCR_VehicleFactionAffiliationComponent.IsVehicleActive |
( |
| ) |
|
Check if there are any conscious and alive occupants among the occupants.
◆ IsVehicleOccupied()
bool SCR_VehicleFactionAffiliationComponent.IsVehicleOccupied |
( |
| ) |
|
Check if there are any occupants regardless of life state.
◆ OnCompartmentEntered()
override void SCR_VehicleFactionAffiliationComponent.OnCompartmentEntered |
( |
IEntity |
vehicle, |
|
|
IEntity |
occupant, |
|
|
BaseCompartmentSlot |
compartment, |
|
|
bool |
move |
|
) |
| |
|
protected |
◆ OnCompartmentLeft()
override void SCR_VehicleFactionAffiliationComponent.OnCompartmentLeft |
( |
IEntity |
vehicle, |
|
|
IEntity |
occupant, |
|
|
BaseCompartmentSlot |
compartment, |
|
|
bool |
move |
|
) |
| |
|
protected |
◆ OnOccupantLifeStateChanged()
◆ OnPostInit()
override void SCR_VehicleFactionAffiliationComponent.OnPostInit |
( |
IEntity |
owner | ) |
|
Called after all components are initialized.
- Parameters
-
owner | Entity this component is attached to. |
Implements FactionAffiliationComponent.
◆ UpdateOccupantsCount()
void SCR_VehicleFactionAffiliationComponent.UpdateOccupantsCount |
( |
IEntity |
ignoreOccupant = null | ) |
|
◆ m_iAliveOccupantCount
int SCR_VehicleFactionAffiliationComponent.m_iAliveOccupantCount |
|
protected |
◆ m_iOccupantCount
int SCR_VehicleFactionAffiliationComponent.m_iOccupantCount |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Vehicle/SCR_VehicleFactionAffiliationComponent.c