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

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

                FairyStudy.AppConfig gen_to_be_invoked = (FairyStudy.AppConfig)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.streamingBundlesFolderName = LuaAPI.lua_tostring(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Exemple #3
0
        static int _g_get_isEditorLoadAsset(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyStudy.AppConfig gen_to_be_invoked = (FairyStudy.AppConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isEditorLoadAsset);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
Exemple #4
0
        static int _g_get_exeExportPath(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                FairyStudy.AppConfig gen_to_be_invoked = (FairyStudy.AppConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.exeExportPath);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
Exemple #5
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    FairyStudy.AppConfig gen_ret = new FairyStudy.AppConfig();
                    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 FairyStudy.AppConfig constructor!"));
        }
Exemple #6
0
        static int _m_init(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyStudy.AppConfig gen_to_be_invoked = (FairyStudy.AppConfig)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.init(  );



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