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

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

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

?>