mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 10:20:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			508 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			508 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <scwx/awips/message.hpp>
 | |
| 
 | |
| #include <cstdint>
 | |
| #include <memory>
 | |
| 
 | |
| namespace scwx
 | |
| {
 | |
| namespace wsr88d
 | |
| {
 | |
| namespace rpg
 | |
| {
 | |
| 
 | |
| class Packet : public awips::Message
 | |
| {
 | |
| protected:
 | |
|    explicit Packet();
 | |
| 
 | |
|    Packet(const Packet&) = delete;
 | |
|    Packet& operator=(const Packet&) = delete;
 | |
| 
 | |
|    Packet(Packet&&) noexcept;
 | |
|    Packet& operator=(Packet&&) noexcept;
 | |
| 
 | |
| public:
 | |
|    virtual ~Packet();
 | |
| 
 | |
|    virtual uint16_t packet_code() const = 0;
 | |
| };
 | |
| 
 | |
| } // namespace rpg
 | |
| } // namespace wsr88d
 | |
| } // namespace scwx
 | 
