mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 15:47:46 +00:00
Added fmt for sendNotice and sendUrgent, have not ported appearances yet
This commit is contained in:
parent
7f00c34f90
commit
f7fa30101a
1 changed files with 10 additions and 0 deletions
|
@ -760,8 +760,18 @@ namespace Sapphire::Entity
|
||||||
uint8_t getSearchSelectClass() const;
|
uint8_t getSearchSelectClass() const;
|
||||||
|
|
||||||
void sendNotice( const std::string& message );
|
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 );
|
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 );
|
void sendDebug( const std::string& message );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue