public void GameSetupCallback(string gameName, string pwd) { GamePublishingInfo g = new GamePublishingInfo(); g.name = gameName; g.password = pwd; HostingInfoDelegate(g); }
public void OnGetHostingInfo(GamePublishingInfo info) { //Set basic info SteamMatchmaking.SetLobbyData(lobby, "name", info.name); SteamMatchmaking.SetLobbyData(lobby, "pwd", info.password); //Now that we have the password in place, we can make it public SteamMatchmaking.SetLobbyType(lobby, ELobbyType.k_ELobbyTypePublic); game.EnterGame(lobby); }