Skip to content

Commit

Permalink
Correct IConnectionlessPacketHandler inheritance to `CNetworkGameSe…
Browse files Browse the repository at this point in the history
…rverBase`
  • Loading branch information
Wend4r committed Feb 4, 2025
1 parent 80b2f00 commit 9e134c1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions public/iserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,14 @@ class CNetworkGameServerBase : public INetworkGameServer, protected IConnectionl
virtual ~CNetworkGameServerBase() = 0;

virtual void SetMaxClients( int nMaxClients ) = 0;

virtual void unk301() = 0;
virtual bool ProcessConnectionlessPacket( const ns_address *addr, bf_read *bf ) = 0; // process a connectionless packet

public: // IConnectionlessPacketHandler
virtual bool ProcessConnectionlessPacket( netpacket_t *packet ) = 0; // process a connectionless packet

private:
virtual bool unk301( const ns_address *addr, bf_read *bf ) = 0;

public:
virtual CPlayerUserId GetPlayerUserId( CPlayerSlot slot ) = 0;
virtual const char *GetPlayerNetworkIDString( CPlayerSlot slot ) = 0;

Expand Down

0 comments on commit 9e134c1

Please sign in to comment.