protected virtual void OnSteamLobbyGameCreated(SteamLobbyGameCreatedEventArgs e) { if (this.SteamLobbyGameCreated != null) { this.SteamLobbyGameCreated(this, e); } }
private void SteamMatchMakingService_SteamLobbyGameCreated(object sender, SteamLobbyGameCreatedEventArgs e) { if (this.SteamIDLobby == null) { Diagnostics.Log("[Session] SteamMatchMakingService_SteamLobbyGameCreated: SteamIDLobby is null."); return; } if (this.SteamIDLobby == e.Message.m_ulSteamIDLobby && e.Message.m_ulSteamIDGameServer != 0UL) { this.SteamIDServer = new Steamworks.SteamID(e.Message.m_ulSteamIDGameServer); } }