mirror of
				https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
				synced 2025-11-04 01:27:46 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			346 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			346 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include <fw/singleton.h>
 | 
						|
 | 
						|
namespace d2_tweaks {
 | 
						|
	namespace common {
 | 
						|
		struct packet_header;
 | 
						|
 | 
						|
		class common : public singleton<common> {
 | 
						|
		public:
 | 
						|
			explicit common(token);
 | 
						|
 | 
						|
			void init();
 | 
						|
 | 
						|
			bool get_packet_size_cs(packet_header* packet, size_t& size);
 | 
						|
			bool get_packet_size_sc(packet_header* packet, size_t& size);
 | 
						|
		};
 | 
						|
	}
 | 
						|
} |