Exemple #1
0
        static int _g_get__imageHead(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                ChatBubbleFrame gen_to_be_invoked = (ChatBubbleFrame)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked._imageHead);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
Exemple #2
0
        static int _s_set__imageHead(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                ChatBubbleFrame gen_to_be_invoked = (ChatBubbleFrame)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked._imageHead = (UnityEngine.UI.Image)translator.GetObject(L, 2, typeof(UnityEngine.UI.Image));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Exemple #3
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    var gen_ret = new ChatBubbleFrame();
                    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 ChatBubbleFrame constructor!"));
        }
Exemple #4
0
        static int _m_GetHeight(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                ChatBubbleFrame gen_to_be_invoked = (ChatBubbleFrame)translator.FastGetCSObj(L, 1);



                {
                    var gen_ret = gen_to_be_invoked.GetHeight(  );
                    LuaAPI.lua_pushnumber(L, gen_ret);



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


                ChatBubbleFrame gen_to_be_invoked = (ChatBubbleFrame)translator.FastGetCSObj(L, 1);



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

                    gen_to_be_invoked.Show(_text);



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