protected virtual void OnDataSent(ConnectionDataEventArgs e) { var handler = DataSent; if (handler != null) { handler(this, e); } }
void GameServer_DataReceived(object sender, ConnectionDataEventArgs e) { var connection = (Connection)e.Connection; ((IOClient)connection.Client).Parse(e); }
void GameServer_DataReceived(object sender, ConnectionDataEventArgs e) { var connection = (Connection)e.Connection; ((IOClient)connection.Client).Parse(e); }
protected virtual void OnDataSent(ConnectionDataEventArgs e) { var handler = DataSent; if (handler != null) handler(this, e); }