infostream << "Failed to write " << path << std::endl;
}
- player->on_successful_save();
+ player->onSuccessfulSave();
}
bool PlayerDatabaseFiles::removePlayer(const std::string &name)
}
endSave();
- player->on_successful_save();
+ player->onSuccessfulSave();
}
bool PlayerDatabasePostgreSQL::loadPlayer(RemotePlayer *player, PlayerSAO *sao)
endSave();
- player->on_successful_save();
+ player->onSuccessfulSave();
}
bool PlayerDatabaseSQLite3::loadPlayer(RemotePlayer *player, PlayerSAO *sao)
return RPLAYER_CHATRESULT_OK;
}
-void RemotePlayer::on_successful_save()
+void RemotePlayer::onSuccessfulSave()
{
setModified(false);
if (m_sao)
void setPeerId(session_t peer_id) { m_peer_id = peer_id; }
- void on_successful_save();
+ void onSuccessfulSave();
private:
/*