F4MP/codigos originales/tiltedcode/Code/client/Components/EarlyAnimationBufferComponent.h
2026-01-06 18:53:59 +01:00

17 lines
459 B
C

#pragma once
#ifndef TP_INTERNAL_COMPONENTS_GUARD
#error Include Components.h instead
#endif
#include <Structs/ActionEvent.h>
/**
* @brief `LocalAnimationComponent` is typically added several frames after the Actor
* has been spawned, causing some of the earliest actions to be missed and not sent
* over the network. `EarlyAnimationBufferComponent` takes care of this.
*/
struct EarlyAnimationBufferComponent
{
Vector<ActionEvent> Actions{};
};