mirror of
https://github.com/edgegamers/Gangs.git
synced 2025-12-05 20:40:30 -08:00
* 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
38 lines
767 B
C#
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
|
|
} |