支付返回参数扩展
This commit is contained in:
parent
9dd4496b55
commit
16bcd9a858
File diff suppressed because it is too large
Load Diff
|
@ -1064,6 +1064,9 @@ message PayItem {
|
|||
message SCPayGoodsInfo{
|
||||
repeated int32 Gold = 1;// 0.金币 1.钻石 3.经验
|
||||
repeated PayItem Item = 2;// 道具
|
||||
int32 ShopId = 3;// 商品id
|
||||
int64 Money = 4;// 现金
|
||||
string Name = 5;// 名称
|
||||
}
|
||||
|
||||
// 资源更新
|
||||
|
|
2
public
2
public
|
@ -1 +1 @@
|
|||
Subproject commit 3693cac745d7d5c8773dd2c14cd47bbfcdfc71bd
|
||||
Subproject commit 20b583ee6e181be5127d5eef83d4739efbbe4502
|
|
@ -4113,8 +4113,11 @@ func (this *Player) GetPayGoodsInfo() {
|
|||
BagMgrSingleton.AddItems(this, items, 0, info.GainWay, info.Operator, info.Remark, 0, 0, false)
|
||||
|
||||
PayGoodsInfo := &playerproto.SCPayGoodsInfo{
|
||||
Gold: info.Amount,
|
||||
Item: itemInfo,
|
||||
Gold: info.Amount,
|
||||
Item: itemInfo,
|
||||
ShopId: info.ShopId,
|
||||
Money: int64(info.ConsumeTypeNum),
|
||||
Name: info.Remark,
|
||||
}
|
||||
proto.SetDefaults(PayGoodsInfo)
|
||||
this.SendToClient(int(playerproto.PlayerPacketID_PACKET_SC_PAYGOODSINFO), PayGoodsInfo)
|
||||
|
|
Loading…
Reference in New Issue