protected void OnGiftSend(GumpButton b) { if (Transaction.State != DonationTransactionState.Processed) { return; } if (To != null && !To.Deleted && Profile.Claim(Transaction, User, To, InternalMessage)) { return; } if (String.IsNullOrWhiteSpace(InternalName)) { Refresh(); return; } var mobiles = PlayerNames.FindPlayers(InternalName).OrderByNatural(m => m.RawName).ToList(); if (mobiles.Count == 0) { return; } if (mobiles.Count == 1) { To = mobiles[0]; Refresh(true); } else { Send(new DonationGiftPlayerSelectGump(User, Profile, Transaction, Hide(true), mobiles)); } mobiles.Free(true); }