In my game there are four players, and one machine can have up to three signed in gamers. What I don't want to have (obviously) is a machine with three profiles connecting with a machine with two profiles, or three gamers each on seperate machines connecting with a machine with two profiles because then there are five players. I can't really test out whether what I'm doing is going to work with just a computer and an Xbox with two controllers, and am kinda confused at how NetworkSession.Find() and NetworkSession.Create() work.
My code when I create a game is:
| networkSession = NetworkSession.Create(NetworkSessionType.SystemLink, 3, 4); |
| networkSession.AllowHostMigration = true; |
| networkSession.AllowJoinInProgress = false; |
And when searching for a game is:
| AvailableNetworkSessionCollection sessions = |
| NetworkSession.Find(NetworkSessionType.SystemLink, 3, null); |
So is what I'm doing right at the moment? I've seen you can do IEnumberable<SignedInGamers> but I can't figure out how to use it and whether I need to or ont.
Thanks