I have class AChess:
UCLASS(config=Game)
class AChessPawn : public APawn
{
GENERATED_UCLASS_BODY()
public:
...
virtual void GetLifeTimeReplicatedProps(TArray<FLifetimeProperty>& outLifeTimeProsp) const override;
...
};
...
void AChessPawn::GetLifeTimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
Super::GetLifeTimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(AChessPawn, direction);
}
I have error in line “Super::GetLifeTimeReplicatedProps(OutLifetimeProps);” E0135 class APawn has no member “GetLifeTimeReplicatedProps”