static int _g_get_Variables(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                TZUI.UIBinder gen_to_be_invoked = (TZUI.UIBinder)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.Variables);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    TZUI.UIBinder gen_ret = new TZUI.UIBinder();
                    translator.Push(L, gen_ret);

                    return(1);
                }
            }
            catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to TZUI.UIBinder constructor!"));
        }
        static int _m_OnValidate(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                TZUI.UIBinder gen_to_be_invoked = (TZUI.UIBinder)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.OnValidate(  );



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_ClearAllEvents(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                TZUI.UIBinder gen_to_be_invoked = (TZUI.UIBinder)translator.FastGetCSObj(L, 1);



                {
                    string _name = LuaAPI.lua_tostring(L, 2);

                    gen_to_be_invoked.ClearAllEvents(_name);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_GetEventSignal(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                TZUI.UIBinder gen_to_be_invoked = (TZUI.UIBinder)translator.FastGetCSObj(L, 1);



                {
                    string _name = LuaAPI.lua_tostring(L, 2);

                    TZUI.UISignal gen_ret = gen_to_be_invoked.GetEventSignal(_name);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_ListenEvent(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                TZUI.UIBinder gen_to_be_invoked = (TZUI.UIBinder)translator.FastGetCSObj(L, 1);



                {
                    string _name = LuaAPI.lua_tostring(L, 2);
                    TZUI.UIEventDelegate _callback = translator.GetDelegate <TZUI.UIEventDelegate>(L, 3);

                    gen_to_be_invoked.ListenEvent(_name, _callback);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }