diff options
author | piernov <piernov@piernov.org> | 2016-04-24 22:30:43 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-04-24 22:30:43 +0200 |
commit | 64e92bb7b10bf521aa2992d20c243c41573e0ee8 (patch) | |
tree | 81eeb7a7502ed3e8e40cd2e434a462d5d13581f1 /inc/craftmine.inc | |
parent | a7d9febaba01a5f32ff77dade8f4fa1e97870354 (diff) | |
parent | bc8e1117591e22a2ec850ce34358abadf950d87e (diff) | |
download | candybox-64e92bb7b10bf521aa2992d20c243c41573e0ee8.tar.gz candybox-64e92bb7b10bf521aa2992d20c243c41573e0ee8.tar.bz2 candybox-64e92bb7b10bf521aa2992d20c243c41573e0ee8.tar.xz candybox-64e92bb7b10bf521aa2992d20c243c41573e0ee8.zip |
Merge branch 'feat/shop' into piernov
Diffstat (limited to 'inc/craftmine.inc')
-rw-r--r-- | inc/craftmine.inc | 14 |
1 files changed, 14 insertions, 0 deletions
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 @@ +<?php + +require_once("mine.inc"); +require_once("shop.inc"); + +function sendCraftMine() { + $data = array("gold" => sendMine(), + "shop" => sendShop(), + "inventory" => Inventory::sendContent(), + ); + echo json_encode($data); +} + +?> |