Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Grasscutter
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
ziqian zhang
Grasscutter
Commits
bd560785
Commit
bd560785
authored
3 years ago
by
xtaodada
Committed by
Melledy
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Show shopmall
parent
3cc1139a
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/emu/grasscutter/server/packet/send/PacketGetShopmallDataRsp.java
+8
-2
8 additions, 2 deletions
...sscutter/server/packet/send/PacketGetShopmallDataRsp.java
with
8 additions
and
2 deletions
src/main/java/emu/grasscutter/server/packet/send/PacketGetShopmallDataRsp.java
+
8
−
2
View file @
bd560785
...
...
@@ -4,13 +4,19 @@ import emu.grasscutter.net.packet.BasePacket;
import
emu.grasscutter.net.packet.PacketOpcodes
;
import
emu.grasscutter.net.proto.GetShopmallDataRspOuterClass.GetShopmallDataRsp
;
import
java.util.List
;
public
class
PacketGetShopmallDataRsp
extends
BasePacket
{
public
PacketGetShopmallDataRsp
()
{
super
(
PacketOpcodes
.
GetShopmallDataRsp
);
GetShopmallDataRsp
proto
=
GetShopmallDataRsp
.
newBuilder
().
build
();
List
<
Integer
>
shop_malls
=
List
.
of
(
900
,
1052
,
902
,
1001
,
903
);
GetShopmallDataRsp
proto
=
GetShopmallDataRsp
.
newBuilder
()
.
addAllShopTypeList
(
shop_malls
)
.
build
();
this
.
setData
(
proto
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment