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