Go to the source code of this file.
|
SCR_SpawnProtectionComponentClass SCR_BaseGameModeComponentClass | Attribute (defvalue:"0.1", desc:"How long should be player protected?") |
|
override void | OnPlayerSpawnFinalize_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, IEntity entity) |
|
override void | OnSpawnPlayerEntityFailure_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, IEntity entity, SCR_SpawnData data, SCR_ESpawnResult reason) |
|
protected void | OnPlayerAmmoChangeCallback (BaseWeaponComponent currentWeapon, BaseMuzzleComponent currentMuzzle, BaseMagazineComponent magazine, int ammoCount, bool isChambered) |
|
protected void | DisablePlayerProtection (IEntity playerEntity) |
|
override void | OnPostInit (IEntity owner) |
| Called on PostInit when all components are added. More...
|
|
◆ Attribute()
◆ DisablePlayerProtection()
protected void DisablePlayerProtection |
( |
IEntity |
playerEntity | ) |
|
◆ OnPlayerAmmoChangeCallback()
Callback to be used by eventHandler in PreparePlayerEntity_S.
- Parameters
-
[in] | currentWeapon | |
[in] | currentMuzzle | |
[in] | magazine | |
[in] | ammoCount | |
[in] | isChambered | |
Definition at line 91 of file SCR_SpawnProtectionComponent.c.
◆ OnPlayerSpawnFinalize_S()
override void OnPlayerSpawnFinalize_S |
( |
SCR_SpawnRequestComponent |
requestComponent, |
|
|
SCR_SpawnHandlerComponent |
handlerComponent, |
|
|
SCR_SpawnData |
data, |
|
|
IEntity |
entity |
|
) |
| |
◆ OnSpawnPlayerEntityFailure_S()
override void OnSpawnPlayerEntityFailure_S |
( |
SCR_SpawnRequestComponent |
requestComponent, |
|
|
SCR_SpawnHandlerComponent |
handlerComponent, |
|
|
IEntity |
entity, |
|
|
SCR_SpawnData |
data, |
|
|
SCR_ESpawnResult |
reason |
|
) |
| |