Add all missing docs

This commit is contained in:
2025-05-03 14:18:12 +02:00
parent 4d5dfd0342
commit 441f5dddaf
40 changed files with 400 additions and 21 deletions

View File

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