mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-05 01:45:29 +00:00
d71b7abfc3
Only a few are supported right now You will need certain script files in ./resources/Scripts
21 lines
717 B
Java
21 lines
717 B
Java
package emu.grasscutter.server.packet.send;
|
|
|
|
import emu.grasscutter.game.dungeons.DungeonChallenge;
|
|
import emu.grasscutter.net.packet.BasePacket;
|
|
import emu.grasscutter.net.packet.PacketOpcodes;
|
|
import emu.grasscutter.net.proto.DungeonChallengeBeginNotifyOuterClass.DungeonChallengeBeginNotify;
|
|
|
|
public class PacketDungeonChallengeBeginNotify extends BasePacket {
|
|
|
|
public PacketDungeonChallengeBeginNotify(DungeonChallenge challenge) {
|
|
super(PacketOpcodes.DungeonChallengeBeginNotify);
|
|
|
|
DungeonChallengeBeginNotify proto = DungeonChallengeBeginNotify.newBuilder()
|
|
.setChallengeId(challenge.getChallengeId())
|
|
.setChallengeIndex(challenge.getChallengeIndex())
|
|
.build();
|
|
|
|
this.setData(proto);
|
|
}
|
|
}
|