mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-23 19:42:51 +01:00
15 lines
368 B
C#
15 lines
368 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."
|
|
};
|
|
}
|
|
}
|