public bool TryStartDissmisProgress(Character initer, Character dissmiser) { lock (this) { if (IsDismissInProgress) { if (DissmissTimeouted < DateTime.Now) { Asda2BattlegroundHandler.SendDissmissResultResponse(this, DismissPlayerResult.Fail, DissmissingCharacter.SessionId, (int)DissmissingCharacter.AccId); } else { return(false); } } IsDismissInProgress = true; Asda2BattlegroundHandler.SendQuestionDismissPlayerOrNotResponse(this, initer, dissmiser); DissmissingCharacter = dissmiser; DissmissYes.Clear(); DissmissNo.Clear(); DissmissTimeouted = DateTime.Now.AddMinutes(1); DissmisFaction = initer.Asda2FactionId; return(true); } }