From e12bb9886b5413f72a2d9cb6b5d2f52f1c133607 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 9 Oct 2018 03:57:40 -0400 Subject: [PATCH] expose scorekey to lua (for local scores) --- src/HighScore.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/HighScore.cpp b/src/HighScore.cpp index 52df8584f7..a00486eb4e 100644 --- a/src/HighScore.cpp +++ b/src/HighScore.cpp @@ -2121,6 +2121,7 @@ class LunaHighScore : public Luna DEFINE_METHOD(GetEtternaValid, GetEtternaValid()) DEFINE_METHOD(HasReplayData, HasReplayData()) DEFINE_METHOD(GetChartKey, GetChartKey()) + DEFINE_METHOD(GetScoreKey, GetScoreKey()) DEFINE_METHOD(GetReplayType, GetReplayType()) DEFINE_METHOD(GetDisplayName, GetDisplayName()) LunaHighScore() @@ -2163,6 +2164,7 @@ class LunaHighScore : public Luna ADD_METHOD(GetDisplayName); ADD_METHOD(GetUserid); ADD_METHOD(GetScoreid); + ADD_METHOD(GetScoreKey); ADD_METHOD(GetAvatar); } };