add Asset dep to placelauncher

This commit is contained in:
Astrologies 2021-12-21 03:24:47 -05:00
parent 309f1df376
commit 36c02e73d2
1 changed files with 1 additions and 2 deletions

View File

@ -72,8 +72,7 @@ function genToken($jobid) {
function StartServer($gid)
{
$gameInfo = getAssetInfo($gid);
$jobuuid = genJobId(); //generate a UUID for the job
$gameInfo = Asset::GetAssetInfo($gid);
$jobuuid = Game::GenerateJobId(); //generate a UUID for the job
$ip = $GLOBALS['gameMachine']; //IP address of the gameserver machine
$port = Game::AllocatePort(); //generate an available port for the gameserver