RaiseEvent

Method

Raise a remote event to specific set of actors

Definition

void RaiseEvent(IReadOnlyCollection<int> targetActors, byte eventID, params object[] args)
void RaiseEvent(IReadOnlyCollection<int> targetActors, byte eventID, params object[] args)

Parameters

ParameterDescription
IReadOnlyCollection<int> targetActors

Which actors to raise this event for. For GC efficiency, passing in a int[] type is recommended

byte eventID
object[] args