/// <summary> /// Process a network event broadcast, and push it into the event system /// </summary> /// <param name="netEvent"></param> private static void ProcessNetworkEventBroadcast(NetworkEventBroadcast netEvent) { Enum channel = netEvent.channel, subchannel = netEvent.subchannel; NetworkedCEvent e = netEvent.e; e.sendToServer = false; CEventSystem.Broadcast(channel, subchannel, e); }
public NetworkEventBroadcast(Enum channel, Enum subchannel, NetworkedCEvent e) { this.channel = channel; this.subchannel = subchannel; this.e = e; }
public void BroadcastToSelfUdp(NetworkedCEvent e) { NetGUID.SendEventToServerUdp(guid.id, e); }