mirror of
				https://github.com/diamante0018/MW3ProtocolExploit.git
				synced 2025-11-04 03:07:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			649 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			649 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#define INFO_MAX_DATA 2048
 | 
						|
 | 
						|
#pragma pack(1)
 | 
						|
 | 
						|
typedef struct
 | 
						|
{
 | 
						|
	uint32_t magic4CC;
 | 
						|
	uint32_t timeStamp;
 | 
						|
} serverQuery_t;
 | 
						|
 | 
						|
typedef struct
 | 
						|
{
 | 
						|
	uint32_t magic4CC;
 | 
						|
	uint32_t timeStamp;
 | 
						|
	int32_t players;
 | 
						|
	int32_t maxPlayers;
 | 
						|
	bool bPasswordProtected;
 | 
						|
	uint32_t bDedicated;
 | 
						|
	int32_t serverVersion;
 | 
						|
	uint64_t SteamId;
 | 
						|
	uint32_t gameIP_int;
 | 
						|
	uint32_t gameIP_ext;
 | 
						|
	uint16_t gamePort;
 | 
						|
	uint16_t queryPort;
 | 
						|
	uint16_t netPort;
 | 
						|
	char secID[8];
 | 
						|
	char secKey[16];
 | 
						|
	uint16_t mapName_ptr;
 | 
						|
	uint16_t serverName_ptr;
 | 
						|
	uint16_t serverTags_ptr;
 | 
						|
	uint16_t serverInfos_ptr;
 | 
						|
	uint16_t rawDataSize;
 | 
						|
	char rawData[INFO_MAX_DATA];
 | 
						|
 | 
						|
} serverInfo_t;
 | 
						|
 | 
						|
#pragma pack()
 |