/// <param name="user">The user to display the dialog for.</param> /// <param name="id">The ID of the user to display the dialog for.</param> /// <param name="entity">The entity to display the dialog from.</param> public void Show(string user, UUID id, string msg, string[] buttons) { if (!_receivedText.ContainsKey(id)) { _receivedText.Add(id, null); } else { _receivedText[id] = null; } int chan = _random.Next(int.MinValue, -1); _primFactory.AddChannelListener(chan, ButtonPressed); _prim.Dialogue(id, msg, buttons, chan); }