public PopupTwoChoicesQueueItem(
     string message,
     string choiceA,
     string choiceB,
     Panel_PopUpTwoChoices.OnChoiceDelegate callbackA,
     Panel_PopUpTwoChoices.OnChoiceDelegate callbackB
     )
 {
     this.message   = message;
     this.choiceA   = choiceA;
     this.choiceB   = choiceB;
     this.callbackA = callbackA;
     this.callbackB = callbackB;
 }
 public static bool PopupTwoChoicesPatch(
     string message,
     string choiceA,
     string choiceB,
     Panel_PopUpTwoChoices.OnChoiceDelegate callbackA,
     Panel_PopUpTwoChoices.OnChoiceDelegate callbackB,
     PopUpWarningCategory warningCategory
     )
 {
     if (PopupQueue.PopupIsActive())
     {
         ptfInstance.ptfLogger.LogInfo("popup is already active, queueing!");
         PopupTwoChoicesQueueItem QueueItem = new PopupTwoChoicesQueueItem(
             message,
             choiceA,
             choiceB,
             callbackA,
             callbackB
             );
         PopupQueue.queue.Enqueue(QueueItem);
         return(false);
     }
     return(true);
 }