namespace PkmnLib.Dynamic.Events; /// /// Represents an event that occurs when a dialog is displayed. /// public class DialogEvent : IEventData { /// public EventBatchId BatchId { get; init; } = new(); /// public DialogEvent(string message, Dictionary? parameters = null) { Message = message; Parameters = parameters; } /// /// The message to be displayed in the dialog. This is generally a key that needs to be localized. /// public string Message { get; set; } /// /// Optional parameters that can be used to format the message in a localized string. /// public Dictionary? Parameters { get; set; } }