16 lines
		
	
	
		
			610 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			610 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| 
 | |
| namespace NEG.UI.Popup
 | |
| {
 | |
|     public interface IDefaultPopup : IPopup
 | |
|     {
 | |
|         /// <summary>
 | |
|         /// Sets content based on provided data.
 | |
|         /// </summary>
 | |
|         /// <param name="title">popup title</param>
 | |
|         /// <param name="content">popup content</param>
 | |
|         /// <param name="options">list of tuples (name, action on click), to set buttons. Do not pass here popup closing logic, implementing class should do it</param>
 | |
|         public void SetContent(string title, string content, List<(string name, Action action)> options);
 | |
|     }
 | |
| } |