/// <summary> /// Send the local gamer's local player count to network. /// </summary> public static void SendToNetwork(this LocalNetworkGamer localGamer) { PacketWriter writer = new PacketWriter(); writer.Write(PacketHeader.LOBBY_DATA); writer.Write(localGamer.GetLocalPlayerCount()); // send in order, since old data must not overwrite the new data. localGamer.SendData(writer, SendDataOptions.InOrder); }