UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RpcMessage.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Misc/Guid.h"
7
8#include "RpcMessage.generated.h"
9
10
14USTRUCT()
26
27
28#define DECLARE_RPC(RpcType, ResultType) \
29 struct RpcType \
30 { \
31 typedef RpcType##Request FRequest; \
32 typedef RpcType##Response FResponse; \
33 typedef ResultType FResult; \
34 };
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
Definition Guid.h:109
Definition RpcMessage.h:16