hwj35
2025-06-23 aa0f971ae9a59f0fd98d57b6c1d1663a270be92c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
`¡gc@syddlZddlZddlZddlZddlZddlZd„Zdd„Zd„Zde
d„Z dS(iÿÿÿÿNcCst|ƒdS(N(tSync_CustomAwardInfo(t    curPlayer((sqE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCustomAward.pyt OnPlayerLogins
icCsFtjd|ƒ}|sdStj|tj||ƒt||ƒdS(Nt CustomAward(t IpyGameDataPYtGetIpyGameDatat    GameWorldtSetDictValueByBittChConfigtDef_PDict_CustomAwardCanGetR(RtawardIDtcanGettipyData((sqE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCustomAward.pytSetCustomAwardCanGets  cCsñtj|tj|ƒs6tjd||jƒƒdStj|tj|ƒrltjd||jƒƒdStjd|ƒ}|sˆdS|j    ƒ}t
j ||dƒs­dStj |tj|dƒtjd||jƒƒt ||ƒdS(Ns$¸Ã×Ô¶¨Òå½±Àøµ±Ç°²»¿ÉÁìÈ¡, awardID=%ss"¸Ã×Ô¶¨Òå½±ÀøÒѾ­ÁìÈ¡¹ý, awardID=%sRisÁìÈ¡×Ô¶¨Òå½±Àø, awardID=%s(RtGetDictValueByBitRR    tLogt GetPlayerIDtDef_PDict_CustomAwardGetStateRRtGetAwardItemListt
ItemCommont GiveAwardItemRR(RR
R t awardItemList((sqE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCustomAward.pytOnGetCustomAward&s   cCs–|dkr`g}tjƒ}xHt|jƒƒD](}|j|ƒ}|j|jƒƒq1Wn    |g}g}x9|D]1}tj    |ƒ}    |    |krv|j|    ƒqvqvW|sµdSg}
x‰|D]}    |j
t j |    ƒ} |j
t j |    ƒ} | r| r| rqÂntjƒ} |    | _| | _| | _|
j| ƒqÂW|
sQdStjƒ}|jƒ|
|_t|jƒ|_tj||ƒdS(N(tNoneRtIPY_DatatrangetGetCustomAwardCounttGetCustomAwardByIndextappendt
GetAwardIDRtGetDictKeyNumByBittNomalDictGetPropertyRR    RtChPyNetSendPackttagMCCustomAwardStatetKeyNumt CanGetStatetGetStatettagMCCustomAwardInfotCleartRecordStateListtlentRecordStateCntt NetPackCommont SendFakePack(RR
tforcet awardIDListt
ipyDataMgrtindexR t
keyNumListtaIDtkeyNumtrecordStateListR tgetStatet
awardStatet
clientPack((sqE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCustomAward.pyR;sB                       
    ( RR*R RRRRR RRtFalseR(((sqE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerCustomAward.pyt<module>s