Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ReconnectSynchronizationComponent Interface Reference

Synchronises reconnect state in order to create a client side informational dialog Attached to SCR_PlayerController prefab. More...

Inheritance diagram for SCR_ReconnectSynchronizationComponent:

Public Member Functions

ScriptInvokerInt GetOnPlayerReconnect ()
 Triggers for this SCR_PlayerController's client only.
 
void CreateReconnectDialog (SCR_EReconnectState reconState)
 Call RPC with reconnect state to controller owner.
 

Protected Member Functions

void RPC_DoSendReconnectState (int state)
 Do RPC from server with reconnect state.
 

Protected Attributes

ref ScriptInvokerInt m_OnPlayerReconnect = new ScriptInvokerInt()
 

Static Protected Attributes

const string DIALOG_RECON_RESTORE = "reconnect_restored"
 
const string DIALOG_RECON_DISCARD = "reconnect_discarded"
 

Detailed Description

Synchronises reconnect state in order to create a client side informational dialog Attached to SCR_PlayerController prefab.

Member Function Documentation

◆ CreateReconnectDialog()

void SCR_ReconnectSynchronizationComponent.CreateReconnectDialog ( SCR_EReconnectState reconState)

Call RPC with reconnect state to controller owner.

Parameters
[in]reconState

◆ GetOnPlayerReconnect()

ScriptInvokerInt SCR_ReconnectSynchronizationComponent.GetOnPlayerReconnect ( )

Triggers for this SCR_PlayerController's client only.

Returns

◆ RPC_DoSendReconnectState()

void SCR_ReconnectSynchronizationComponent.RPC_DoSendReconnectState ( int state)
protected

Do RPC from server with reconnect state.

Parameters
[in]stateis subject SCR_EReconnectState

Member Data Documentation

◆ DIALOG_RECON_DISCARD

const string SCR_ReconnectSynchronizationComponent.DIALOG_RECON_DISCARD = "reconnect_discarded"
staticprotected

◆ DIALOG_RECON_RESTORE

const string SCR_ReconnectSynchronizationComponent.DIALOG_RECON_RESTORE = "reconnect_restored"
staticprotected

◆ m_OnPlayerReconnect

ref ScriptInvokerInt SCR_ReconnectSynchronizationComponent.m_OnPlayerReconnect = new ScriptInvokerInt()
protected

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