31 lines
579 B
C#
31 lines
579 B
C#
|
|
//this source code was auto-generated by tolua#, do not modify it
|
|||
|
|
using System;
|
|||
|
|
using LuaInterface;
|
|||
|
|
|
|||
|
|
public class TakeScreenShotWrap
|
|||
|
|
{
|
|||
|
|
public static void Register(LuaState L)
|
|||
|
|
{
|
|||
|
|
L.BeginStaticLibs("TakeScreenShot");
|
|||
|
|
L.RegFunction("Take", Take);
|
|||
|
|
L.EndStaticLibs();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
|
static int Take(IntPtr L)
|
|||
|
|
{
|
|||
|
|
try
|
|||
|
|
{
|
|||
|
|
ToLua.CheckArgsCount(L, 1);
|
|||
|
|
LuaFunction arg0 = ToLua.CheckLuaFunction(L, 1);
|
|||
|
|
TakeScreenShot.Take(arg0);
|
|||
|
|
return 0;
|
|||
|
|
}
|
|||
|
|
catch (Exception e)
|
|||
|
|
{
|
|||
|
|
return LuaDLL.toluaL_exception(L, e);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|