baseline: OpenMU upstream b5a0961 (fresh source)

This commit is contained in:
Acentech Dev
2026-07-14 19:00:35 +03:00
parent 450402e47d
commit 36fc125d5c
11968 changed files with 748705 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# C1 3D - TradeFinished (by server)
## Is sent when
A trade was finished.
## Causes the following actions on the client side
The trade dialog is closed. Depending on the result, a message is shown.
## Structure
| Index | Length | Data Type | Value | Description |
|-------|--------|-----------|-------|-------------|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
| 1 | 1 | Byte | 4 | Packet header - length of the packet |
| 2 | 1 | Byte | 0x3D | Packet header - packet type identifier |
| 3 | 1 | TradeResult | | Result |
### TradeResult Enum
Defines the result of a finished trade.
| Value | Name | Description |
|-------|------|-------------|
| 0 | Cancelled | The trade was cancelled. |
| 1 | Success | The trade was successful. |
| 2 | FailedByFullInventory | The trade failed because of a full inventory. |
| 3 | TimedOut | The trade failed because the request timed out. |
| 4 | FailedByItemsNotAllowedToTrade | The trade failed because one or more items were not allowed to trade. |