mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
Added original SDK code for Alien Swarm.
This commit is contained in:
19
engine/iblackbox.h
Normal file
19
engine/iblackbox.h
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef IBLACKBOX_H
|
||||
#define IBLACKBOX_H
|
||||
|
||||
#define BLACKBOX_INTERFACE_VERSION "BlackBoxVersion001"
|
||||
|
||||
class IBlackBox
|
||||
{
|
||||
public:
|
||||
virtual void Record(int type, const char *fmt) = 0;
|
||||
virtual void SetLimit(int type, unsigned int count) = 0;
|
||||
virtual const char *Get(int type, unsigned int index) = 0;
|
||||
virtual int Count(int type) = 0;
|
||||
virtual void Flush(int type) = 0;
|
||||
|
||||
virtual const char *GetTypeName(int type) = 0;
|
||||
virtual int GetTypeCount() = 0;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user