| | |
| | | GameWorld.GetGameWorld().EventShell_SendEventEx(eventTypeStr, len(eventTypeStr), dataStr, len(dataStr))
|
| | | return
|
| | |
|
| | |
|
| | | ## 二次非同天登陆
|
| | | # @param accID: 账号ID
|
| | | # @param ip: ip
|
| | | # @return: None
|
| | | def DR_OtherDayLogin(accID, ip, curPlayer):
|
| | | |
| | | dataDict = {'AccID':accID, 'IP':ip}
|
| | |
|
| | | #发送封包
|
| | | SendEventPack("OtherDayLogin", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | |
|
| | | ## 登陆
|
| | | # @param curPlayer 玩家实例
|
| | | # @return: None
|
| | |
| | | SendEventPack("MailDel", dataDict)
|
| | | return
|
| | |
|
| | | def DR_ServerMail(GUID, eventName, addDict={}):
|
| | | ## 全服邮件流向
|
| | | dataDict = {'GUID':GUID, "eventName":eventName}
|
| | | dataDict.update(addDict)
|
| | | SendEventPack("MailServerMail", dataDict)
|
| | | return
|
| | |
|
| | | def DR_CreateRole(playerData):
|
| | | dataDict = {'PlayerID':playerData.PlayerID, 'AccID':playerData.AccID, 'PlayerName':playerData.PlayerName, "Job":playerData.Job}
|
| | | #发送封包
|
| | | SendEventPack("CreateRole", dataDict)
|
| | | return |
| | | return
|
| | |
|