Class UZagalaSpecPDWaitForClientConnections#
Defined in File ZagalaSpecPDWaitForClientConnections.h
Inheritance Relationships#
Base Type#
public UZagalaSpecPDWaitForTicks(Class UZagalaSpecPDWaitForTicks)
Class Documentation#
-
class UZagalaSpecPDWaitForClientConnections : public UZagalaSpecPDWaitForTicks#
Protocol driver chain link that extends UZagalaSpecPDWaitForTicks and polls, every tick of the listen server world, until every client configured in the play session settings has joined.
“Joined” means the server world holds one player controller per player (host plus clients) and every client world already has its own player controller.
Broadcasts success as soon as both conditions hold, or failure when the tick limit is exhausted, the server world is cleaned up, or the play session is not a listen server.
Cache contract (AssignedCacher, forwarded from the owning step): Reads: UZagalaSpecDataPlaySessionSettings — required (listen server and NumberOfClients) UZagalaSpecDataTickLimit — required (no fixed wait; the limit bounds the wait) UZagalaSpecDataPlaySessionWorld — required (listen server world) Writes: (none)
Protected Functions
-
virtual void InternalExecute_Implementation(const TScriptInterface<IZagalaSpecTaggedDataCacher> &AssignedCacher) override#
Native implementation of InternalExecute(); broadcasts a failure unless overridden.
- Parameters:
AssignedCacher – The tagged data cache assigned to this link.
-
virtual EZagalaSpecTickCheckResult OnTickCheck(IZagalaSpecTaggedDataCacher *Cacher, int32 TicksSoFar, FString &OutFailureReason) override#
Called each tick of the play session world while this driver is running.
Override in subclasses to add polling logic.
- Parameters:
Cacher – The AssignedCacher passed to InternalExecute.
TicksSoFar – Number of ticks elapsed since InternalExecute was called.
OutFailureReason – Set if returning Fail; left unchanged otherwise.
- Returns:
TickCheckResult indicating how to proceed.
-
virtual void InternalExecute_Implementation(const TScriptInterface<IZagalaSpecTaggedDataCacher> &AssignedCacher) override#