mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-12-14 15:19:07 +00:00
Initial commit
This commit is contained in:
32
include/ServerInfo.php
Normal file
32
include/ServerInfo.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user