UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
XmppPrivateChatStrophe.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "XmppChat.h"
7
8#include "Containers/Ticker.h"
9#include "Containers/Queue.h"
10
11#if WITH_XMPP_STROPHE
12
15class FStropheStanza;
16
18 : public IXmppChat
19 , public FTSTickerObjectBase
20{
22
23public:
24 // FXmppPrivateChatStrophe
27
28 // XMPP Thread
30
31 // Game Thread
32 void OnDisconnect();
33 void OnReconnect();
34
35 // IXmppChat
36 virtual bool SendChat(const FXmppUserJid& RecipientId, const FString& Message) override;
37 virtual FOnXmppChatReceived& OnReceiveChat() override { return OnChatReceivedDelegate; }
38
39 // FTSTickerObjectBase
40 virtual bool Tick(float DeltaTime) override;
41
42protected:
44
46 void CleanupMessages();
47
48protected:
51
57
60};
61
62#endif
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Ticker.h:137
Definition XmppChat.h:12
Definition XmppConnection.h:99
Definition XmppChat.h:33
virtual FOnXmppChatReceived & OnReceiveChat()=0
virtual bool SendChat(const FXmppUserJid &RecipientId, const FString &Message)=0
Definition Queue.h:48
Definition UniquePtr.h:107