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>
struct TNetworkSimAuxBuffer
Remarks
Sparse buffer: each element has explicit Frame value.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TNetworkSimAuxBuffer
(
int32 Capacity |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TNetSimLazyWriterFunc< ElementType > | LazyWriter
(
int32 Frame |
||
| void | Resize
(
int32 NewSize |
Resizes while preserving contents from head position. | |
| ElementType * | WriteAtFrame
(
int32 Frame |
Writes a new element at Frame. Copies previous frames contents into new element. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| ElementType * | operator[]
(
int32 Frame |
||
| const ElementType * | operator[]
(
int32 Frame |