少年修仙传客户端代码仓库
client_linchunjie
2019-02-25 8be0f21cae73089ad6c19ac4a5b72e7c8a724144
Lua/Gen/WeekPartyPointConfigWrap.cs
@@ -21,7 +21,7 @@
        {
         ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
         System.Type type = typeof(WeekPartyPointConfig);
         Utils.BeginObjectRegister(type, L, translator, 0, 0, 4, 0);
         Utils.BeginObjectRegister(type, L, translator, 0, 0, 5, 0);
         
         
         
@@ -29,6 +29,7 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ImageType1", _g_get_ImageType1);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ImageType2", _g_get_ImageType2);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "name", _g_get_name);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "Zoom", _g_get_Zoom);
            
         
         
@@ -332,6 +333,20 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_Zoom(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                WeekPartyPointConfig gen_to_be_invoked = (WeekPartyPointConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.Zoom);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }