1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00

add todo note

This commit is contained in:
Adam 2018-02-15 19:44:54 +11:00
parent 0d8a2aaf8c
commit 6864f217a7

View file

@ -313,6 +313,8 @@ bool Core::Entity::Player::loadSearchInfo()
m_searchSelectClass = res->getUInt8( 1 ); m_searchSelectClass = res->getUInt8( 1 );
m_searchSelectRegion = res->getUInt8( 2 ); m_searchSelectRegion = res->getUInt8( 2 );
// todo: internally use an std::string instead of a char[]
auto searchMessage = res->getString( 3 ); auto searchMessage = res->getString( 3 );
std::copy( searchMessage.begin(), searchMessage.end(), m_searchMessage ); std::copy( searchMessage.begin(), searchMessage.end(), m_searchMessage );