Beispiel #1
0
 private void OnHookException(HookExceptionEventArgs e)
 {
     var temp = HookException;
     if(!temp.IsNull())
         temp(this, e);
 }
Beispiel #2
0
 void OnLuaException(object sender, HookExceptionEventArgs e)
 {
     ShowException(e.Exception);
 }
Beispiel #3
0
 void Engine_HookException(object sender, HookExceptionEventArgs e)
 {
     Console.WriteLine(MessageType.Error, "Lua: {0}", e.Exception.Message);
 }
 void Lua_HookException(object sender, HookExceptionEventArgs e)
 {
     Console.Out.WriteLine(String.Format("Unhandeld Exception in hook callback: {0}", e.Exception.GetType().Name));
     Console.Out.WriteLine(e.Exception.ToString());
 }