Serialize std::vector

#1
Hi. I am wondering if there is a way, and if there is, then how to achieve that? It does not matter if it's rmi or aspect. I do it with aspects.
I have declared vector:

Code: Select all

std::vector<string> vector1;


and I am trying to send it from server to client in NetSerialize (like usual variable)

Code: Select all

ser.Value("vector1", vector1);


The code crashes at this point in ISerialize.h. Is there a way to do it properly?
Cryengine tutorial videos on my Youtube channel! Check it out !
https://www.youtube.com/user/MusicForLifePL20

Who is online

Users browsing this forum: No registered users and 0 guests