AGameModeBase::ServerStatReplicator
#include "GameFramework/GameModeBase.h"
Access: public
Specifiers: UPROPERTYTransient
Description
The live AServerStatReplicator instance spawned by this GameMode. Holds the actor that replicates server performance data to connected clients.
Caveats & Gotchas
- • Transient — this property is never saved or replicated directly. The actor itself is network-spawned and replicated through normal actor replication.
- • Only valid on the server; on clients this pointer is null. Always check validity before dereferencing in code that runs on both authority and remote machines.
Signature
UPROPERTY(Transient)
TObjectPtr<AServerStatReplicator> ServerStatReplicator; Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?