public static PingAck Instantiate(byte ping) { PingAck ack1 = PingAck.m_Cache[ping]; if (ack1 == null) { PingAck.m_Cache[ping] = (ack1 = new PingAck(ping)); } return(ack1); }
public static PingAck Instantiate(byte ping) { PingAck p = m_Cache[ping]; if (p == null) { m_Cache[ping] = p = new PingAck(ping); } return(p); }
public static PingAck Instantiate( byte ping ) { PingAck p = m_Cache[ping]; if ( p == null ) m_Cache[ping] = p = new PingAck( ping ); return p; }
public static void PingReq(NetState state, CircularBufferReader reader) { state.Send(PingAck.Instantiate(reader.ReadByte())); }
public static PingAck Instantiate( byte ping ) { PingAck p = m_Cache[ping]; if ( p == null ) { m_Cache[ping] = p = new PingAck( ping ); p.SetStatic(); } return p; }
public static void PingReq(NetState state, PacketReader pvSrc) { state.Send(PingAck.Instantiate(pvSrc.ReadByte())); }