Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ReconnectSynchronizationComponent.c
Go to the documentation of this file.
4
7class SCR_ReconnectSynchronizationComponent : ScriptComponent
8{
9 protected const string DIALOG_RECON_RESTORE = "reconnect_restored";
10 protected const string DIALOG_RECON_DISCARD = "reconnect_discarded";
11
13
14 //------------------------------------------------------------------------------------------------
23
24 //------------------------------------------------------------------------------------------------
30
31 //------------------------------------------------------------------------------------------------
33 [RplRpc(RplChannel.Reliable, RplRcver.Owner)]
34 protected void RPC_DoSendReconnectState()
35 {
37
38 SCR_RespawnSystemComponent respawnSystem = SCR_RespawnSystemComponent.GetInstance();
39 if (respawnSystem)
40 respawnSystem.DestroyLoadingPlaceholder();
41
43 m_OnPlayerReconnect.Invoke();
44 }
45}
ref ScriptInvokerVoid m_OnPlayerReconnect
const string DIALOG_RECON_DISCARD
SCR_ReconnectSynchronizationComponentClass DIALOG_RECON_RESTORE
void CreateReconnectDialog()
Call RPC with reconnect state to controller owner.
ScriptInvokerVoid GetOnPlayerReconnect()
Triggers for this SCR_PlayerController's client only.
void RPC_DoSendReconnectState()
Do RPC from server with reconnect state.
ScriptInvokerBase< ScriptInvokerVoidMethod > ScriptInvokerVoid
void Rpc(func method, void p0=NULL, void p1=NULL, void p2=NULL, void p3=NULL, void p4=NULL, void p5=NULL, void p6=NULL, void p7=NULL)
void RplRpc(RplChannel channel, RplRcver rcver, RplCondition condition=RplCondition.None, string customConditionName="")
Definition EnNetwork.c:95
RplRcver
Definition RplRcver.c:59
RplChannel
Communication channel. Reliable is guaranteed to be delivered. Unreliable not.
Definition RplChannel.c:14