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

Go to the source code of this file.

Classes

class  SCR_VehicleSpawnProtectionComponentClass

Functions

override void OnPostInit (IEntity owner)
 Editable Mine.
override void EOnInit (IEntity owner)
void ReleaseProtection ()
void SetProtectionTime (int protectionTime)
void SetVehicleOwner (int playerID)
void SetProtectOnlyDriverSeat (bool onlyDriverSeat)
void SetReasonText (string text)
int GetVehicleOwner ()
bool IsProtected (notnull IEntity playerEntering, notnull BaseCompartmentSlot compartmentSlot)
void OnPlayerDisconected (int playerID)
void OnPlayerDisconnected (int playerID)
LocalizedString GetReasonText (IEntity user)
void RemoveEventHandlers ()

Variables

SCR_VehicleSpawnProtectionComponentClass NO_OWNER = -1
int m_iTimeOfProtection
bool m_bOnlyDriverSeat = true
string m_sReasonText

Function Documentation

◆ GetReasonText()

LocalizedString GetReasonText ( IEntity user)
protected
Parameters
[in]user
Returns

Definition at line 151 of file SCR_VehicleSpawnProtectionComponent.c.

◆ GetVehicleOwner()

int GetVehicleOwner ( )
protected
Returns

Definition at line 103 of file SCR_VehicleSpawnProtectionComponent.c.

◆ IsProtected()

bool IsProtected ( notnull IEntity playerEntering,
notnull BaseCompartmentSlot compartmentSlot )
protected
Parameters
[in]playerEntering
[in]compartmentSlot
Returns

Definition at line 113 of file SCR_VehicleSpawnProtectionComponent.c.

◆ OnPlayerDisconected()

void OnPlayerDisconected ( int playerID)
protected

Definition at line 136 of file SCR_VehicleSpawnProtectionComponent.c.

◆ OnPlayerDisconnected()

void OnPlayerDisconnected ( int playerID)
protected

Definition at line 142 of file SCR_VehicleSpawnProtectionComponent.c.

◆ ReleaseProtection()

void ReleaseProtection ( )
protected

Definition at line 35 of file SCR_VehicleSpawnProtectionComponent.c.

◆ RemoveEventHandlers()

void RemoveEventHandlers ( )
protected

Definition at line 161 of file SCR_VehicleSpawnProtectionComponent.c.

◆ SetProtectionTime()

void SetProtectionTime ( int protectionTime)
protected
Parameters
[in]protectionTime

Definition at line 46 of file SCR_VehicleSpawnProtectionComponent.c.

◆ SetProtectOnlyDriverSeat()

void SetProtectOnlyDriverSeat ( bool onlyDriverSeat)
protected
Parameters
[in]onlyDriverSeat

Definition at line 89 of file SCR_VehicleSpawnProtectionComponent.c.

◆ SetReasonText()

void SetReasonText ( string text)
protected
Parameters
[in]text

Definition at line 96 of file SCR_VehicleSpawnProtectionComponent.c.

◆ SetVehicleOwner()

void SetVehicleOwner ( int playerID)
protected
Parameters
[in]playerID

Definition at line 57 of file SCR_VehicleSpawnProtectionComponent.c.

Variable Documentation

◆ m_bOnlyDriverSeat

bool m_bOnlyDriverSeat = true
protected

Definition at line 15 of file SCR_VehicleSpawnProtectionComponent.c.

◆ m_iTimeOfProtection

int m_iTimeOfProtection
protected

Definition at line 14 of file SCR_VehicleSpawnProtectionComponent.c.

◆ m_sReasonText

string m_sReasonText
protected

Definition at line 19 of file SCR_VehicleSpawnProtectionComponent.c.

◆ NO_OWNER