mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-10-26 18:11:59 +00:00 
			
		
		
		
	 6389876c6e
			
		
	
	6389876c6e
	
	
	
		
			
			* feat: convert character ids to 64 bits remove all usages of the PERSISTENT bit with regards to storing of playerIDs on the server. the bit does not exist and was a phantom in the first place. Tested that a full playthrough of ag, ns and gf was still doable. slash commands work, ugc works, friends works, ignore list works, properties work and have names, teaming works. migrating an old mysql database works . need to test an old sqlite database * fix sqlite migration * remove nd specific column migration
		
			
				
	
	
		
			21 lines
		
	
	
		
			474 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			474 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef __IIGNORELIST__H__
 | |
| #define __IIGNORELIST__H__
 | |
| 
 | |
| #include <cstdint>
 | |
| #include <string>
 | |
| #include <vector>
 | |
| 
 | |
| class IIgnoreList {
 | |
| public:
 | |
| 	struct Info {
 | |
| 		std::string name;
 | |
| 		LWOOBJID id;
 | |
| 	};
 | |
| 
 | |
| 	virtual std::vector<Info> GetIgnoreList(const LWOOBJID playerId) = 0;
 | |
| 	virtual void AddIgnore(const LWOOBJID playerId, const LWOOBJID ignoredPlayerId) = 0;
 | |
| 	virtual void RemoveIgnore(const LWOOBJID playerId, const LWOOBJID ignoredPlayerId) = 0;
 | |
| };
 | |
| 
 | |
| #endif  //!__IIGNORELIST__H__
 |