Skip to content

NetworkEvent

Record · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll

public sealed record NetworkEvent(string Name, EntityId Source, NetworkValue[] Arguments)

A custom network event. NetworkEvent.Source is the sending player or vehicle, or EntityId.None when the authority sent it.

public NetworkValue[] Arguments { get; init; }
public string Name { get; init; }
public EntityId Source { get; init; }