F4MP/codigos originales/tiltedcode/Code/server/Services/StringCacheService.h

21 lines
352 B
C
Raw Normal View History

#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;
};