aboutsummaryrefslogtreecommitdiffstats
path: root/inc/craftmine.inc
blob: 0d6a4452dffaa190478dd778bed2bd09a918dc0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

require_once("mine.inc");
require_once("shop.inc");
require_once("dungeon.inc");

function sendCraftMine() {
	$data = array("gold" => sendMine(),
		"shop" => sendShop(),
		"inventory" => Inventory::sendContent(),
		"miners" => sendMiners(),
		"dungeon" => sendDungeon(),
	);
	echo json_encode($data);
}

?>