add Asset dep to placelauncher
This commit is contained in:
parent
309f1df376
commit
36c02e73d2
|
|
@ -72,8 +72,7 @@ function genToken($jobid) {
|
||||||
|
|
||||||
function StartServer($gid)
|
function StartServer($gid)
|
||||||
{
|
{
|
||||||
$gameInfo = getAssetInfo($gid);
|
$gameInfo = Asset::GetAssetInfo($gid);
|
||||||
$jobuuid = genJobId(); //generate a UUID for the job
|
|
||||||
$jobuuid = Game::GenerateJobId(); //generate a UUID for the job
|
$jobuuid = Game::GenerateJobId(); //generate a UUID for the job
|
||||||
$ip = $GLOBALS['gameMachine']; //IP address of the gameserver machine
|
$ip = $GLOBALS['gameMachine']; //IP address of the gameserver machine
|
||||||
$port = Game::AllocatePort(); //generate an available port for the gameserver
|
$port = Game::AllocatePort(); //generate an available port for the gameserver
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue