Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
1c36f078
Commit
1c36f078
authored
Apr 26, 2022
by
Melledy
Browse files
Renamed all references to a certain game
parent
6b8902be
Changes
270
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/packet/send/PacketPingRsp.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PingRspOuterClass.PingRsp
;
public
class
PacketPingRsp
extends
Genshin
Packet
{
public
class
PacketPingRsp
extends
Base
Packet
{
public
PacketPingRsp
(
int
clientSeq
,
int
time
)
{
super
(
PacketOpcodes
.
PingRsp
,
clientSeq
);
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerApplyEnterMpNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerApplyEnterMpNotifyOuterClass.PlayerApplyEnterMpNotify
;
public
class
PacketPlayerApplyEnterMpNotify
extends
Genshin
Packet
{
public
class
PacketPlayerApplyEnterMpNotify
extends
Base
Packet
{
public
PacketPlayerApplyEnterMpNotify
(
Genshin
Player
srcPlayer
)
{
public
PacketPlayerApplyEnterMpNotify
(
Player
srcPlayer
)
{
super
(
PacketOpcodes
.
PlayerApplyEnterMpNotify
);
PlayerApplyEnterMpNotify
proto
=
PlayerApplyEnterMpNotify
.
newBuilder
()
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerApplyEnterMpResultNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerApplyEnterMpReasonOuterClass.PlayerApplyEnterMpReason
;
import
emu.grasscutter.net.proto.PlayerApplyEnterMpResultNotifyOuterClass
;
import
emu.grasscutter.net.proto.PlayerApplyEnterMpResultNotifyOuterClass.PlayerApplyEnterMpResultNotify
;
public
class
PacketPlayerApplyEnterMpResultNotify
extends
Genshin
Packet
{
public
class
PacketPlayerApplyEnterMpResultNotify
extends
Base
Packet
{
public
PacketPlayerApplyEnterMpResultNotify
(
Genshin
Player
target
,
boolean
isAgreed
,
PlayerApplyEnterMpResultNotifyOuterClass
.
PlayerApplyEnterMpResultNotify
.
Reason
reason
)
{
public
PacketPlayerApplyEnterMpResultNotify
(
Player
target
,
boolean
isAgreed
,
PlayerApplyEnterMpResultNotifyOuterClass
.
PlayerApplyEnterMpResultNotify
.
Reason
reason
)
{
super
(
PacketOpcodes
.
PlayerApplyEnterMpResultNotify
);
PlayerApplyEnterMpResultNotify
proto
=
PlayerApplyEnterMpResultNotify
.
newBuilder
()
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerApplyEnterMpResultRsp.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerApplyEnterMpResultRspOuterClass.PlayerApplyEnterMpResultRsp
;
public
class
PacketPlayerApplyEnterMpResultRsp
extends
Genshin
Packet
{
public
class
PacketPlayerApplyEnterMpResultRsp
extends
Base
Packet
{
public
PacketPlayerApplyEnterMpResultRsp
(
int
applyUid
,
boolean
isAgreed
)
{
super
(
PacketOpcodes
.
PlayerApplyEnterMpResultRsp
);
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerApplyEnterMpRsp.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerApplyEnterMpRspOuterClass.PlayerApplyEnterMpRsp
;
public
class
PacketPlayerApplyEnterMpRsp
extends
Genshin
Packet
{
public
class
PacketPlayerApplyEnterMpRsp
extends
Base
Packet
{
public
PacketPlayerApplyEnterMpRsp
(
int
targetUid
)
{
super
(
PacketOpcodes
.
PlayerApplyEnterMpRsp
);
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerChatNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo
;
import
emu.grasscutter.net.proto.PlayerChatNotifyOuterClass.PlayerChatNotify
;
import
emu.grasscutter.net.proto.SystemHintOuterClass.SystemHint
;
public
class
PacketPlayerChatNotify
extends
Genshin
Packet
{
public
class
PacketPlayerChatNotify
extends
Base
Packet
{
public
PacketPlayerChatNotify
(
Genshin
Player
sender
,
int
channelId
,
String
message
)
{
public
PacketPlayerChatNotify
(
Player
sender
,
int
channelId
,
String
message
)
{
super
(
PacketOpcodes
.
PlayerChatNotify
);
ChatInfo
info
=
ChatInfo
.
newBuilder
()
...
...
@@ -26,7 +26,7 @@ public class PacketPlayerChatNotify extends GenshinPacket {
this
.
setData
(
proto
);
}
public
PacketPlayerChatNotify
(
Genshin
Player
sender
,
int
channelId
,
int
emote
)
{
public
PacketPlayerChatNotify
(
Player
sender
,
int
channelId
,
int
emote
)
{
super
(
PacketOpcodes
.
PlayerChatNotify
);
ChatInfo
info
=
ChatInfo
.
newBuilder
()
...
...
@@ -43,7 +43,7 @@ public class PacketPlayerChatNotify extends GenshinPacket {
this
.
setData
(
proto
);
}
public
PacketPlayerChatNotify
(
Genshin
Player
sender
,
int
channelId
,
ChatInfo
.
SystemHint
systemHint
)
{
public
PacketPlayerChatNotify
(
Player
sender
,
int
channelId
,
ChatInfo
.
SystemHint
systemHint
)
{
super
(
PacketOpcodes
.
PlayerChatNotify
);
ChatInfo
info
=
ChatInfo
.
newBuilder
()
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerChatRsp.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerChatRspOuterClass.PlayerChatRsp
;
public
class
PacketPlayerChatRsp
extends
Genshin
Packet
{
public
class
PacketPlayerChatRsp
extends
Base
Packet
{
public
PacketPlayerChatRsp
()
{
super
(
PacketOpcodes
.
PlayerChatRsp
);
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerDataNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerDataNotifyOuterClass.PlayerDataNotify
;
import
emu.grasscutter.net.proto.PropValueOuterClass.PropValue
;
public
class
PacketPlayerDataNotify
extends
Genshin
Packet
{
public
class
PacketPlayerDataNotify
extends
Base
Packet
{
public
PacketPlayerDataNotify
(
Genshin
Player
player
)
{
public
PacketPlayerDataNotify
(
Player
player
)
{
super
(
PacketOpcodes
.
PlayerDataNotify
,
2
);
PlayerDataNotify
.
Builder
p
=
PlayerDataNotify
.
newBuilder
()
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerEnterSceneInfoNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.game.entity.EntityAvatar
;
import
emu.grasscutter.game.inventory.G
enshin
Item
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.game.inventory.G
ame
Item
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.AbilityControlBlockOuterClass
;
import
emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo
;
...
...
@@ -12,9 +12,9 @@ import emu.grasscutter.net.proto.MPLevelEntityInfoOuterClass.MPLevelEntityInfo;
import
emu.grasscutter.net.proto.PlayerEnterSceneInfoNotifyOuterClass.PlayerEnterSceneInfoNotify
;
import
emu.grasscutter.net.proto.TeamEnterSceneInfoOuterClass.TeamEnterSceneInfo
;
public
class
PacketPlayerEnterSceneInfoNotify
extends
Genshin
Packet
{
public
class
PacketPlayerEnterSceneInfoNotify
extends
Base
Packet
{
public
PacketPlayerEnterSceneInfoNotify
(
Genshin
Player
player
)
{
public
PacketPlayerEnterSceneInfoNotify
(
Player
player
)
{
super
(
PacketOpcodes
.
PlayerEnterSceneInfoNotify
);
AbilitySyncStateInfo
empty
=
AbilitySyncStateInfo
.
newBuilder
().
build
();
...
...
@@ -37,7 +37,7 @@ public class PacketPlayerEnterSceneInfoNotify extends GenshinPacket {
);
for
(
EntityAvatar
avatarEntity
:
player
.
getTeamManager
().
getActiveTeam
())
{
G
enshin
Item
weapon
=
avatarEntity
.
getAvatar
().
getWeapon
();
G
ame
Item
weapon
=
avatarEntity
.
getAvatar
().
getWeapon
();
long
weaponGuid
=
weapon
!=
null
?
weapon
.
getGuid
()
:
0
;
AvatarEnterSceneInfo
avatarInfo
=
AvatarEnterSceneInfo
.
newBuilder
()
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerEnterSceneNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.game.
Genshin
Player.SceneLoadState
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.game.Player.SceneLoadState
;
import
emu.grasscutter.game.props.EnterReason
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType
;
import
emu.grasscutter.net.proto.PlayerEnterSceneNotifyOuterClass.PlayerEnterSceneNotify
;
import
emu.grasscutter.utils.Position
;
import
emu.grasscutter.utils.Utils
;
public
class
PacketPlayerEnterSceneNotify
extends
Genshin
Packet
{
public
class
PacketPlayerEnterSceneNotify
extends
Base
Packet
{
// Login
public
PacketPlayerEnterSceneNotify
(
Genshin
Player
player
)
{
public
PacketPlayerEnterSceneNotify
(
Player
player
)
{
super
(
PacketOpcodes
.
PlayerEnterSceneNotify
);
player
.
setSceneLoadState
(
SceneLoadState
.
LOADING
);
...
...
@@ -36,12 +36,12 @@ public class PacketPlayerEnterSceneNotify extends GenshinPacket {
this
.
setData
(
proto
);
}
public
PacketPlayerEnterSceneNotify
(
Genshin
Player
player
,
EnterType
type
,
EnterReason
reason
,
int
newScene
,
Position
newPos
)
{
public
PacketPlayerEnterSceneNotify
(
Player
player
,
EnterType
type
,
EnterReason
reason
,
int
newScene
,
Position
newPos
)
{
this
(
player
,
player
,
type
,
reason
,
newScene
,
newPos
);
}
// Teleport or go somewhere
public
PacketPlayerEnterSceneNotify
(
Genshin
Player
player
,
Genshin
Player
target
,
EnterType
type
,
EnterReason
reason
,
int
newScene
,
Position
newPos
)
{
public
PacketPlayerEnterSceneNotify
(
Player
player
,
Player
target
,
EnterType
type
,
EnterReason
reason
,
int
newScene
,
Position
newPos
)
{
super
(
PacketOpcodes
.
PlayerEnterSceneNotify
);
player
.
setEnterSceneToken
(
Utils
.
randomRange
(
1000
,
99999
));
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerGameTimeNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.game.World
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerGameTimeNotifyOuterClass.PlayerGameTimeNotify
;
public
class
PacketPlayerGameTimeNotify
extends
Genshin
Packet
{
public
class
PacketPlayerGameTimeNotify
extends
Base
Packet
{
public
PacketPlayerGameTimeNotify
(
Genshin
Player
player
)
{
public
PacketPlayerGameTimeNotify
(
Player
player
)
{
super
(
PacketOpcodes
.
PlayerGameTimeNotify
);
PlayerGameTimeNotify
proto
=
PlayerGameTimeNotify
.
newBuilder
()
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerGetForceQuitBanInfoRsp.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerGetForceQuitBanInfoRspOuterClass.PlayerGetForceQuitBanInfoRsp
;
public
class
PacketPlayerGetForceQuitBanInfoRsp
extends
Genshin
Packet
{
public
class
PacketPlayerGetForceQuitBanInfoRsp
extends
Base
Packet
{
public
PacketPlayerGetForceQuitBanInfoRsp
(
int
retcode
)
{
super
(
PacketOpcodes
.
PlayerGetForceQuitBanInfoRsp
);
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerLevelRewardUpdateNotify.java
View file @
1c36f078
...
...
@@ -2,11 +2,11 @@ package emu.grasscutter.server.packet.send;
import
java.util.Set
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerLevelRewardUpdateNotifyOuterClass.PlayerLevelRewardUpdateNotify
;
public
class
PacketPlayerLevelRewardUpdateNotify
extends
Genshin
Packet
{
public
class
PacketPlayerLevelRewardUpdateNotify
extends
Base
Packet
{
public
PacketPlayerLevelRewardUpdateNotify
(
Set
<
Integer
>
rewardedLevels
)
{
super
(
PacketOpcodes
.
PlayerLevelRewardUpdateNotify
);
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerLoginRsp.java
View file @
1c36f078
...
...
@@ -2,7 +2,7 @@ package emu.grasscutter.server.packet.send;
import
com.google.protobuf.ByteString
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerLoginRspOuterClass.PlayerLoginRsp
;
import
emu.grasscutter.net.proto.QueryCurrRegionHttpRspOuterClass
;
...
...
@@ -14,7 +14,7 @@ import java.io.File;
import
java.net.URL
;
import
java.util.Base64
;
public
class
PacketPlayerLoginRsp
extends
Genshin
Packet
{
public
class
PacketPlayerLoginRsp
extends
Base
Packet
{
private
static
QueryCurrRegionHttpRspOuterClass
.
QueryCurrRegionHttpRsp
regionCache
;
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerPropNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.game.props.PlayerProperty
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerPropNotifyOuterClass.PlayerPropNotify
;
import
emu.grasscutter.utils.ProtoHelper
;
public
class
PacketPlayerPropNotify
extends
Genshin
Packet
{
public
class
PacketPlayerPropNotify
extends
Base
Packet
{
public
PacketPlayerPropNotify
(
Genshin
Player
player
,
PlayerProperty
prop
)
{
public
PacketPlayerPropNotify
(
Player
player
,
PlayerProperty
prop
)
{
super
(
PacketOpcodes
.
PlayerPropNotify
);
this
.
buildHeader
(
0
);
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerSetPauseRsp.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
public
class
PacketPlayerSetPauseRsp
extends
Genshin
Packet
{
public
class
PacketPlayerSetPauseRsp
extends
Base
Packet
{
public
PacketPlayerSetPauseRsp
(
int
clientSequence
)
{
super
(
PacketOpcodes
.
PlayerSetPauseRsp
);
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerStoreNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.G
enshin
Constants
;
import
emu.grasscutter.G
ame
Constants
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.game.inventory.G
enshin
Item
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.game.inventory.G
ame
Item
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.ItemOuterClass.Item
;
import
emu.grasscutter.net.proto.PlayerStoreNotifyOuterClass.PlayerStoreNotify
;
import
emu.grasscutter.net.proto.StoreTypeOuterClass.StoreType
;
public
class
PacketPlayerStoreNotify
extends
Genshin
Packet
{
public
class
PacketPlayerStoreNotify
extends
Base
Packet
{
public
PacketPlayerStoreNotify
(
Genshin
Player
player
)
{
public
PacketPlayerStoreNotify
(
Player
player
)
{
super
(
PacketOpcodes
.
PlayerStoreNotify
);
this
.
buildHeader
(
2
);
...
...
@@ -21,7 +21,7 @@ public class PacketPlayerStoreNotify extends GenshinPacket {
.
setStoreType
(
StoreType
.
STORE_PACK
)
.
setWeightLimit
(
Grasscutter
.
getConfig
().
getGameServerOptions
().
InventoryLimitAll
);
for
(
G
enshin
Item
item
:
player
.
getInventory
())
{
for
(
G
ame
Item
item
:
player
.
getInventory
())
{
Item
itemProto
=
item
.
toProto
();
p
.
addItemList
(
itemProto
);
}
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPlayerTimeNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PlayerTimeNotifyOuterClass.PlayerTimeNotify
;
public
class
PacketPlayerTimeNotify
extends
Genshin
Packet
{
public
class
PacketPlayerTimeNotify
extends
Base
Packet
{
public
PacketPlayerTimeNotify
(
Genshin
Player
player
)
{
public
PacketPlayerTimeNotify
(
Player
player
)
{
super
(
PacketOpcodes
.
PlayerTimeNotify
);
PlayerTimeNotify
proto
=
PlayerTimeNotify
.
newBuilder
()
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPostEnterSceneRsp.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.game.
Genshin
Player
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.game.Player
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.PostEnterSceneRspOuterClass.PostEnterSceneRsp
;
public
class
PacketPostEnterSceneRsp
extends
Genshin
Packet
{
public
class
PacketPostEnterSceneRsp
extends
Base
Packet
{
public
PacketPostEnterSceneRsp
(
Genshin
Player
player
)
{
public
PacketPostEnterSceneRsp
(
Player
player
)
{
super
(
PacketOpcodes
.
PostEnterSceneRsp
);
PostEnterSceneRsp
p
=
PostEnterSceneRsp
.
newBuilder
()
...
...
src/main/java/emu/grasscutter/server/packet/send/PacketPrivateChatNotify.java
View file @
1c36f078
package
emu.grasscutter.server.packet.send
;
import
emu.grasscutter.net.packet.
Genshin
Packet
;
import
emu.grasscutter.net.packet.
Base
Packet
;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.ChatInfoOuterClass.ChatInfo
;
import
emu.grasscutter.net.proto.PrivateChatNotifyOuterClass.PrivateChatNotify
;
public
class
PacketPrivateChatNotify
extends
Genshin
Packet
{
public
class
PacketPrivateChatNotify
extends
Base
Packet
{
public
PacketPrivateChatNotify
(
int
senderId
,
int
recvId
,
String
message
)
{
super
(
PacketOpcodes
.
PrivateChatNotify
);
...
...
Prev
1
…
7
8
9
10
11
12
13
14
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment