1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-30 22:17:13 +02:00

Added a member function in command manager to retrieve the last invoker.

This commit is contained in:
Sandu Liviu Catalin
2015-11-08 12:36:23 +02:00
parent b05b8f3859
commit e41581a0e3
2 changed files with 46 additions and 8 deletions

View File

@ -90,6 +90,12 @@ void CmdManager::SetOnAuth(Function & func)
m_OnAuth = func;
}
// ------------------------------------------------------------------------------------------------
SQInt32 CmdManager::GetInvokerID()
{
return m_Invoker;
}
// ------------------------------------------------------------------------------------------------
const SQChar * CmdManager::GetName()
{