cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
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
27
28
29
30
Åp?\c@sÇddlZddlZddlZddlZddlZddlZddlZddlZd„Zdd„Z    d„Z
e d„Z e d„Z d„Zd    „Zd
„Zd „Zd „ZdS( iÿÿÿÿNcCsd|jƒ}tjddtj|ƒtj|ƒfƒ}|sD|S|jdƒjtjƒƒ|S(NtMerges OpName_%s_%stgbk(    t GetPlayerNamet ReadChConfigtGetPyMongoConfigt    GameWorldtGetPlayerPlatformtGetPlayerServerSIDtdecodetencodetGetCharacterEncoding(t    curPlayert
playerNametopName((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pytGetCrossPlayerNames  icCs |tjkrdS|s(tjƒ}ntj|}tjƒ}t|d|ƒsXdSx¬tt|d|ƒƒƒD]Ž}t|d|ƒ|ƒ}|j    ƒ}x`|D]X}t
|t ƒrà|d|koÛ|dknsût
|t ƒr§||kr§|Sq§WquWdS(Ns
Get%sCounts Get%sByIndexii( tChConfigtDef_CrossZoneTableNameRtGetServerGroupIDt IpyGameDataPYtIPY_DatathasattrtxrangetgetattrtGetServerGroupIDListt
isinstancettupletint(tmapIDt serverGroupIDt    tableNamet
ipyDataMgrtitipyDatatserverGroupIDListtserverGroupIDInfo((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pytGetServerCrossZoneIpyData's   #  3 cCstjƒjtjƒS(N(Rt GetGameWorldtGetGameWorldDictByKeyt ShareDefinet#Def_Notify_WorldKey_CrossServerOpen(((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pytIsCrossServerOpen<sc    Cs‹| stj|ƒ rdS|jƒ}d}t||||gƒ}tjƒjdddd|t|ƒƒtjd||f|ƒdS(sí ÅúÁ¿ÉèÖÃÍæ¼ÒÊôÐÔÖµ
        @param setDict: ÉèÖÃÊôÐÔ×Öµä {attrName:attrValue, ...}
        @param isDelay: ÊÇ·ñÑÓ³Ùͬ²½£¬±ÈÈçOnDay¸üеÄÊýÖµ£¬¿ÉÄܶà¸öÍæ¼Òͬʱ¸üжà¸öÊôÐÔÖµ£¬ËùÒÔÐèÒªÉèÖÃÑÓ³Ùͳһͬ²½£¬ÆäËû¾ßÌå¸ù¾Ý¹¦ÄÜÐèҪѡÔñÊÇ·ñÑÓ³Ù
    Nt
PlayerAttritSetCrossPlayerAttrValues¸üпç·þÍæ¼ÒÊôÐÔ: isDelay=%s,%s(    t PlayerControlt GetCrossMapIDt GetPlayerIDtstrRtGetPlayerManagertGameServer_QueryPlayerResulttlentDebugLog(R tsetDicttisDelaytplayerIDtsetTypetmsgList((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pyR*@s (c    Cs‹| stj|ƒ rdS|jƒ}d}t||||gƒ}tjƒjdddd|t|ƒƒtjd||f|ƒdS(s$ ÅúÁ¿ÉèÖÃÍæ¼Ò×ÖµäÖµ
        @param setDict: ÉèÖÃ×Öµä, ÎÞ dictType ÐÅϢʱĬÈÏÀàÐÍ0 {dictKey:dictValue, dictKey:[dictValue, dictType], ...}
        @param isDelay: ÊÇ·ñÑÓ³Ùͬ²½£¬±ÈÈçOnDay¸üеÄÊýÖµ£¬¿ÉÄܶà¸öÍæ¼Òͬʱ¸üжà¸öÊôÐÔÖµ£¬ËùÒÔÐèÒªÉèÖÃÑÓ³Ùͳһͬ²½£¬ÆäËû¾ßÌå¸ù¾Ý¹¦ÄÜÐèҪѡÔñÊÇ·ñÑÓ³Ù
    Nt
PlayerDictiR*s¸üпç·þÍæ¼Ò×Öµä: isDelay=%s,%s(    R+R,R-R.RR/R0R1R2(R R3R4R5R6R7((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pytSetCrossPlayerNomalDictNs (c Cs`|jƒ}tjd||ƒx9|D]1\}}|dkr½x|jƒD]j\}}t|tƒrw|d}}n |\}}tj||||ƒtjd|||f|ƒqLWq'x˜|jƒD]Š\}    }
t||    ƒrt    ||    ƒ|
ƒtjd|    |
fƒqÊtt|    ƒrÊt    t|    ƒ||
ƒtjd|    |
f|ƒqÊqÊWq'WdS(Ns$ÊÕµ½×Ó·þͬ²½µÄÉèÖÿç·þÍæ¼ÒÊôÐÔÖµ: %sR8is>    NomalDictSetProperty dictKey=%s, dictValue=%s, dictType=%ss    curPlayer.%s(%s)s#    PlayerControl.%s(curPlayer, %s)(
R-RR2titemsRRR+tNomalDictSetPropertyRR( R tplayerSetInfoListR5R6R3tdictKeytvaleInfot    dictValuetdictTypetattrNamet    attrValue((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pyt"ClientServerMsg_SetPlayerAttrValue\s$   $%cCsCtjƒj|ƒ}tjƒs%dStj||ƒt|ƒdS(N(RR/tGetPlayerByIndext IsCrossServertFBLogictDoPlayerLeaveFBtPlayerExitCrossServer(tindext curPackDatattickR ((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pytOnExitCrossRealmys  
cCsn|jƒ}tj|ƒ}tjtj||gƒtj|dƒ|jt    j
ƒtj d|jƒƒdS(NisPlayerExitCrossServer...( R-R+tGetPlayerServerGroupIDRtSendMsgToClientServerR&tCrossServerMsg_ExitCrossServert SetCrossMapIDtKickt IPY_GameWorldtdisMapServerClosetLog(R R5R((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pyRH„s cCsS|jtƒ|jtƒ|jdƒ|jƒjƒ}|rO|jtƒndS(Ni(t SetCanAttacktFalset
SetVisibletSetSightt    GetPetMgrt GetFightPet(R tcurPet((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pytDoEnterCrossRealm’s   cCs¯tjd|jƒƒ|jtƒ|jtƒ|jdƒ|jƒ|jtj    ƒ|jƒ|j
ƒj ƒ}|r‰|jtƒnt j |ƒr«t j|dƒndS(NsDoExitCrossRealm...ii(RRTR-RUtTrueRWRXt RefreshViewRtDef_PlayerSight_DefaultRYRZR+R,RP(R R[((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pytDoExitCrossRealmœs   
 
(RRR+RRRR&RRFRR#R(R]R*R9RCRLRHR\R`(((spE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\CrossRealmPlayer.pyt<module>s"