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,28 @@
# C1 3C - TradeButtonStateChanged (by server)
## Is sent when
After the trading partner checked or unchecked the trade accept button.
## Causes the following actions on the client side
The game client updates the trade button state accordingly.
## 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 | 0x3C | Packet header - packet type identifier |
| 3 | 1 | TradeButtonState | | State |
### TradeButtonState Enum
Defines the state of the trade button.
| Value | Name | Description |
|-------|------|-------------|
| 0 | Unchecked | Trade button is not pressed. It means that the trade is not yet accepted by the trader. |
| 1 | Checked | Trade Button is pressed. It means that the trade is accepted by the trader. |
| 2 | Red | This state is only sent to the client. After some seconds the client is changing back to normal Unchecked. |