MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / ValidateSession

Function ValidateSession

Source/URLab/Public/Bridge/RpcDispatcher.h:97–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 // --- Session / mode introspection (used by transports + UI) ---
96
97 bool ValidateSession(const FString& ClientSessionId) const
98 {
99 if (ClientSessionId.IsEmpty())
100 return false;
101 return ClientSessionId.Equals(ActiveSessionId);
102 }
103 FString GetActiveSessionId() const { return ActiveSessionId; }
104 void SetActiveSessionIdForTest(const FString& Id) { ActiveSessionId = Id; }
105

Callers 1

DispatchInternalMethod · 0.85

Calls 1

IsEmptyMethod · 0.80

Tested by

no test coverage detected