mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Start CoreClr from Beef and basic interaction
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using GlitchyEngine;
|
||||
|
||||
namespace Sandbox;
|
||||
|
||||
public static class TestClass
|
||||
{
|
||||
[UnmanagedCallersOnly]
|
||||
public static void TestFunction()
|
||||
{
|
||||
Console.WriteLine("Hello from the second Assembly!");
|
||||
}
|
||||
|
||||
public static void InternalTest()
|
||||
{
|
||||
Console.WriteLine("Ja, ich existiere in der Tat");
|
||||
|
||||
Log.Info("Yeah!");
|
||||
//Console.WriteLine("Und nun bin ich anders");
|
||||
}
|
||||
|
||||
public static int Test(IntPtr arg, int sizeofArg)
|
||||
{
|
||||
Console.WriteLine($"YUPPYPLASDPASDOIUZASD");
|
||||
return 7;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user