Files
AdamuSw/docs/Packets/C2-20-MoneyDropped_by-server.md
2026-07-14 19:00:35 +03:00

943 B

C2 20 - MoneyDropped (by server)

Is sent when

Money dropped on the ground.

Causes the following actions on the client side

The client adds the money to the ground.

Structure

Index Length Data Type Value Description
0 1 Byte 0xC2 Packet type
1 2 Short 21 Packet header - length of the packet
3 1 Byte 0x20 Packet header - packet type identifier
4 1 Byte 1 ItemCount
5 2 ShortBigEndian Id
5 << 7 1 bit Boolean IsFreshDrop; If this flag is set, the money is added to the map with an animation and sound. Otherwise it's just added like it was already on the ground before.
7 1 Byte PositionX
8 1 Byte PositionY
9 1 Byte 15 MoneyNumber
10 4 IntegerLittleEndian Amount
14 1 Byte 14 MoneyGroup