1
0

Renamed GetAllPlayers() to GetAllPlayerUUIDs()

This commit is contained in:
Howaner
2014-09-29 14:43:16 +02:00
parent 347402d20d
commit ff3a3b801d
3 changed files with 7 additions and 7 deletions

View File

@@ -204,11 +204,11 @@ static int tolua_cRankManager_GetAllPermissions(lua_State * L)
/** Binds cRankManager::GetAllPlayers */
static int tolua_cRankManager_GetAllPlayers(lua_State * L)
/** Binds cRankManager::GetAllPlayerUUIDs */
static int tolua_cRankManager_GetAllPlayerUUIDs(lua_State * L)
{
// Function signature:
// cRankManager:GetAllPlayers() -> arraytable of Player UUID's
// cRankManager:GetAllPlayerUUIDs() -> arraytable of Player UUID's
cLuaState S(L);
if (
@@ -220,7 +220,7 @@ static int tolua_cRankManager_GetAllPlayers(lua_State * L)
}
// Get the player uuid's:
AStringVector Players = cRoot::Get()->GetRankManager().GetAllPlayers();
AStringVector Players = cRoot::Get()->GetRankManager().GetAllPlayerUUIDs();
// Push the results:
S.Push(Players);
@@ -1055,7 +1055,7 @@ void ManualBindings::BindRankManager(lua_State * tolua_S)
tolua_function(tolua_S, "ClearPlayerRanks", tolua_cRankManager_ClearPlayerRanks);
tolua_function(tolua_S, "GetAllGroups", tolua_cRankManager_GetAllGroups);
tolua_function(tolua_S, "GetAllPermissions", tolua_cRankManager_GetAllPermissions);
tolua_function(tolua_S, "GetAllPlayers", tolua_cRankManager_GetAllPlayers);
tolua_function(tolua_S, "GetAllPlayerUUIDs", tolua_cRankManager_GetAllPlayerUUIDs);
tolua_function(tolua_S, "GetAllRanks", tolua_cRankManager_GetAllRanks);
tolua_function(tolua_S, "GetDefaultRank", tolua_cRankManager_GetDefaultRank);
tolua_function(tolua_S, "GetGroupPermissions", tolua_cRankManager_GetGroupPermissions);