协议信息小改
This commit is contained in:
parent
65bc278a06
commit
da5b8f040b
@ -631,7 +631,7 @@ func ClusterSendMsg(ServerId int, m *msg.Msg) {
|
||||
func GetCardInfoMsg(CardInfo *card.CardInfo) *proto.ResFriendCard {
|
||||
Uid := 0
|
||||
if CardInfo.Type == card.TYPE_CARD_SEND {
|
||||
Uid = CardInfo.BUid
|
||||
Uid = CardInfo.AUid
|
||||
}
|
||||
|
||||
if CardInfo.Type == card.TYPE_CARD_GIVE {
|
||||
|
||||
@ -206,7 +206,7 @@ func (p *PlayerModData) InitMod(player *Player) (bool, error) {
|
||||
p.ModList.Base.InitData(int(p.Data.DwUin), Ip)
|
||||
p.ModList.SevenLogin.InitData()
|
||||
p.ModList.LimitedTimeEvent.InitData(BaseMod.GetLevel())
|
||||
p.ModList.Friend.InitData(p.Data.DwUin)
|
||||
p.ModList.Friend.InitData(p.ModList.Base.Uid)
|
||||
p.ModList.Mail.InitData()
|
||||
p.ModList.Charge.InitData()
|
||||
p.ModList.Endless.InitData()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user