public static void FlushAll() { for (int i = 0; i < m_Instances.Count; ++i) { NetState ns = m_Instances[i]; ns.Flush(); } }
public static void FlushAll() { if (!SendQueue.CoalescePerSlice) { return; } for (int i = 0; i < m_Instances.Count; ++i) { NetState ns = (NetState)m_Instances[i]; ns.Flush(); } }
public static void LoginServerSeed(NetState state, PacketReader pvSrc) { int seed = pvSrc.ReadInt32(); // Seed int clientMaj = pvSrc.ReadInt32(); int clientMin = pvSrc.ReadInt32(); int clientRev = pvSrc.ReadInt32(); int clientPat = pvSrc.ReadInt32(); if ((seed == 0) && (clientMaj == 0) && (clientMin == 0) && (clientPat == 0) && (clientRev == 0)) { state.SentFirstPacket = true; // This is UOExt. Cheers! state.Send(m_UOExtSupport); state.Flush(); return; } // Enroute to old EF handler pvSrc.Seek(0, System.IO.SeekOrigin.Begin); m_OldEFHandler.OnReceive(state, pvSrc); }
public void Flush() { m_NetState.Flush(); }