Files
UnrealEngine/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineDelegates.h
2025-05-18 13:04:45 +08:00

28 lines
694 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Delegates/Delegate.h"
#define UE_API ONLINESUBSYSTEM_API
/**
* Online subsystem delegates that are more external to the online subsystems themselves
* This is NOT to replace the individual interfaces that have the Add/Clear/Trigger syntax
*/
class FOnlineSubsystemDelegates
{
public:
/**
* Notification that a new online subsystem instance has been created
*
* @param NewSubsystem the new instance created
*/
DECLARE_MULTICAST_DELEGATE_OneParam(FOnOnlineSubsystemCreated, class IOnlineSubsystem* /*NewSubsystem*/);
static UE_API FOnOnlineSubsystemCreated OnOnlineSubsystemCreated;
};
#undef UE_API