DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
SyncEvents Class Reference

Static Private Member Functions

static void RegisterEvents ()
 
static void Event_OnRPC (PlayerIdentity sender, Object target, int rpc_type, ParamsReadContext ctx)
 
static void OnSyncEvent (ESyncEvent event_type, SyncData data, Object target)
 
static void SendPlayerList ()
 
static void SendEntityKilled (EntityAI victim, EntityAI killer, EntityAI source, bool is_headshot)
 
static void SendPlayerIgnatedFireplace (Man player, EFireIgniteType ignite_type)
 
static private void SendSyncEvent (ERPCs rpc_event_id, ESyncEvent sync_event_type, SyncData data=null, bool guaranteed=true, PlayerIdentity player_target=null)
 
static private void SendSyncEventEx (ERPCs rpc_event_id, ESyncEvent sync_event_type, SyncData data=null, bool guaranteed=true, Man recipient=null)
 

Member Function Documentation

◆ Event_OnRPC()

static void Event_OnRPC ( PlayerIdentity  sender,
Object  target,
int  rpc_type,
ParamsReadContext  ctx 
)
inlinestaticprivate

References g_Game, OnSyncEvent(), and Serializer::Read().

Referenced by RegisterEvents().

◆ OnSyncEvent()

◆ RegisterEvents()

static void RegisterEvents ( )
inlinestaticprivate

References Event_OnRPC(), g_Game, and Print().

Referenced by MissionBase::MissionGameplay().

◆ SendEntityKilled()

◆ SendPlayerIgnatedFireplace()

static void SendPlayerIgnatedFireplace ( Man  player,
EFireIgniteType  ignite_type 
)
inlinestaticprivate

◆ SendPlayerList()

static void SendPlayerList ( )
inlinestaticprivate

◆ SendSyncEvent()

static private void SendSyncEvent ( ERPCs  rpc_event_id,
ESyncEvent  sync_event_type,
SyncData  data = null,
bool  guaranteed = true,
PlayerIdentity  player_target = null 
)
inlinestaticprivate

◆ SendSyncEventEx()

static private void SendSyncEventEx ( ERPCs  rpc_event_id,
ESyncEvent  sync_event_type,
SyncData  data = null,
bool  guaranteed = true,
Man  recipient = null 
)
inlinestaticprivate

References SendSyncEvent().

Referenced by SendEntityKilled().


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