Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Close() [1/2]

void Terraria.Social.WeGame.NetClientSocialModule.Close ( RailID remote_peer)
inlineprivate

Definition at line 284 of file NetClientSocialModule.cs.

285 {
286 //IL_003e: Unknown result type (might be due to invalid IL or missing references)
288 {
289 WeGameHelper.WriteDebugString("CloseRemotePeer, remote:{0}", ((RailComparableID)remote_peer).id_);
290 rail_api.RailFactory().RailNetworkHelper().CloseSession(GetLocalPeer(), remote_peer);
292 _lobby.Leave();
295 }
296 }
ConcurrentDictionary< RailID, ConnectionState > _connectionStateMap

References Terraria.Social.WeGame.NetSocialModule._connectionStateMap, Terraria.Social.WeGame.NetSocialModule._lobby, Terraria.Social.WeGame.NetSocialModule._reader, Terraria.Social.WeGame.NetSocialModule._writer, Terraria.Social.WeGame.WeGameP2PReader.ClearUser(), Terraria.Social.WeGame.WeGameP2PWriter.ClearUser(), System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ContainsKey(), Terraria.Social.WeGame.NetSocialModule.GetLocalPeer(), Terraria.Social.WeGame.Lobby.Leave(), and Terraria.Social.WeGame.WeGameHelper.WriteDebugString().