Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
References
Module | NetworkPrediction |
Header | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionBuffer.h |
Include | #include "NetworkPredictionBuffer.h" |
Syntax
template<typename ElementType, bool SingleElement>
struct TNetworkPredictionBuffer
Remarks
Circular buffer for storing continuous frame data.
Specializations
TNetworkPredictionBuffer< ElementType, true >
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TNetworkPredictionBuffer
(
int32 Capacity |
||
![]() |
TNetworkPredictionBuffer
(
const TNetworkPredictionBuffer< ElementType, SingleElement >&& Other |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
int32 | Capacity () |
|
![]() |
void | Resize
(
int32 NewSize, |
Resizes while preserving contents from head position. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
ElementType & | operator[]
(
int32 Index |
|
![]() ![]() |
const ElementType & | operator[]
(
int32 Index |
|
![]() |
TNetworkPredictionBuffer< ElementType, SingleElement > & | operator=
(
TNetworkPredictionBuffer< ElementType, SingleElement >&& Other |