From bd688fc969dfdda43e180db17095733d6f63da56 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 24 Apr 2016 22:17:13 +0200 Subject: Send gold, shop and inventory infos from PHP all at once when requested on loading by client --- inc/craftmine.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 inc/craftmine.inc (limited to 'inc/craftmine.inc') diff --git a/inc/craftmine.inc b/inc/craftmine.inc new file mode 100644 index 0000000..a30538c --- /dev/null +++ b/inc/craftmine.inc @@ -0,0 +1,14 @@ + sendMine(), + "shop" => sendShop(), + "inventory" => Inventory::sendContent(), + ); + echo json_encode($data); +} + +?> -- cgit v1.2.3-70-g09d2