static int Clear(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         GameFramework.BaseEventArgs obj = (GameFramework.BaseEventArgs)ToLua.CheckObject(L, 1, typeof(GameFramework.BaseEventArgs));
         obj.Clear();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int get_Id(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            GameFramework.BaseEventArgs obj = (GameFramework.BaseEventArgs)o;
            int ret = obj.Id;
            LuaDLL.lua_pushinteger(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index Id on a nil value" : e.Message));
        }
    }