mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 03:37:38 +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.net.packet.BasePacket;
|
||||
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.NoArgsConstructor;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
public final class PacketBeginCameraSceneLookNotify extends BasePacket {
|
||||
|
||||
public PacketBeginCameraSceneLookNotify(CameraSceneLookNotify parameters) {
|
||||
super(PacketOpcodes.BeginCameraSceneLookNotify);
|
||||
|
||||
var packet =
|
||||
BeginCameraSceneLookNotify.newBuilder()
|
||||
.setLookPos(parameters.lookPos.toProto())
|
||||
.setFollowPos(parameters.followPos.toProto())
|
||||
.setDuration(parameters.duration)
|
||||
.setIsAllowInput(parameters.isAllowInput)
|
||||
.setIsSetFollowPos(parameters.setFollowPos)
|
||||
.setIsSetScreenXy(parameters.isScreenXY)
|
||||
.setIsRecoverKeepCurrent(parameters.recoverKeepCurrent)
|
||||
.setIsChangePlayMode(parameters.isChangePlayMode)
|
||||
.setScreenY(parameters.screenY)
|
||||
.setScreenX(parameters.screenX)
|
||||
.setIsForce(parameters.isForce)
|
||||
.setIsForce(parameters.isForceWalk)
|
||||
.setEntityId(parameters.entityId)
|
||||
.addAllOtherParams(parameters.otherParams);
|
||||
|
||||
this.setData(packet);
|
||||
// var packet =
|
||||
// BeginCameraSceneLookNotify.newBuilder()
|
||||
// .setLookPos(parameters.lookPos.toProto())
|
||||
// .setFollowPos(parameters.followPos.toProto())
|
||||
// .setDuration(parameters.duration)
|
||||
// .setIsAllowInput(parameters.isAllowInput)
|
||||
// .setIsSetFollowPos(parameters.setFollowPos)
|
||||
// .setIsSetScreenXy(parameters.isScreenXY)
|
||||
// .setIsRecoverKeepCurrent(parameters.recoverKeepCurrent)
|
||||
// .setIsChangePlayMode(parameters.isChangePlayMode)
|
||||
// .setScreenY(parameters.screenY)
|
||||
// .setScreenX(parameters.screenX)
|
||||
// .setIsForce(parameters.isForce)
|
||||
// .setIsForce(parameters.isForceWalk)
|
||||
// .setEntityId(parameters.entityId)
|
||||
// .addAllOtherParams(parameters.otherParams);
|
||||
//
|
||||
// this.setData(packet);
|
||||
}
|
||||
|
||||
// TODO check default values
|
||||
|
Loading…
Reference in New Issue
Block a user