mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-05 03:17:09 +01:00
Return entity instance instead of object.
Implement helper entity iteration functions.
This commit is contained in:
1 parent
45c857f439
commit
26cb65fcbc
10 files changed
+124
-64
No files matched your search
@@ -70,10 +70,10 @@ void Core::EmitCheckpointCreated(int32_t checkpoint, int32_t header, LightObj &
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void Core::EmitKeyBindCreated(int32_t keybind, int32_t header, LightObj & payload)
|
||||
void Core::EmitKeyBindCreated(int32_t key_bind, int32_t header, LightObj & payload)
|
||||
{
|
||||
SQMOD_CO_EV_TRACEBACK("[TRACE<] Core::KeyBindCreated(%d, %d, %s)", keybind, header, NULL_SQOBJ_(payload))
|
||||
(*mOnKeyBindCreated.first)(m_KeyBinds.at(static_cast< size_t >(keybind)).mObj, header, payload);
|
||||
(*mOnKeyBindCreated.first)(m_KeyBinds.at(static_cast< size_t >(key_bind)).mObj, header, payload);
|
||||
SQMOD_CO_EV_TRACEBACK("[TRACE>] Core::KeyBindCreated")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user