User Tools

Site Tools


nebolintegration_console_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nebolintegration_console_commands [2021/11/04 13:28] nebolnebolintegration_console_commands [2022/06/09 22:23] (current) nebol
Line 2: Line 2:
  
 NebolIntegration supports NebolCommand and has a built-in command set ready for use. NebolIntegration supports NebolCommand and has a built-in command set ready for use.
 +
 +NOTE: This functionality has been moved into its own class library: [[NebolIntegration.Console]]
  
 Use like this: Use like this:
Line 10: Line 12:
  var commands = new Commands(engine, config);   var commands = new Commands(engine, config); 
  
- Parser parser = new Parser();+ var parser = new Parser();
  
  // add the commands from the Commands class  // add the commands from the Commands class
Line 28: Line 30:
 </code> </code>
  
-<code csharp>+Main loop:
  
 +<code csharp>
 var parser = SetupParser(); var parser = SetupParser();
  
Line 44: Line 47:
  parser.Parse(s);  parser.Parse(s);
 } }
- 
 </code> </code>
 +<code>
 public static void Quit() public static void Quit()
 { {
nebolintegration_console_commands.1636028925.txt.gz · Last modified: 2021/11/04 13:28 by nebol