F4MP/codigos originales/tiltedcode/Code/server/Services/StringCacheService.h
2026-01-06 18:53:59 +01:00

20 lines
352 B
C++

#pragma once
struct UpdateEvent;
struct World;
/**
* @brief Handles string caching replication
*/
struct StringCacheService
{
StringCacheService(World& aWorld, entt::dispatcher& aDispatcher);
protected:
void HandleUpdate(const UpdateEvent&) const noexcept;
private:
World& m_world;
entt::scoped_connection m_updateConnection;
};