Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
RespawnComponent Interface Reference

Respawn component is a component attached to PlayerController serving as interface for communication between the authority and remote clients in respawn system context. More...

Inheritance diagram for RespawnComponent:
[legend]

Public Member Functions

proto external void NotifySpawn (IEntity spawnedEntity)
 Notify the underlying system that this respawn component has spawned/is taking over the provided entity.
 
proto external PlayerController GetPlayerController ()
 Returns the player controller this respawn component is attached to.
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Protected Member Functions

void OnInit (IEntity owner)
 Called during EOnInit.
 
void OnDelete (IEntity owner)
 Called during EOnInit.
 
void OnPostInit (IEntity owner)
 Called after all components are initialized.
 
void OnDiag (IEntity owner, float timeSlice)
 Called during EOnDiag.
 
void OnFrame (IEntity owner, float timeSlice)
 Called during EOnFrame.
 

Detailed Description

Respawn component is a component attached to PlayerController serving as interface for communication between the authority and remote clients in respawn system context.

Member Function Documentation

◆ GetPlayerController()

proto external PlayerController RespawnComponent.GetPlayerController ( )

Returns the player controller this respawn component is attached to.

◆ NotifySpawn()

proto external void RespawnComponent.NotifySpawn ( IEntity  spawnedEntity)

Notify the underlying system that this respawn component has spawned/is taking over the provided entity.

◆ OnDelete()

void RespawnComponent.OnDelete ( IEntity  owner)
protected

Called during EOnInit.

Parameters
ownerEntity this component is attached to.

Implemented in SCR_RespawnComponent.

◆ OnDiag()

void RespawnComponent.OnDiag ( IEntity  owner,
float  timeSlice 
)
protected

Called during EOnDiag.

Parameters
ownerEntity this component is attached to. \poaram timeSlice Delta time since last update.

◆ OnFrame()

void RespawnComponent.OnFrame ( IEntity  owner,
float  timeSlice 
)
protected

Called during EOnFrame.

Parameters
ownerEntity this component is attached to.
timeSliceDelta time since last update.

◆ OnInit()

void RespawnComponent.OnInit ( IEntity  owner)
protected

Called during EOnInit.

Parameters
ownerEntity this component is attached to.

◆ OnPostInit()

void RespawnComponent.OnPostInit ( IEntity  owner)
protected

Called after all components are initialized.

Parameters
ownerEntity this component is attached to.

Implemented in SCR_RespawnComponent.


The documentation for this interface was generated from the following file: