示例#1
0
 protected virtual void OnSteamLobbyGameCreated(SteamLobbyGameCreatedEventArgs e)
 {
     if (this.SteamLobbyGameCreated != null)
     {
         this.SteamLobbyGameCreated(this, e);
     }
 }
示例#2
0
 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);
     }
 }