1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-06 18:57:45 +00:00

Added fmt for sendNotice and sendUrgent, have not ported appearances yet

This commit is contained in:
Mordred 2019-01-05 14:53:42 +01:00
parent b0ab052bd4
commit 24cbff7c7e

View file

@ -760,8 +760,18 @@ namespace Sapphire::Entity
uint8_t getSearchSelectClass() const;
void sendNotice( const std::string& message );
template< typename... Args >
void sendNotice( const std::string& message, const Args&... args )
{
sendNotice( fmt::format( message, args... ) );
}
void sendUrgent( const std::string& message );
template< typename... Args >
void sendUrgent( const std::string& message, const Args&... args )
{
sendUrgent( fmt::format( message, args... ) );
}
void sendDebug( const std::string& message );