mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 17:56:47 +00:00 
			
		
		
		
	[Server] Add kicked load status
This commit is contained in:
		
							parent
							
								
									e5e13b21ae
								
							
						
					
					
						commit
						3101de5f02
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -51,7 +51,8 @@ public: | |||
|     { | ||||
|         NOTLOADED=0, | ||||
|         LOADED, | ||||
|         POSTLOADED | ||||
|         POSTLOADED, | ||||
|         KICKED | ||||
|     }; | ||||
|     Player(RakNet::RakNetGUID guid); | ||||
| 
 | ||||
|  |  | |||
|  | @ -21,6 +21,7 @@ void ServerFunctions::Kick(unsigned short pid) noexcept | |||
| 
 | ||||
|     LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Kicking player %s (%i)", player->npc.mName.c_str(), player->getId()); | ||||
|     mwmp::Networking::getPtr()->kickPlayer(player->guid); | ||||
|     player->setLoadState(Player::KICKED); | ||||
| } | ||||
| 
 | ||||
| void ServerFunctions::BanAddress(const char *ipAddress) noexcept | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue