# How to send or receive data in a custom class with UE NetWork Framework?

**URL:** <https://forums.unrealengine.com/t/how-to-send-or-receive-data-in-a-custom-class-with-ue-network-framework/2045511>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, rpc, unreal-engine, question\
**Created:** [September 30, 2024, 3:26am UTC](https://forums.unrealengine.com/t/how-to-send-or-receive-data-in-a-custom-class-with-ue-network-framework/2045511 "2024-09-30T03:26:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_1994\_5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_1994\_5](https://forums.unrealengine.com/u/_1994_5)\
**Post date:** [September 30, 2024, 3:26am UTC](https://forums.unrealengine.com/t/how-to-send-or-receive-data-in-a-custom-class-with-ue-network-framework/2045511/1 "2024-09-30T03:26:47Z")

</div>

Does RPC and Replication depend on Component and Actor? So，How to send or receive data in a  
custom class?

> **[Networking and Multiplayer in Unreal Engine | Unreal Engine 5.4 Documentation...](https://dev.epicgames.com/documentation/en-us/unreal-engine/rpcs?application_version=4.27)**
>
> Setting up networked games for multiplayer.
