EntityId serialization

So I am having problem with sending EntityId over network. I am using RMIs for that, and I am quite familiar with Cryengine's networking system, I am also aware of the compression policies. I have no problems sending strings, ints, bools etc, but for now I have to use int to send EntityId. I am using

Code:*Select all

EntityId entityId; ser.Value("entityId", entityId, 'eid');

as long as I use 'eid' compression policy, it always sends 0 to server.


Who is online

Users browsing this forum: No registered users and 2 guests