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
7cb4c9fe
Commit
7cb4c9fe
authored
Jun 27, 2022
by
GanyusLeftHorn
Committed by
Melledy
Jun 26, 2022
Browse files
Remove comments
parent
0c8db8f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/packet/send/PacketTakeBattlePassRewardRsp.java
View file @
7cb4c9fe
...
...
@@ -12,21 +12,6 @@ import emu.grasscutter.server.game.GameSession;
import
java.util.List
;
public
class
PacketTakeBattlePassRewardRsp
extends
BasePacket
{
/*public PacketTakeBattlePassRewardRsp(List<BattlePassRewardTakeOption> takeOptionList, List<ItemParamData> rewardItems) {
super(PacketOpcodes.TakeBattlePassRewardRsp);
var proto = TakeBattlePassRewardRsp.newBuilder()
.addAllTakeOptionList(takeOptionList);
if (rewardItems != null) {
for (ItemParamData param : rewardItems) {
proto.addItemList(ItemParam.newBuilder().setItemId(param.getItemId()).setCount(param.getCount()));
}
}
setData(proto);
}*/
public
PacketTakeBattlePassRewardRsp
(
List
<
BattlePassRewardTakeOption
>
takeOptionList
,
List
<
GameItem
>
rewardItems
)
{
super
(
PacketOpcodes
.
TakeBattlePassRewardRsp
);
...
...
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