Skip to content

Instantly share code, notes, and snippets.

@Syjgin
Created January 20, 2022 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Syjgin/fa659bec57cb15e97bbce402b4ba7b63 to your computer and use it in GitHub Desktop.
Save Syjgin/fa659bec57cb15e97bbce402b4ba7b63 to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
namespace Dialogues.PopupQueue
{
public struct NoPopupQueueElement : IPopupQueueElement
{
public PopupQueueElementType ElementType => PopupQueueElementType.NoPopup;
public IEnumerable<PopupQueueElementType> DenyNextElementTypes => new List<PopupQueueElementType>();
public PopupQueueOperation OpenOperation => PopupQueueOperation.BringFromForeground;
public bool CanBeHidden => true;
public bool IsIgnoreDenyElements { get; }
public NoPopupQueueElement(bool forced)
{
IsIgnoreDenyElements = forced;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment