mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Update to IPlayerInfo and INetMsgHandler (bug 4372).
This commit is contained in:
@ -124,6 +124,7 @@ public:
|
|||||||
|
|
||||||
// various player flags
|
// various player flags
|
||||||
virtual bool IsHLTV() = 0;
|
virtual bool IsHLTV() = 0;
|
||||||
|
virtual bool IsReplay() = 0;
|
||||||
virtual bool IsPlayer() = 0;
|
virtual bool IsPlayer() = 0;
|
||||||
virtual bool IsFakeClient() = 0;
|
virtual bool IsFakeClient() = 0;
|
||||||
virtual bool IsDead() = 0;
|
virtual bool IsDead() = 0;
|
||||||
|
@ -39,6 +39,8 @@ public:
|
|||||||
virtual void FileReceived(const char *fileName, unsigned int transferID) = 0; // we received a file
|
virtual void FileReceived(const char *fileName, unsigned int transferID) = 0; // we received a file
|
||||||
|
|
||||||
virtual void FileDenied(const char *fileName, unsigned int transferID) = 0; // a file request was denied by other side
|
virtual void FileDenied(const char *fileName, unsigned int transferID) = 0; // a file request was denied by other side
|
||||||
|
|
||||||
|
virtual void FileSent(const char *fileName, unsigned int transferID) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define PROCESS_NET_MESSAGE( name ) \
|
#define PROCESS_NET_MESSAGE( name ) \
|
||||||
|
Reference in New Issue
Block a user