26 lines
611 B
C++
26 lines
611 B
C++
#pragma once
|
|
|
|
#include "Configuration.h"
|
|
#include "Patches.h"
|
|
#include "Helpers.h"
|
|
|
|
#ifdef SERVER
|
|
|
|
void InitializeOutput();
|
|
|
|
typedef void(__thiscall* StandardOut__print_t)(int _this, int type, std::string* message);
|
|
void __fastcall StandardOut__print_hook(int _this, void*, int type, std::string* message);
|
|
extern StandardOut__print_t StandardOut__print;
|
|
|
|
extern std::string httpLogPath;
|
|
extern std::string stdoutLogPath;
|
|
|
|
extern std::ofstream httpLog;
|
|
extern std::ofstream stdoutLog;
|
|
|
|
#define RBX__MESSAGE_INFO 0
|
|
#define RBX__MESSAGE_OUTPUT 1
|
|
#define RBX__MESSAGE_WARNING 2
|
|
#define RBX__MESSAGE_ERROR 3
|
|
|
|
#endif |