How to combine sub-tables from bytes into parent table #7284
Unanswered
GlassBeaver
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, how does one create tables out of raw bytes that are coming in from the network and put these sub-tables into a parent table as a
Vector
? What I'm currently trying to do is "append" the individual sub-table bytes into a single byte buffer viamemcpy()
andCreateVector()
aVector<mySubTable>
out of that. While I can certainly create a vector, I have no idea how to put it into a parent (container) table. Example data layout:I have several individual
HoruMessage
and want to make aVector<HoruMessage>
out of them that I can then put into aSavegame
.Beta Was this translation helpful? Give feedback.
All reactions