1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2026-10-10 20:03:08 +08:00

Update CNetMessage vtable

This commit is contained in:
Pavel Djundik
2026-10-06 15:21:59 +03:00
committed by GAMMACASE
parent 7461bf07cd
commit dbaa500863
+2
View File
@@ -25,6 +25,8 @@ public:
virtual INetworkMessageInternal *GetNetMessage() const = 0;
virtual CNetMessage *CopyConstruct( const CNetMessage *other ) const = 0;
virtual NetworkMessageId GetMessageId() const = 0;
virtual const char *GetName() const = 0;
// Helper function to cast up the abstract message to a concrete CNetMessagePB<T> type.
// Doesn't do any validity checks itself!