少年修仙传客户端代码仓库
client_Zxw
2018-11-21 096bc211e02f3e010ada28ad5b67a687307382b7
Lua/Gen/StoreModelWrap.cs
@@ -21,7 +21,7 @@
        {
         ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
         System.Type type = typeof(StoreModel);
         Utils.BeginObjectRegister(type, L, translator, 0, 58, 27, 10);
         Utils.BeginObjectRegister(type, L, translator, 0, 59, 27, 10);
         
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
@@ -45,6 +45,7 @@
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshBuyShopLimitModel", _m_RefreshBuyShopLimitModel);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBuyShopLimit", _m_GetBuyShopLimit);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRuneSource", _m_SetRuneSource);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetShopItemlistByIndex", _m_GetShopItemlistByIndex);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetShopItemInfo", _m_TryGetShopItemInfo);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshTCBPlayerData", _m_RefreshTCBPlayerData);
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTCBPlayerData", _m_GetTCBPlayerData);
@@ -822,6 +823,35 @@
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetShopItemlistByIndex(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
                {
                    TableConfig.StoreConfig _storeConfig = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
                        System.Collections.Generic.List<ShopItemInfo> gen_ret = gen_to_be_invoked.GetShopItemlistByIndex( _storeConfig );
                        translator.Push(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TryGetShopItemInfo(RealStatePtr L)
        {
          try {