mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:20:54 +01:00
18 lines
367 B
C
18 lines
367 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
struct World;
|
||
|
|
struct Actor;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief Used to cache data to compare against the current data.
|
||
|
|
*
|
||
|
|
* This prevents an unnecessary amount of data usage.
|
||
|
|
*/
|
||
|
|
struct CacheSystem
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @brief Sets up the cache for the relevant systems per actor.
|
||
|
|
*/
|
||
|
|
static void Setup(World& aWorld, entt::entity aEntity, Actor* apActor) noexcept;
|
||
|
|
};
|