mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2026-01-04 22:55:22 +01:00
15 lines
370 B
C#
15 lines
370 B
C#
namespace Phantom.Common.Data.Replies;
|
|
|
|
public enum ConfigureInstanceResult : byte {
|
|
Success,
|
|
}
|
|
|
|
public static class ConfigureInstanceResultExtensions {
|
|
public static string ToSentence(this ConfigureInstanceResult reason) {
|
|
return reason switch {
|
|
ConfigureInstanceResult.Success => "Success.",
|
|
_ => "Unknown error.",
|
|
};
|
|
}
|
|
}
|