支付返回参数扩展
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{
|
message SCPayGoodsInfo{
|
||||||
repeated int32 Gold = 1;// 0.金币 1.钻石 3.经验
|
repeated int32 Gold = 1;// 0.金币 1.钻石 3.经验
|
||||||
repeated PayItem Item = 2;// 道具
|
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
|
|
@ -4115,6 +4115,9 @@ func (this *Player) GetPayGoodsInfo() {
|
||||||
PayGoodsInfo := &playerproto.SCPayGoodsInfo{
|
PayGoodsInfo := &playerproto.SCPayGoodsInfo{
|
||||||
Gold: info.Amount,
|
Gold: info.Amount,
|
||||||
Item: itemInfo,
|
Item: itemInfo,
|
||||||
|
ShopId: info.ShopId,
|
||||||
|
Money: int64(info.ConsumeTypeNum),
|
||||||
|
Name: info.Remark,
|
||||||
}
|
}
|
||||||
proto.SetDefaults(PayGoodsInfo)
|
proto.SetDefaults(PayGoodsInfo)
|
||||||
this.SendToClient(int(playerproto.PlayerPacketID_PACKET_SC_PAYGOODSINFO), PayGoodsInfo)
|
this.SendToClient(int(playerproto.PlayerPacketID_PACKET_SC_PAYGOODSINFO), PayGoodsInfo)
|
||||||
|
|
Loading…
Reference in New Issue