Stream Chat Unreal SDK
Loading...
Searching...
No Matches
ConnectionChangedEvent.h
1
// Copyright 2026 Stream.IO, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "CoreMinimal.h"
6
#include "Event/Abstract/LocalEvent.h"
7
8
#include "ConnectionChangedEvent.generated.h"
9
15
USTRUCT()
16
struct
FConnectionChangedEvent
: public
FLocalEvent
17
{
18
explicit
FConnectionChangedEvent
() =
default
;
19
explicit
FConnectionChangedEvent
(
const
bool
bOnline) :
FLocalEvent
{StaticType()}, bOnline(bOnline)
20
{
21
}
22
23
GENERATED_BODY()
24
25
static
FName StaticType()
26
{
27
static
const
FName
Type
{TEXT(
"connection.changed"
)};
28
return
Type
;
29
}
30
31
UPROPERTY()
32
bool
bOnline =
false
;
33
};
EMessageSortField::Type
@ Type
Type of the message.
FConnectionChangedEvent
Sent when the state of the connection changed.
Definition
ConnectionChangedEvent.h:17
FLocalEvent
Event not originating from the API.
Definition
LocalEvent.h:15
Source
Backend
StreamChatWebSocket
Public
Event
Client
ConnectionChangedEvent.h
Generated by
1.12.0