mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 11:26:07 +00:00
Remove outdated packet
This commit is contained in:
parent
3a9caf2cae
commit
4fd617cebd
@ -3,35 +3,35 @@ package emu.grasscutter.server.packet.send;
|
|||||||
import emu.grasscutter.game.world.Position;
|
import emu.grasscutter.game.world.Position;
|
||||||
import emu.grasscutter.net.packet.BasePacket;
|
import emu.grasscutter.net.packet.BasePacket;
|
||||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||||
import emu.grasscutter.net.proto.BeginCameraSceneLookNotifyOuterClass.BeginCameraSceneLookNotify;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Collection;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collection;
|
||||||
|
|
||||||
public final class PacketBeginCameraSceneLookNotify extends BasePacket {
|
public final class PacketBeginCameraSceneLookNotify extends BasePacket {
|
||||||
|
|
||||||
public PacketBeginCameraSceneLookNotify(CameraSceneLookNotify parameters) {
|
public PacketBeginCameraSceneLookNotify(CameraSceneLookNotify parameters) {
|
||||||
super(PacketOpcodes.BeginCameraSceneLookNotify);
|
super(PacketOpcodes.BeginCameraSceneLookNotify);
|
||||||
|
|
||||||
var packet =
|
// var packet =
|
||||||
BeginCameraSceneLookNotify.newBuilder()
|
// BeginCameraSceneLookNotify.newBuilder()
|
||||||
.setLookPos(parameters.lookPos.toProto())
|
// .setLookPos(parameters.lookPos.toProto())
|
||||||
.setFollowPos(parameters.followPos.toProto())
|
// .setFollowPos(parameters.followPos.toProto())
|
||||||
.setDuration(parameters.duration)
|
// .setDuration(parameters.duration)
|
||||||
.setIsAllowInput(parameters.isAllowInput)
|
// .setIsAllowInput(parameters.isAllowInput)
|
||||||
.setIsSetFollowPos(parameters.setFollowPos)
|
// .setIsSetFollowPos(parameters.setFollowPos)
|
||||||
.setIsSetScreenXy(parameters.isScreenXY)
|
// .setIsSetScreenXy(parameters.isScreenXY)
|
||||||
.setIsRecoverKeepCurrent(parameters.recoverKeepCurrent)
|
// .setIsRecoverKeepCurrent(parameters.recoverKeepCurrent)
|
||||||
.setIsChangePlayMode(parameters.isChangePlayMode)
|
// .setIsChangePlayMode(parameters.isChangePlayMode)
|
||||||
.setScreenY(parameters.screenY)
|
// .setScreenY(parameters.screenY)
|
||||||
.setScreenX(parameters.screenX)
|
// .setScreenX(parameters.screenX)
|
||||||
.setIsForce(parameters.isForce)
|
// .setIsForce(parameters.isForce)
|
||||||
.setIsForce(parameters.isForceWalk)
|
// .setIsForce(parameters.isForceWalk)
|
||||||
.setEntityId(parameters.entityId)
|
// .setEntityId(parameters.entityId)
|
||||||
.addAllOtherParams(parameters.otherParams);
|
// .addAllOtherParams(parameters.otherParams);
|
||||||
|
//
|
||||||
this.setData(packet);
|
// this.setData(packet);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO check default values
|
// TODO check default values
|
||||||
|
Loading…
Reference in New Issue
Block a user