mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-04-10 14:26:44 +00:00
32 lines
497 B
PHP
32 lines
497 B
PHP
<?php
|
|
|
|
class ServerInfo
|
|
{
|
|
|
|
public $token;
|
|
|
|
public $username;
|
|
|
|
public $address;
|
|
|
|
public $tickLength;
|
|
|
|
public $serverName;
|
|
|
|
/**
|
|
* ServerInfo constructor.
|
|
* @param $token
|
|
* @param $username
|
|
*/
|
|
public function __construct($token, $username)
|
|
{
|
|
$this->token = $token;
|
|
$this->username = $username;
|
|
|
|
$this->address = MAR_ADDRESS;
|
|
$this->serverName = MAR_SERVER_NAME;
|
|
$this->tickLength = MAR_TICK_LENGTH;
|
|
}
|
|
|
|
|
|
} |