public bool Run(GameServer GameServer) { _GameServer = GameServer; if (_GameServer != null) { try { if (_ErrorQueue != null && _ErrorQueue.Count > 0) { RunQueue(_ErrorQueue, true); return(false); } if (_MessageQueue != null && _MessageQueue.Count > 0) { RunQueue(_MessageQueue); return(true); } } catch (Exception ex) { NLogHelper.GameError("[Message Run] Error:" + ex.Message); } finally { ErrorQueue.Clear(); } } return(false); }