Ejemplo n.º 1
0
 // Token: 0x060075B4 RID: 30132 RVA: 0x00203ACC File Offset: 0x00201CCC
 public void InitStores(List <ProRandomStore> pbStores)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitStoresList ` 1_hotfix != null)
     {
         this.m_InitStoresList ` 1_hotfix.call(new object[]
         {
             this,
             pbStores
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.m_randomStoreDS.ClearInitedData();
     foreach (ProRandomStore pbStore in pbStores)
     {
         this.m_randomStoreDS.InitStore(RandomStore.PBStoreToStore(pbStore));
     }
 }
    public static int PBStoreToStore_s(IntPtr l)
    {
        int result;

        try
        {
            ProRandomStore pbStore;
            LuaObject.checkType <ProRandomStore>(l, 1, out pbStore);
            RandomStore o = RandomStore.PBStoreToStore(pbStore);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }