mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-05 03:03:31 +00:00
98122f3c55
* Frontend is not very beautiful yet * Didn't include too much `some anime game` data in the page to avoid being DMCA'd
23 lines
563 B
Java
23 lines
563 B
Java
package emu.grasscutter.server.packet.send;
|
|
|
|
import emu.grasscutter.game.gacha.GachaManager;
|
|
import emu.grasscutter.net.packet.BasePacket;
|
|
import emu.grasscutter.net.packet.PacketOpcodes;
|
|
|
|
public class PacketGetGachaInfoRsp extends BasePacket {
|
|
|
|
@Deprecated
|
|
public PacketGetGachaInfoRsp(GachaManager manager) {
|
|
super(PacketOpcodes.GetGachaInfoRsp);
|
|
|
|
this.setData(manager.toProto());
|
|
}
|
|
|
|
public PacketGetGachaInfoRsp(GachaManager manager, String sessionKey) {
|
|
super(PacketOpcodes.GetGachaInfoRsp);
|
|
|
|
this.setData(manager.toProto(sessionKey));
|
|
}
|
|
|
|
}
|