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:
@ -90,6 +90,12 @@ void CmdManager::SetOnAuth(Function & func)
|
||||
m_OnAuth = func;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
SQInt32 CmdManager::GetInvokerID()
|
||||
{
|
||||
return m_Invoker;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
const SQChar * CmdManager::GetName()
|
||||
{
|
||||
|
Reference in New Issue
Block a user