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

◆ OnLobbyEntered()

void Terraria.Social.Steam.Lobby.OnLobbyEntered ( LobbyEnter_t result,
bool failure )
inlineprivate

Definition at line 151 of file Lobby.cs.

152 {
153 //IL_001e: Unknown result type (might be due to invalid IL or missing references)
154 //IL_0024: Unknown result type (might be due to invalid IL or missing references)
155 //IL_0029: Unknown result type (might be due to invalid IL or missing references)
156 //IL_0030: Unknown result type (might be due to invalid IL or missing references)
157 //IL_0035: Unknown result type (might be due to invalid IL or missing references)
158 //IL_003a: Unknown result type (might be due to invalid IL or missing references)
159 //IL_0045: Unknown result type (might be due to invalid IL or missing references)
160 if (State == LobbyState.Connecting)
161 {
162 if (failure)
163 {
164 State = LobbyState.Inactive;
165 }
166 else
167 {
168 State = LobbyState.Active;
169 }
170 Id = new CSteamID(result.m_ulSteamIDLobby);
171 Owner = SteamMatchmaking.GetLobbyOwner(Id);
172 _lobbyEnterExternalCallback.Invoke(result, failure);
173 }
174 }
APIDispatchDelegate< LobbyEnter_t > _lobbyEnterExternalCallback
Definition Lobby.cs:21

References Terraria.Social.Steam.Lobby._lobbyEnterExternalCallback, Terraria.Social.Steam.Lobby.Id, and Terraria.Social.Steam.Lobby.Owner.

Referenced by Terraria.Social.Steam.Lobby.Lobby().