mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 21:27:48 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <set>
|
||||
#include <stdarg.h>
|
||||
#include "format_string.h"
|
||||
|
||||
class CountersClient
|
||||
{
|
||||
static std::set<std::wstring> _events;
|
||||
std::string _url;
|
||||
simple_logger<wchar_t>* _logger;
|
||||
public:
|
||||
CountersClient(std::string baseUrl, std::string key, simple_logger<wchar_t>* logger);
|
||||
~CountersClient() {}
|
||||
|
||||
void registerEvent(std::wstring eventName, bool fireImmediately = true);
|
||||
void reportEvents();
|
||||
private:
|
||||
void reportEvents(std::set<std::wstring> &events);
|
||||
};
|
||||
Reference in New Issue
Block a user