Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
SyncEvents Class Reference

Static Private Member Functions

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 RegisterEvents ()
static void SendEntityKilled (EntityAI victim, EntityAI killer, EntityAI source, bool is_headshot)
static void SendPlayerIgnatedFireplace (Man player, EFireIgniteType ignite_type)
static void SendPlayerList ()
static void SendSyncEvent (ERPCs rpc_event_id, ESyncEvent sync_event_type, SyncData data=null, bool guaranteed=true, PlayerIdentity player_target=null)
static void SendSyncEventEx (ERPCs rpc_event_id, ESyncEvent sync_event_type, SyncData data=null, bool guaranteed=true, Man recipient=null)

Detailed Description

Definition at line 1 of file syncevents.c.

Member Function Documentation

◆ Event_OnRPC()

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

Definition at line 11 of file syncevents.c.

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

Referenced by RegisterEvents().

◆ OnSyncEvent()

◆ RegisterEvents()

void RegisterEvents ( )
inlinestaticprivate

Definition at line 3 of file syncevents.c.

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

Referenced by MissionBase::MissionGameplay().

◆ SendEntityKilled()

◆ SendPlayerIgnatedFireplace()

void SendPlayerIgnatedFireplace ( Man player,
EFireIgniteType ignite_type )
inlinestaticprivate

Definition at line 83 of file syncevents.c.

References SyncData::m_SyncInt, and SendSyncEvent().

Referenced by FireplaceBase::OnIgnitedThis().

◆ SendPlayerList()

void SendPlayerList ( )
inlinestaticprivate

◆ SendSyncEvent()

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

Definition at line 91 of file syncevents.c.

References g_Game.

Referenced by SendPlayerIgnatedFireplace(), SendPlayerList(), and SendSyncEventEx().

◆ SendSyncEventEx()

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

Definition at line 104 of file syncevents.c.

References SendSyncEvent().

Referenced by SendEntityKilled().


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