added "Tracks" param to judgment message

which contains a list of all tracks included in the judgment
This commit is contained in:
sigatrev
2014-05-06 17:56:51 -05:00
parent 612a3d1f73
commit d608953da7
3 changed files with 29 additions and 3 deletions
+9
View File
@@ -125,6 +125,15 @@ struct Message
LUA->Release( L );
}
template<typename T>
void SetParam( const RString &sName, const vector<T> &val )
{
Lua *L = LUA->Get();
LuaHelpers::CreateTableFromArray( val, L );
SetParamFromStack( L , sName );
LUA->Release( L );
}
bool operator==( const RString &s ) const { return m_sName == s; }
bool operator==( MessageID id ) const { return MessageIDToString(id) == m_sName; }