Sending a class of full of data to a client

I’m having difficulty sending this class (chunk) that has a pallete defining voxel types and a class that contains nested octree nodes to the client so I can translate it to a mesh.

please bear with me as I am very new to replicating data like this.

image → in the UChunk class

→ in the Unode class