mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 17:10:54 +01:00
20 lines
352 B
C++
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;
|
|
};
|