7 Years Ago
If you can afford an item, clicking unlock now sends request to server. Server unlocks items if the player record has enough currency, sends success or fail response message and new currency balance. Unlocked items get added to playerrecord id list.