Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_VehicleSpawnProtectionComponentClass |
Functions | |
override void | OnPostInit (IEntity owner) |
Called on PostInit when all components are added. More... | |
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) |
protected void | OnPlayerDisconected (int playerID) |
protected void | OnPlayerDisconnected (int playerID) |
LocalizedString | GetReasonText (IEntity user) |
void | RemoveEventHandlers () |
Variables | |
SCR_VehicleSpawnProtectionComponentClass | NO_OWNER = -1 |
private int | m_iVehicleOwnerID = NO_OWNER |
protected int | m_iTimeOfProtection |
bool | m_bOnlyDriverSeat = true |
private SCR_CharacterControllerComponent | m_CharControlComp |
protected string | m_sReasonText |
LocalizedString GetReasonText | ( | IEntity | user | ) |
int GetVehicleOwner | ( | ) |
Definition at line 103 of file SCR_VehicleSpawnProtectionComponent.c.
bool IsProtected | ( | notnull IEntity | playerEntering, |
notnull BaseCompartmentSlot | compartmentSlot | ||
) |
[in] | playerEntering | |
[in] | compartmentSlot |
Definition at line 113 of file SCR_VehicleSpawnProtectionComponent.c.
protected void OnPlayerDisconected | ( | int | playerID | ) |
Definition at line 136 of file SCR_VehicleSpawnProtectionComponent.c.
protected void OnPlayerDisconnected | ( | int | playerID | ) |
Definition at line 142 of file SCR_VehicleSpawnProtectionComponent.c.
void ReleaseProtection | ( | ) |
Definition at line 35 of file SCR_VehicleSpawnProtectionComponent.c.
void RemoveEventHandlers | ( | ) |
Definition at line 161 of file SCR_VehicleSpawnProtectionComponent.c.
void SetProtectionTime | ( | int | protectionTime | ) |
[in] | protectionTime |
Definition at line 46 of file SCR_VehicleSpawnProtectionComponent.c.
void SetProtectOnlyDriverSeat | ( | bool | onlyDriverSeat | ) |
[in] | onlyDriverSeat |
Definition at line 89 of file SCR_VehicleSpawnProtectionComponent.c.
void SetReasonText | ( | string | text | ) |
[in] | text |
Definition at line 96 of file SCR_VehicleSpawnProtectionComponent.c.
void SetVehicleOwner | ( | int | playerID | ) |
[in] | playerID |
Definition at line 57 of file SCR_VehicleSpawnProtectionComponent.c.
bool m_bOnlyDriverSeat = true |
Definition at line 15 of file SCR_VehicleSpawnProtectionComponent.c.
private SCR_CharacterControllerComponent m_CharControlComp |
Definition at line 16 of file SCR_VehicleSpawnProtectionComponent.c.
protected int m_iTimeOfProtection |
Definition at line 14 of file SCR_VehicleSpawnProtectionComponent.c.
Definition at line 12 of file SCR_VehicleSpawnProtectionComponent.c.
protected string m_sReasonText |
Definition at line 18 of file SCR_VehicleSpawnProtectionComponent.c.
SCR_VehicleSpawnProtectionComponentClass NO_OWNER = -1 |