xdh
2019-02-21 92eee67f85cbd29feb1287ae5a15ad0c787e95cb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
uîN\c@s‹dZddlZddlZddlZddlZddlZddlZejZd„Z    d„Z
d„Z d„Z id„Z dS(sVersion = 2018-10-09 17:00iÿÿÿÿNcCst|ƒdS(N(tSyncStoreServerBuyInfo(t    curPlayer((sF.\ServerPython\CoreServerGroup\GameServer\Script\Player\PlayerStore.pyt OnPlayerLogin s
c Cs!|d}|d}|d}d}tjƒ}|jtƒ}d}xWt|jƒƒD]C}    |j|    ƒ}
|
jƒ} || krX|
}|
j    ƒ}PqXqXW|||krÐtj
d||||fƒdS|sò|j ƒ}|j |ƒn||} |j | ƒtdi| |6ƒ|S(NiiisS    ¹ºÂòÉÌÆ· È«·þ¹ºÂò´ÎÊý²»¹» goodsID=%s,curGotCnt=%s,buyCount=%s,serverLimitCnt=%s(t    GameWorldtGetUniversalRecMgrt GetTypeListtRecTypetNonetrangetCounttAtt    GetValue1t    GetValue2tLogtAddRect    SetValue1t    SetValue2R( RtmsgListtgoodsIDtserverLimitCnttbuyCountt    curGotCnttuniversalRecMgrtrecTypeListDatat findRecDatatindextrecDatat
curGoodsIDt    newBuyCnt((sF.\ServerPython\CoreServerGroup\GameServer\Script\Player\PlayerStore.pytDoStoreServerBuyQueryResult)s0
 
 
 
 c
Csëtjƒ}|jtƒ}d}i}x–t|jƒƒD]‚}||}|j|ƒ}|jƒ}tj    d|ƒ}    |    sƒq:n|    j
ƒ|kr›q:nd||<|j |ƒ|d7}q:Wtj d|ƒ|rçt d|ƒndS(s¸ù¾ÝÉ̵êÀàÐÍÖØÖÃÈ«·þ¹ºÂò´ÎÊýitStoreis0    ¸ù¾ÝÉ̵êÀàÐÍÖØÖÃÈ«·þ¹ºÂò´ÎÊý shopTypeList=%sN(RRRRtxrangeR    R
R t IpyGameDataPYtGetIpyGameDatat GetShopTypetDeletetDebugLogRR(
t shopTypeListRRtdelCnttsyncDictRt    dataIndexRRtipyData((sF.\ServerPython\CoreServerGroup\GameServer\Script\Player\PlayerStore.pytDoResetStoreServerBuyCntGs( 
 
 cCs~|jƒ}g}xR|jƒD]D}x;|D]3}x*|D]"}||kr9|j|ƒq9q9Wq,WqW|rzt|ƒndS(N(tGetShopTypeListtvaluestappendR*(R)tdayShopRangeDictt resetTypeListR%t dayShopListtshopType((sF.\ServerPython\CoreServerGroup\GameServer\Script\Player\PlayerStore.pytResetFlashSaleBuyCntbs     c Cs²tjƒ}|jƒg|_|rsxÌ|jƒD]:\}}tjƒ}||_||_|jj|ƒq2Wnt    j
ƒ}|j t ƒ}xct |jƒƒD]O}|j|ƒ}    tjƒ}|    jƒ|_|    jƒ|_|jj|ƒq¡Wt|jƒ|_|s‹t    jƒ}
x“t |
jƒƒD]Y} |
j| ƒ}|dks+|jƒ r_q+ntj|ƒrtq+ntj||ƒq+Wn#tj|ƒrždStj||ƒdS(N(tChPyNetSendPackttagGCStoreServerBuyCntInfotCleartInfoListtitemsttagGCStoreServerBuyCnttGoodsIDtBuyCntR-RRRRRR    R
R R tlentGetPlayerManagertGetActivePlayerCounttGetActivePlayerAtRt    GetInitOKt PlayerControltGetIsTJGt NetPackCommont SendFakePack( Rt syncCntDicttsendPackRtbuyCnttbuyInfoRRRRt playerManagerti((sF.\ServerPython\CoreServerGroup\GameServer\Script\Player\PlayerStore.pyRps> 
                (t__doc__Rt ShareDefineR@R R3RBt-Def_UniversalGameRecType_StoreServerCntRecordRRRR*R2R(((sF.\ServerPython\CoreServerGroup\GameServer\Script\Player\PlayerStore.pyt<module>s