[CryptManager] Add GenerateRandomUUID() Lua binding.
This commit is contained in:
@@ -18,6 +18,7 @@ StepMania 5.0 $next | 2011????
|
|||||||
and GetPopularCourses(courseType) Lua bindings. [AJ]
|
and GetPopularCourses(courseType) Lua bindings. [AJ]
|
||||||
* [SongManager] Add SongToPreferredSortSectionName(song), WasLoadedFromAdditionalSongs(song),
|
* [SongManager] Add SongToPreferredSortSectionName(song), WasLoadedFromAdditionalSongs(song),
|
||||||
and WasLoadedFromAdditionalCourses(course) Lua bindings. [AJ]
|
and WasLoadedFromAdditionalCourses(course) Lua bindings. [AJ]
|
||||||
|
* [CryptManager] Add GenerateRandomUUID() Lua binding. [AJ]
|
||||||
|
|
||||||
2011/08/23
|
2011/08/23
|
||||||
----------
|
----------
|
||||||
|
|||||||
@@ -479,6 +479,13 @@ public:
|
|||||||
lua_pushstring( L, sha1fout );
|
lua_pushstring( L, sha1fout );
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
static int GenerateRandomUUID( T* p, lua_State *L )
|
||||||
|
{
|
||||||
|
RString uuidOut;
|
||||||
|
uuidOut = p->GenerateRandomUUID();
|
||||||
|
lua_pushstring( L, uuidOut );
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
LunaCryptManager()
|
LunaCryptManager()
|
||||||
{
|
{
|
||||||
@@ -486,6 +493,7 @@ public:
|
|||||||
ADD_METHOD( MD5File );
|
ADD_METHOD( MD5File );
|
||||||
ADD_METHOD( SHA1String );
|
ADD_METHOD( SHA1String );
|
||||||
ADD_METHOD( SHA1File );
|
ADD_METHOD( SHA1File );
|
||||||
|
ADD_METHOD( GenerateRandomUUID );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user