more const and views

This commit is contained in:
EmosewaMC
2023-05-30 04:23:48 -07:00
parent 7b1626901a
commit f5f599764d
4 changed files with 11 additions and 21 deletions

View File

@@ -72,7 +72,7 @@ public:
/**
* Sends the leaderboard to the client specified by targetID.
*/
void Send(LWOOBJID targetID);
void Send(const LWOOBJID targetID) const;
// Helper functions to get the columns, ordering and insert format for a leaderboard
static const std::string_view GetColumns(Type leaderboardType);