Mod:Lighthouse Papyrus Extender/Debug

Debug Functions
{| style="width:100%;"
 * valign="top" style="width: 85%;" |

CrashTheGame

 * Crashes the game and provides a Microsoft message box with some info:
 * Name of script that invoked the function call. This is obtained internally
 * Name of the mod that called the function. This is provided by whoever called the function
 * Reason for why a crash was invoked. This is provided by whoever called the function

 DISCLAIMER 
 * As per NexusMods's | File Submission Guidelines, you are not allowed to use this function to intentionally troll users nor write false information in  and/or  . Doing so may result in NexusMods taking administrative action against your mod if it breaks these guidelines - potentially having the mod deleted from the site.
 * This function should be used only for debugging purposes or as an absolutely necessary kill switch.

Function CrashTheGame(String asModName, String asCrashReason) global native

DoNothing
Function DoNothing global native

GetGameDirectory

 * Returns a String that contains the path to where the game's executable is located e.g.
 * If an exception is caught, it will output  and output the exception to the VM log

string Function GetGameDirectory global native

GetLighthouseVersion

 * Returns an integer array that represents the current version of the plugin e.g.

int[] Function GetLighthouseVersion global native

GetSystemTime

 * Returns the system time as an integer array

int[] Function GetSystemTime global native


 * valign="top" style="width: 15%;"|


 * }