mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-09-18 07:48:04 +02:00
Partial CNetChan class rebuild and implementation (see description)
* Adapt codebase to new class to reduce rune-like code. * Fixed several bugs where the global CClient pointer was used instead of the instance in question to issue bans and display information about a certain client in CBanSystem and Pylon. * Upgraded CBanSystem and Pylon to use IPv6 instead (including IPv4 mapped IPv6 addresses). This breaks all existing banlist files! All bans have to be re-issued or the existing file has to be updated to use IPv4 mapped IPv6 addresses and renamed to 'banlist.json', and moved to the root of the 'platform' folder.
This commit is contained in:
@@ -144,7 +144,7 @@ void Systems_Init()
|
||||
#endif // DEDICATED || GAMEDLL_S3
|
||||
//CModelLoader_Attach();
|
||||
|
||||
CNetChan_Attach();
|
||||
NET_Attach();
|
||||
ConCommand_Attach();
|
||||
IConVar_Attach();
|
||||
CKeyValueSystem_Attach();
|
||||
@@ -245,7 +245,7 @@ void Systems_Shutdown()
|
||||
#endif // DEDICATED || GAMEDLL_S3
|
||||
//CModelLoader_Detach();
|
||||
|
||||
CNetChan_Detach();
|
||||
NET_Detach();
|
||||
ConCommand_Detach();
|
||||
IConVar_Detach();
|
||||
CKeyValueSystem_Detach();
|
||||
|
@@ -64,6 +64,10 @@
|
||||
#include "tier0/platform.h"
|
||||
#include "common/pseudodefs.h"
|
||||
|
||||
// Common type declarations to reduce code verbosity.
|
||||
using std::string;
|
||||
using std::vector;
|
||||
|
||||
#if !defined(SDKLAUNCHER) && !defined (NETCONSOLE)
|
||||
namespace
|
||||
{
|
||||
|
Reference in New Issue
Block a user