private static void LobbyInvite(LobbyInvite_t param)
 {
     if (BoltNetwork.isRunning)
     {
         return;
     }
     AutoJoinAfterMPInvite autoJoinAfterMPInvite = UnityEngine.Object.FindObjectOfType<AutoJoinAfterMPInvite>();
     CoopSteamNGUI coopSteamNGUI = UnityEngine.Object.FindObjectOfType<CoopSteamNGUI>();
     if (coopSteamNGUI)
     {
         if (CoopLobby.IsInLobby)
         {
             return;
         }
         coopSteamNGUI.SetJoinText(param);
     }
     else if (autoJoinAfterMPInvite)
     {
         autoJoinAfterMPInvite.SetInvitedToGameId(param.m_ulSteamIDLobby);
     }
 }
Exemple #2
0
 public void SetJoinText(LobbyInvite_t param)
 {
     base.StartCoroutine(this.DelayedInviteReceived(new CoopLobbyInfo(param.m_ulSteamIDLobby)));
 }
	void OnLobbyInvite(LobbyInvite_t pCallback) {
		Debug.Log("[" + LobbyInvite_t.k_iCallback + " - LobbyInvite] - " + pCallback.m_ulSteamIDUser + " -- " + pCallback.m_ulSteamIDLobby + " -- " + pCallback.m_ulGameID);
	}