First commit
[SEScripts.git] / BaseMiner / MDK / Bootstrapper.cs
1 using Malware.MDKUtilities;
2
3 namespace IngameScript.MDK
4 {
5 public class TestBootstrapper
6 {
7 // All the files in this folder, as well as all files containing the file ".debug.", will be excluded
8 // from the build process. You can use this to create utilites for testing your scripts directly in
9 // Visual Studio.
10
11 static TestBootstrapper()
12 {
13 // Initialize the MDK utility framework
14 MDKUtilityFramework.Load();
15 }
16
17 public static void Main()
18 {
19 // In order for your program to actually run, you will need to provide a mockup of all the facilities
20 // your script uses from the game, since they're not available outside of the game.
21
22 // Create and configure the desired program.
23 var program = MDKFactory.CreateProgram<Program>();
24 MDKFactory.Run(program);
25 }
26 }
27 }