源战役客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

39 regels
827 B

//this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class ResolutionWrap
{
public static void Register(LuaState L)
{
L.BeginEnum(typeof(Resolution));
L.RegVar("Low", get_Low, null);
L.RegVar("High", get_High, null);
L.RegFunction("IntToEnum", IntToEnum);
L.EndEnum();
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int get_Low(IntPtr L)
{
ToLua.Push(L, Resolution.Low);
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int get_High(IntPtr L)
{
ToLua.Push(L, Resolution.High);
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int IntToEnum(IntPtr L)
{
int arg0 = (int)LuaDLL.lua_tonumber(L, 1);
Resolution o = (Resolution)arg0;
ToLua.Push(L, o);
return 1;
}
}