mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-24 04:48:05 +00:00
packet
This commit is contained in:
parent
f28926c645
commit
d1036df34c
@ -0,0 +1,24 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
|
||||
import emu.grasscutter.net.packet.GenshinPacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.CardProductRewardNotifyOuterClass.CardProductRewardNotify;
|
||||
|
||||
public class PacketCardProductRewardNotify extends GenshinPacket {
|
||||
|
||||
public PacketCardProductRewardNotify(int remainsDay) {
|
||||
super(PacketOpcodes.CardProductRewardNotify);
|
||||
|
||||
CardProductRewardNotify proto = CardProductRewardNotify.newBuilder()
|
||||
.setProductId("ys_chn_blessofmoon_tier5")
|
||||
.setHcoin(90)
|
||||
.setRemainDays(remainsDay)
|
||||
.build();
|
||||
|
||||
// Hard code Product id keep cool 😎
|
||||
|
||||
this.setData(proto);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user