First commit
This commit is contained in:
commit
1d890b728a
24 changed files with 1814 additions and 0 deletions
27
AutoPilot/MDK/Bootstrapper.cs
Normal file
27
AutoPilot/MDK/Bootstrapper.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using Malware.MDKUtilities;
|
||||
|
||||
namespace IngameScript.MDK
|
||||
{
|
||||
public class TestBootstrapper
|
||||
{
|
||||
// All the files in this folder, as well as all files containing the file ".debug.", will be excluded
|
||||
// from the build process. You can use this to create utilites for testing your scripts directly in
|
||||
// Visual Studio.
|
||||
|
||||
static TestBootstrapper()
|
||||
{
|
||||
// Initialize the MDK utility framework
|
||||
MDKUtilityFramework.Load();
|
||||
}
|
||||
|
||||
public static void Main()
|
||||
{
|
||||
// In order for your program to actually run, you will need to provide a mockup of all the facilities
|
||||
// your script uses from the game, since they're not available outside of the game.
|
||||
|
||||
// Create and configure the desired program.
|
||||
var program = MDKFactory.CreateProgram<Program>();
|
||||
MDKFactory.Run(program);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue