mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-17 03:44:05 +08:00
Run Spotless on src/main
This commit is contained in:
+31
-29
@@ -1,29 +1,31 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify;
|
||||
|
||||
public class PacketScenePointUnlockNotify extends BasePacket {
|
||||
public PacketScenePointUnlockNotify(int sceneId, int pointId) {
|
||||
super(PacketOpcodes.ScenePointUnlockNotify);
|
||||
|
||||
ScenePointUnlockNotify.Builder p = ScenePointUnlockNotify.newBuilder()
|
||||
.setSceneId(sceneId)
|
||||
.addPointList(pointId)
|
||||
.addUnhidePointList(pointId);
|
||||
|
||||
this.setData(p);
|
||||
}
|
||||
|
||||
public PacketScenePointUnlockNotify(int sceneId, Iterable<Integer> pointIds) {
|
||||
super(PacketOpcodes.ScenePointUnlockNotify);
|
||||
|
||||
ScenePointUnlockNotify.Builder p = ScenePointUnlockNotify.newBuilder()
|
||||
.setSceneId(sceneId)
|
||||
.addAllPointList(pointIds)
|
||||
.addAllUnhidePointList(pointIds);
|
||||
|
||||
this.setData(p);
|
||||
}
|
||||
}
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.ScenePointUnlockNotifyOuterClass.ScenePointUnlockNotify;
|
||||
|
||||
public class PacketScenePointUnlockNotify extends BasePacket {
|
||||
public PacketScenePointUnlockNotify(int sceneId, int pointId) {
|
||||
super(PacketOpcodes.ScenePointUnlockNotify);
|
||||
|
||||
ScenePointUnlockNotify.Builder p =
|
||||
ScenePointUnlockNotify.newBuilder()
|
||||
.setSceneId(sceneId)
|
||||
.addPointList(pointId)
|
||||
.addUnhidePointList(pointId);
|
||||
|
||||
this.setData(p);
|
||||
}
|
||||
|
||||
public PacketScenePointUnlockNotify(int sceneId, Iterable<Integer> pointIds) {
|
||||
super(PacketOpcodes.ScenePointUnlockNotify);
|
||||
|
||||
ScenePointUnlockNotify.Builder p =
|
||||
ScenePointUnlockNotify.newBuilder()
|
||||
.setSceneId(sceneId)
|
||||
.addAllPointList(pointIds)
|
||||
.addAllUnhidePointList(pointIds);
|
||||
|
||||
this.setData(p);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user