Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
Vehicle.c File Reference

Go to the source code of this file.

Enumerations

enum  EVehicleType {
  VEHICLE = 0 , CAR = 2 , TRUCK = 4 , APC = 8 ,
  FUEL_TRUCK = 16 , COMM_TRUCK = 32 , SUPPLY_TRUCK = 64 , MORTAR = 128 ,
  REPAIR = 256 , ARSENAL = 512
}

Functions

ScriptInvoker GetOnPhysicsActive ()
override void EOnPhysicsActive (IEntity owner, bool activeState)
Faction GetFaction ()
SCR_VehicleFactionAffiliationComponent GetFactionAffiliation ()
Faction GetDefaultFaction ()
bool IsOccupied ()
VehicleControllerComponent GetVehicleController ()
 Get vehicle controller.
PilotCompartmentSlot GetPilotCompartmentSlot ()
 Get primary pilot compartment slot.
IEntity GetPilot ()
SCR_ResourceComponent GetResourceComponent ()
void UpdateResourceComponent ()
void Vehicle (IEntitySource src, IEntity parent)
override void EOnInit (IEntity owner)

Variables

enum EVehicleType IEntity
enum EVehicleType m_OnPhysicsActive
EVehicleType m_eVehicleType
SCR_VehicleFactionAffiliationComponent m_pFactionComponent
SCR_VehiclePerceivableComponent m_pPerceivableComponent
VehicleControllerComponent m_VehicleController
SCR_ResourceComponent m_ResourceComponent

Enumeration Type Documentation

◆ EVehicleType

Enumerator
VEHICLE 
CAR 
TRUCK 
APC 
FUEL_TRUCK 
COMM_TRUCK 
SUPPLY_TRUCK 
MORTAR 
REPAIR 
ARSENAL 

Definition at line 3 of file Vehicle.c.

Function Documentation

◆ EOnPhysicsActive()

override void EOnPhysicsActive ( IEntity owner,
bool activeState )
protected

Definition at line 52 of file Vehicle.c.

◆ GetDefaultFaction()

Faction GetDefaultFaction ( )
protected
Returns

Definition at line 77 of file Vehicle.c.

◆ GetFaction()

Faction GetFaction ( )
protected
Returns

Definition at line 60 of file Vehicle.c.

◆ GetFactionAffiliation()

SCR_VehicleFactionAffiliationComponent GetFactionAffiliation ( )
protected
Returns

Definition at line 70 of file Vehicle.c.

◆ GetOnPhysicsActive()

ScriptInvoker GetOnPhysicsActive ( )
protected
Returns

Definition at line 43 of file Vehicle.c.

◆ GetPilot()

IEntity GetPilot ( )
protected
Returns
pilot of the vehicle - occupant of the primary pilot compartment

Definition at line 114 of file Vehicle.c.

◆ GetPilotCompartmentSlot()

PilotCompartmentSlot GetPilotCompartmentSlot ( )
protected

Get primary pilot compartment slot.

Definition at line 104 of file Vehicle.c.

◆ GetResourceComponent()

SCR_ResourceComponent GetResourceComponent ( )
protected
Returns

Definition at line 125 of file Vehicle.c.

◆ GetVehicleController()

VehicleControllerComponent GetVehicleController ( )
protected

Get vehicle controller.

Definition at line 97 of file Vehicle.c.

◆ IsOccupied()

bool IsOccupied ( )
protected
Returns

Definition at line 87 of file Vehicle.c.

◆ UpdateResourceComponent()

void UpdateResourceComponent ( )
protected

Definition at line 132 of file Vehicle.c.

◆ Vehicle()

void Vehicle ( IEntitySource src,
IEntity parent )
protected
Parameters
[in]src
[in]parent

Definition at line 190 of file Vehicle.c.

Variable Documentation

◆ IEntity

◆ m_eVehicleType

EVehicleType m_eVehicleType

Definition at line 30 of file Vehicle.c.

◆ m_OnPhysicsActive

enum EVehicleType m_OnPhysicsActive

◆ m_pFactionComponent

Definition at line 35 of file Vehicle.c.

◆ m_pPerceivableComponent

SCR_VehiclePerceivableComponent m_pPerceivableComponent

Definition at line 36 of file Vehicle.c.

◆ m_ResourceComponent

SCR_ResourceComponent m_ResourceComponent
protected

Definition at line 39 of file Vehicle.c.

◆ m_VehicleController

VehicleControllerComponent m_VehicleController
protected

Definition at line 38 of file Vehicle.c.