Ghost Commands
  • Getting Started
    • Quickstart
    • Syntax
      • Command syntax
      • Arguments with multiple values
    • Custom commands
  • Documentation
    • Commands
      • Static commands
      • Non-static commands
      • Dynamic commands
      • Overloads
      • Parameters
      • Additional attributes
    • Suggestions
      • Suggestion attributes
      • Suggestor methods
    • Converters
      • Custom parameter types
      • Using the ArgumentReader
      • Multiple ways to interpret an argument
    • Processors
      • Creating a processor
      • Setting priorities
      • Cheat codes example
    • Macros
    • Settings
    • Customization
    • Included Commands
Powered by GitBook
On this page

Was this helpful?

  1. Documentation
  2. Processors

Setting priorities

As multiple processors can operate concurrently, unexpected results can occur if we do not specify the order at which they are executed. To designate the priority of a processor method, assign it a value to the attribute. Lower values indicate higher priority and are executed first.

[Processor(100)]
public static string CheatCodeProcessor(string input) (...)
PreviousCreating a processorNextCheat codes example

Last updated 7 months ago

Was this helpful?