baseline: OpenMU upstream b5a0961 (fresh source)

This commit is contained in:
Acentech Dev
2026-07-14 19:00:35 +03:00
parent 450402e47d
commit 36fc125d5c
11968 changed files with 748705 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
// <copyright file="ExampleStrategyPlugIn.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.PlugIns.Tests;
using System.ComponentModel.DataAnnotations;
using System.Runtime.InteropServices;
/// <summary>
/// A test strategy plugin.
/// </summary>
/// <seealso cref="MUnique.OpenMU.PlugIns.Tests.IExampleStrategyPlugIn" />
[Guid("69A6FCD1-E828-4841-BE91-E064231ED7B9")]
[PlugIn]
[Display(Name = nameof(ExampleStrategyPlugIn), Description = "A test strategy plugin.")]
public class ExampleStrategyPlugIn : IExampleStrategyPlugIn
{
/// <summary>
/// Gets the command key which is handled by this strategy plugin type.
/// </summary>
public static string CommandKey => "/mytest";
/// <inheritdoc />
public string Key => CommandKey;
/// <summary>
/// Gets the handled command.
/// </summary>
/// <value>
/// The handled command.
/// </value>
public string? HandledCommand { get; private set; }
/// <inheritdoc/>
public void HandleCommand(string command)
{
this.HandledCommand = command;
}
}