Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
457 B

  1. #ifndef IBLACKBOX_H
  2. #define IBLACKBOX_H
  3. #define BLACKBOX_INTERFACE_VERSION "BlackBoxVersion001"
  4. class IBlackBox
  5. {
  6. public:
  7. virtual void Record(int type, const char *fmt) = 0;
  8. virtual void SetLimit(int type, unsigned int count) = 0;
  9. virtual const char *Get(int type, unsigned int index) = 0;
  10. virtual int Count(int type) = 0;
  11. virtual void Flush(int type) = 0;
  12. virtual const char *GetTypeName(int type) = 0;
  13. virtual int GetTypeCount() = 0;
  14. };
  15. #endif