static int RemoveSetListner(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         string arg0 = ToLua.CheckString(L, 1);
         WGame.Cookie.CookieSetListener arg1 = (WGame.Cookie.CookieSetListener)ToLua.CheckDelegate <WGame.Cookie.CookieSetListener>(L, 2);
         WGame.Cookie.RemoveSetListner(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    public WGame.Cookie.CookieSetListener WGame_Cookie_CookieSetListener(LuaFunction func, LuaTable self, bool flag)
    {
        if (func == null)
        {
            WGame.Cookie.CookieSetListener fn = delegate() { };
            return(fn);
        }

        if (!flag)
        {
            WGame_Cookie_CookieSetListener_Event target = new WGame_Cookie_CookieSetListener_Event(func);
            WGame.Cookie.CookieSetListener       d      = target.Call;
            target.method = d.Method;
            return(d);
        }
        else
        {
            WGame_Cookie_CookieSetListener_Event target = new WGame_Cookie_CookieSetListener_Event(func, self);
            WGame.Cookie.CookieSetListener       d      = target.CallWithSelf;
            target.method = d.Method;
            return(d);
        }
    }
 void Push_WGame_Cookie_CookieSetListener(IntPtr L, WGame.Cookie.CookieSetListener o)
 {
     ToLua.Push(L, o);
 }