private void Init() { _router.Start(); _router.SendToNetwork += Send; _router.BroadcastToNetwork += Broadcast; }
private void Init() { _router.Start(); _router.SendToNetwork += (id, data, channel, flags) => Send(data, channel, flags); _router.BroadcastToNetwork += (data, channel, flags, filter) => Send(data, channel, flags); }