Files
Gangs/GangsAPI/Data/Command/CommandResult.cs
Isaac 11ffe34855 Dev (#9)
* Normalize paths

* Update workflows

* Update workflows

* Update workflows

* Update csproj build dirs

* Update csproj build dirs

* Fix bugs

* Directories are hard

* Dont zip zip

* Rename to support CS#

* Fix nightly file name

* Debug

* Try referencing class directly

* Update dependabot

* Update gitignore and command tests

* More tests:

* Basic gang creation working
2024-09-02 21:00:25 -07:00

38 lines
767 B
C#

namespace GangsAPI.Data.Command;
public enum CommandResult {
/// <summary>
/// The command completed successfully
/// </summary>
SUCCESS,
/// <summary>
/// The command encountered an error or other
/// scenario that prevented success
/// </summary>
FAILURE,
/// <summary>
/// The command was improperly formatted
/// </summary>
UNKNOWN_COMMAND,
/// <summary>
/// The command has improper arguments, or
/// no sufficient arguments
/// </summary>
INVALID_ARGS,
/// <summary>
/// The executor of the command did not have
/// the required permissions
/// </summary>
NO_PERMISSION,
/// <summary>
/// This command can only be executed by a player
/// (i.e. not from the console)
/// </summary>
PLAYER_ONLY
}