xdh
2018-10-17 e44b54c131fc4593fe148d44ac19cf3a8d49a901
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
OÜÆ[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|dkrdS|jƒ}|t|ƒkr8||n|d}|dt|ƒkrf||dn|d}t|gƒdS(Niiÿÿÿÿi(tGetShopTypeListtlenR*(R)tdayIndextstateR%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(tChPyNetSendPackttagGCStoreServerBuyCntInfotCleartInfoListtitemsttagGCStoreServerBuyCnttGoodsIDtBuyCnttappendRRRRRR    R
R R R,tGetPlayerManagertGetActivePlayerCounttGetActivePlayerAtRt    GetInitOKt PlayerControltGetIsTJGt NetPackCommont SendFakePack( Rt syncCntDicttsendPackRtbuyCnttbuyInfoRRRRt playerManagerti((sF.\ServerPython\CoreServerGroup\GameServer\Script\Player\PlayerStore.pyRls> 
                (t__doc__Rt ShareDefineR?R R2RAt-Def_UniversalGameRecType_StoreServerCntRecordRRRR*R1R(((sF.\ServerPython\CoreServerGroup\GameServer\Script\Player\PlayerStore.pyt<module>s