1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-15 22:57:12 +02:00

Implement stream for official plug-in compatibility layer.

This commit is contained in:
Sandu Liviu Catalin
2021-03-20 16:56:44 +02:00
parent 1297635b89
commit 49eaedbb4b
3 changed files with 168 additions and 0 deletions

View File

@ -2252,6 +2252,7 @@ void Core::EmitClientScriptData(int32_t player_id, const uint8_t * data, size_t
#ifdef VCMP_ENABLE_OFFICIAL
if (IsOfficial())
{
LgStreamLoadInput(data, size);
ExecuteLegacyEvent(m_VM, _SC("onClientScriptData"), _player.mLgObj);
}
#endif