mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-30 22:17:13 +02:00
Implement option to retrieve the manager associated with a command and the number of commands managed by a manager.
This commit is contained in:
@ -1024,6 +1024,7 @@ void Register(HSQUIRRELVM vm)
|
||||
.SquirrelFunc(_SC("_typename"), &Manager::Typename)
|
||||
.Func(_SC("_tostring"), &Manager::ToString)
|
||||
// Member Properties
|
||||
.Prop(_SC("Count"), &Manager::GetCount)
|
||||
.Prop(_SC("IsContext"), &Manager::IsContext)
|
||||
.Prop(_SC("OnFail"), &Manager::GetOnFail)
|
||||
.Prop(_SC("OnFail"), &Manager::GetOnFail)
|
||||
@ -1067,6 +1068,7 @@ void Register(HSQUIRRELVM vm)
|
||||
.Func(_SC("_tostring"), &Listener::ToString)
|
||||
// Member Properties
|
||||
.Prop(_SC("Attached"), &Listener::Attached)
|
||||
.Prop(_SC("Manager"), &Listener::GetManager)
|
||||
.Prop(_SC("Name"), &Listener::GetName, &Listener::SetName)
|
||||
.Prop(_SC("Spec"), &Listener::GetSpec, &Listener::SetSpec)
|
||||
.Prop(_SC("Specifier"), &Listener::GetSpec, &Listener::SetSpec)
|
||||
|
Reference in New Issue
Block a user