}\r
\r
\r
- LocalNetworkGamer LocalGamer\r
+ public LocalNetworkGamer LocalGamer\r
{\r
get\r
{\r
}\r
}\r
\r
+ // I added this as I needed a way to display all gamers not just the first gamer\r
+ // -Brady\r
+ public GamerCollection<NetworkGamer> LocalGamers\r
+ {\r
+ get\r
+ {\r
+ return mNetworkSession.AllGamers;\r
+ }\r
+ }\r
+\r
\r
- NetworkSession CreateSession()\r
+ public NetworkSession CreateSession()\r
{\r
return CreateSession(mGame.MaximumSupportedPlayers);\r
}\r
return mNetworkSession;\r
}\r
\r
+ // added so I can test if sessionExists and thus be able to call things on NetworkGame safely\r
+ // -Brady\r
+ public bool sessionExists()\r
+ {\r
+ return mNetworkSession != null;\r
+ }\r
\r
public AvailableNetworkSessionCollection FindSessions()\r
{\r