mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-20 18:51:20 +08:00
Renamed all references to a certain game
This commit is contained in:
@@ -2,16 +2,16 @@ package emu.grasscutter.server.packet.send;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import emu.grasscutter.game.GenshinPlayer;
|
||||
import emu.grasscutter.game.entity.GenshinEntity;
|
||||
import emu.grasscutter.net.packet.GenshinPacket;
|
||||
import emu.grasscutter.game.Player;
|
||||
import emu.grasscutter.game.entity.GameEntity;
|
||||
import emu.grasscutter.net.packet.BasePacket;
|
||||
import emu.grasscutter.net.packet.PacketOpcodes;
|
||||
import emu.grasscutter.net.proto.SceneEntityAppearNotifyOuterClass.SceneEntityAppearNotify;
|
||||
import emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType;
|
||||
|
||||
public class PacketSceneEntityAppearNotify extends GenshinPacket {
|
||||
public class PacketSceneEntityAppearNotify extends BasePacket {
|
||||
|
||||
public PacketSceneEntityAppearNotify(GenshinEntity entity) {
|
||||
public PacketSceneEntityAppearNotify(GameEntity entity) {
|
||||
super(PacketOpcodes.SceneEntityAppearNotify, true);
|
||||
|
||||
SceneEntityAppearNotify.Builder proto = SceneEntityAppearNotify.newBuilder()
|
||||
@@ -21,7 +21,7 @@ public class PacketSceneEntityAppearNotify extends GenshinPacket {
|
||||
this.setData(proto.build());
|
||||
}
|
||||
|
||||
public PacketSceneEntityAppearNotify(GenshinEntity entity, VisionType vision, int param) {
|
||||
public PacketSceneEntityAppearNotify(GameEntity entity, VisionType vision, int param) {
|
||||
super(PacketOpcodes.SceneEntityAppearNotify, true);
|
||||
|
||||
SceneEntityAppearNotify.Builder proto = SceneEntityAppearNotify.newBuilder()
|
||||
@@ -32,11 +32,11 @@ public class PacketSceneEntityAppearNotify extends GenshinPacket {
|
||||
this.setData(proto.build());
|
||||
}
|
||||
|
||||
public PacketSceneEntityAppearNotify(GenshinPlayer player) {
|
||||
public PacketSceneEntityAppearNotify(Player player) {
|
||||
this(player.getTeamManager().getCurrentAvatarEntity());
|
||||
}
|
||||
|
||||
public PacketSceneEntityAppearNotify(Collection<GenshinEntity> entities, VisionType visionType) {
|
||||
public PacketSceneEntityAppearNotify(Collection<GameEntity> entities, VisionType visionType) {
|
||||
super(PacketOpcodes.SceneEntityAppearNotify, true);
|
||||
|
||||
SceneEntityAppearNotify.Builder proto = SceneEntityAppearNotify.newBuilder()
|
||||
|
||||
Reference in New Issue
Block a user