public void SendAll(ref NetworkWriter message) { Packet packet = new Packet(); packet.Create(message.GetBuffer(), PacketFlags.None); foreach (var peer in _server.Peers) { peer.Value.Send(0, ref packet); } packet.Dispose(); }