Fix compile errors

This belongs to commit 8550d7a8.
This commit is contained in:
Kawe Mazidjatari 2023-02-15 20:46:37 +01:00
parent 1d82fd4903
commit 559f15a459
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@
#pragma once
#include "tier1/bitbuf.h"
#include "public/inetchannel.h"
#include "public/inetmessage.h"
#include "public/inetmsghandler.h"

View File

@ -5,6 +5,7 @@
#define FLOW_OUTGOING 0
#define FLOW_INCOMING 1
#define MAX_FLOWS 2 // in & out
#include "tier1/NetAdr.h"
class IClientMessageHandler
{
@ -38,7 +39,7 @@ class INetChannelHandler
{
public:
virtual ~INetChannelHandler(void) = 0;
virtual void*ConnectionStart(INetChannel* chan) = 0;
virtual void*ConnectionStart(INetChannelHandler* chan) = 0;
virtual void ConnectionClosing(const char* reason, int unk) = 0;
virtual void ConnectionCrashed(const char* reason) = 0;
virtual void PacketStart(int incoming_sequence, int outgoing_acknowledged) = 0;