33 lines
735 B
C#
33 lines
735 B
C#
using Coral.Managed.Interop;
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
using System.Numerics;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Nuake.Net
|
|
{
|
|
/// <summary>
|
|
/// This is the core Nuake.Net API.
|
|
/// All internal call should happen in this file.
|
|
/// </summary>
|
|
|
|
public class Engine
|
|
{
|
|
internal static unsafe delegate*<NativeString, void> LoggerLogIcall;
|
|
|
|
public Engine() { }
|
|
|
|
/// <summary>
|
|
/// Prints a message to the console log
|
|
/// </summary>
|
|
/// <param name="message">message to be printed</param>
|
|
public static void Log(string input)
|
|
{
|
|
unsafe { LoggerLogIcall(input); }
|
|
}
|
|
}
|
|
|
|
|
|
} |