コード例 #1
0
        static int _s_set_OpenId(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                LollipopUinty.CGO.CGameObject gen_to_be_invoked = (LollipopUinty.CGO.CGameObject)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.OpenId = LuaAPI.lua_tostring(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
コード例 #2
0
        static int _g_get_userInfo(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                LollipopUinty.CGO.CGameObject gen_to_be_invoked = (LollipopUinty.CGO.CGameObject)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.userInfo);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
コード例 #3
0
        static int _s_set_userInfo(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                LollipopUinty.CGO.CGameObject gen_to_be_invoked = (LollipopUinty.CGO.CGameObject)translator.FastGetCSObj(L, 1);
                LollipopUnity.GST.UserInfo    gen_value; translator.Get(L, 2, out gen_value);
                gen_to_be_invoked.userInfo = gen_value;
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
コード例 #4
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    var gen_ret = new LollipopUinty.CGO.CGameObject();
                    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 LollipopUinty.CGO.CGameObject constructor!"));
        }
コード例 #5
0
        static int _m_GetLoginUrlInfo(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                LollipopUinty.CGO.CGameObject gen_to_be_invoked = (LollipopUinty.CGO.CGameObject)translator.FastGetCSObj(L, 1);



                {
                    var gen_ret = gen_to_be_invoked.GetLoginUrlInfo(  );
                    LuaAPI.lua_pushstring(L, gen_ret);



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


                LollipopUinty.CGO.CGameObject gen_to_be_invoked = (LollipopUinty.CGO.CGameObject)translator.FastGetCSObj(L, 1);



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

                    gen_to_be_invoked.SetProxyUrl(_url);



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