UGantryExperienceStateComponent
ClassGantryExperienceBlueprint-visibleconfig
Replicates the server's experience to clients. Added automatically when missing.
- Inherits
UGameStateComponent
Properties
| Property | Type | Default | Description |
|---|---|---|---|
Experience replicated | FGantryReplicatedExperience | The server's decision, replicated to every client. |
Functions
GetExperience
BlueprintCallableBlueprintPureGantry|Experience
The latest decision this machine knows about: the one it published on the server, the one it received on a client.
| Pin | Type | Direction | Description |
|---|---|---|---|
| Return Value | FGantryReplicatedExperience | out | The current decision; LeafTag is empty when none has been made or it was cleared. |
OnRep_Experience
Client side: hands a newly received decision to this world's experience subsystem.
C++
Public C++ members that Blueprint does not see.
UGantryExperienceStateComponent
Marks the component replicated by default.
GetLifetimeReplicatedProps
virtual void
Registers Experience for replication.
Publish
void
Server only: replaces the replicated decision.
Called by the experience subsystem.
Decision:The new decision; its Serial must be higher than the last one published.