Adding custom variables to online subsystem searches
So I have followed this wiki on how to interact with the online subsystem. However I can't add any custom variables, for example it would be nice to have a user defined server name. So say I'm editing OnlineSubsystemNull to add these variables, I've got this far:
and finally in my FindSessions() function I cast the sessioninfo into the child class which should have the extra info-
While everything builds correctly, the ServerName variable is always blank when I go to get it, uninitialized I suspect. It looks like everything is taken care of in the AppendSessionToPacket function and yet it doesn't append my extra variables.
asked Oct 30 '17 at 12:35 PM in C++ Programming
Ok so it appears the NboSerializerNull.h decides what variables in FOnlineSessionInfoNull get added to a packet. So I was successful just adding the servername to the packet in AppendSessionToPacket and reading it back out in ReadSessionFromPacket.
answered Nov 01 '17 at 05:14 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here