Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

REFERENCESTRUCTS AND ENUMS

FCFImpactReport

MODULECrushformINCLUDECFImpactReport.h

One hit as a driving client sends it to the server, quantized. Both sides apply Decode() of the same report, never the client's unquantized input, so that the prediction and the server compute the same bytes.

Functions

AUTHORITY · server, every machineLOCAL · this machinePURE · read only
FCFImpactReport Encode(const FCFHitInput& Hit, uint16 InSeq, uint8 InGeneration)
C++ ONLY

Quantizes Hit into a report numbered InSeq for repair generation InGeneration.

FCFHitInput Decode() const
PUREC++ ONLY

The hit as both sides apply it: the quantized values back as a hit input.