Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Pre-populated SyncList and initial synchronization

$
0
0
Hi everyone. I'm using version 5.2.1f1. When a SyncList must pre-populated with a large number of items, is there any existing means to do that without using a loop and the Add operation?

If I needed to do that myself, I would go for something like the following. I noticed there was a public AddInternal method defined in SyncListStruct<T> that you can use to bypass the sending of sync list message (it calls the internal list's add method directly actually)... I'll use that and send...

Pre-populated SyncList and initial synchronization

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>