皮肤自动使用
This commit is contained in:
parent
985c52ce0d
commit
ae2042bf4d
|
|
@ -24,5 +24,5 @@
|
||||||
"AgoraAddress": "http://47.105.78.29:8081",
|
"AgoraAddress": "http://47.105.78.29:8081",
|
||||||
"InviteUrl": "http://47.105.78.29:8000/",
|
"InviteUrl": "http://47.105.78.29:8000/",
|
||||||
"RankTimeout": 2,
|
"RankTimeout": 2,
|
||||||
"PermitInitScore": 0
|
"PermitInitScore": 1000
|
||||||
}
|
}
|
||||||
2
public
2
public
|
|
@ -1 +1 @@
|
||||||
Subproject commit 6fefbb3db104ed096948a126db87d4e86d19362a
|
Subproject commit e3671e30a6f3093cc7219f9b074e5586c3b2c011
|
||||||
|
|
@ -605,6 +605,11 @@ func CSSKinUnLock(s *netlib.Session, packetid int, data interface{}, sid int64)
|
||||||
pack.Info, pack.RetCode = SkinUnLock(p, msg.GetId())
|
pack.Info, pack.RetCode = SkinUnLock(p, msg.GetId())
|
||||||
if pack.GetRetCode() != pets.OpResultCode_OPRC_Sucess {
|
if pack.GetRetCode() != pets.OpResultCode_OPRC_Sucess {
|
||||||
send()
|
send()
|
||||||
|
} else {
|
||||||
|
// 自动使用
|
||||||
|
if srvdata.PBDB_SkinMgr.GetData(msg.GetId()).GetUnlockType() == common.SkinGetAuto {
|
||||||
|
CSSkinUse(s, int(pets.PetsPacketID_PACKET_CS_SKIN_USE), new(pets.CSSkinUse), sid)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue