aixxe 66f7ff9b8e Add externs to interface and class headers.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-20 20:09:50 +00:00

14 lines
520 B
C++

#pragma once
class ICvar {
public:
template <typename... Values> void ConsoleColorPrintf(const Color& MsgColor, const char* Format, Values... Parameters) {
return GetVirtualFunction<void(*)(ICvar*, const Color&, const char*, ...)>(this, 23)(this, MsgColor, Format, Parameters...);
}
template <typename... Values> void ConsoleDPrintf(const char* Format, Values... Parameters) {
return GetVirtualFunction<void(*)(ICvar*, const char*, ...)>(this, 24)(this, Format, Parameters...);
}
};
extern ICvar* cvar;