Skip to content

Commit

Permalink
Wrap delimited trade_item arrays with required <chunked> element
Browse files Browse the repository at this point in the history
  • Loading branch information
Cirras committed Oct 12, 2024
1 parent d59a807 commit 0e58893
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions xml/net/server/protocol.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2236,17 +2236,23 @@

<packet family="Trade" action="Reply">
<comment>Trade updated (items changed)</comment>
<array name="trade_data" type="TradeItemData" length="2" delimited="true"/>
<chunked>
<array name="trade_data" type="TradeItemData" length="2" delimited="true"/>
</chunked>
</packet>

<packet family="Trade" action="Admin">
<comment>Trade updated (items changed while trade was accepted)</comment>
<array name="trade_data" type="TradeItemData" length="2" delimited="true"/>
<chunked>
<array name="trade_data" type="TradeItemData" length="2" delimited="true"/>
</chunked>
</packet>

<packet family="Trade" action="Use">
<comment>Trade completed</comment>
<array name="trade_data" type="TradeItemData" length="2" delimited="true"/>
<chunked>
<array name="trade_data" type="TradeItemData" length="2" delimited="true"/>
</chunked>
</packet>

<packet family="Trade" action="Spec">
Expand Down

0 comments on commit 0e58893

Please sign in to comment.