mirror of
				https://github.com/simon987/Much-Assembly-Required-Frontend.git
				synced 2025-10-30 10:46:53 +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;
 | |
|     }
 | |
| 
 | |
| 
 | |
| } |