Buy Furniture: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Arthur
Arthur moved page Add Furniture to Buy Furniture
imported>EDFan12345
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== About ==  
{{PacketInfobox
|title = Buy Furniture
|handler = g
|name = af
}}


This packet is sent by the client to the server requesting a furniture to be added to their furniture inventory.  
This packet is sent by the client to the server requesting a furniture to be added to their furniture inventory.  
If the client meets all the requirements to purchase the item, the server will send back the [[Buy Furniture]] packet,
If the client meets all the requirements to purchase the item, the server will send back the [[Buy Furniture]] packet.


== Examples ==
== Examples ==
{| class="wikitable"
{{Examples|client=%xt%s%g#af%1%51%|server=%xt%af%1%51%150%}}
| Client-side
| %xt%s%g#af%1%51%
|-
| Server-side
| %xt%af%1%51%150%
|}


== Structure ==
== Structure ==

Latest revision as of 17:31, 20 July 2015

Buy Furniture
Handler g
Name af

This packet is sent by the client to the server requesting a furniture to be added to their furniture inventory. If the client meets all the requirements to purchase the item, the server will send back the Buy Furniture packet.

Examples

Client side %xt%s%g#af%1%51%
Server side %xt%af%1%51%150%


Structure

Furniture ID Cost
51 150

Possible Errors

ID Description
402 Furniture not available
401 Not enough coins