| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
- public class System_EventArgsWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginClass(typeof(System.EventArgs), typeof(System.Object));
- L.RegFunction("New", _CreateSystem_EventArgs);
- L.RegFunction("__tostring", ToLua.op_ToString);
- L.RegVar("Empty", get_Empty, null);
- L.EndClass();
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _CreateSystem_EventArgs(IntPtr L)
- {
- try
- {
- int count = LuaDLL.lua_gettop(L);
- if (count == 0)
- {
- System.EventArgs obj = new System.EventArgs();
- ToLua.PushObject(L, obj);
- return 1;
- }
- else
- {
- return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: System.EventArgs.New");
- }
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_Empty(IntPtr L)
- {
- try
- {
- ToLua.PushObject(L, System.EventArgs.Empty);
- return 1;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- }
|