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

◆ OnLobbyCreated()

void Terraria.Social.Steam.Lobby.OnLobbyCreated ( LobbyCreated_t result,
bool failure )
inlineprivate

Definition at line 176 of file Lobby.cs.

177 {
178 //IL_001e: Unknown result type (might be due to invalid IL or missing references)
179 //IL_0024: Unknown result type (might be due to invalid IL or missing references)
180 //IL_0029: Unknown result type (might be due to invalid IL or missing references)
181 //IL_0030: Unknown result type (might be due to invalid IL or missing references)
182 //IL_0035: Unknown result type (might be due to invalid IL or missing references)
183 //IL_003a: Unknown result type (might be due to invalid IL or missing references)
184 //IL_0045: Unknown result type (might be due to invalid IL or missing references)
185 if (State == LobbyState.Creating)
186 {
187 if (failure)
188 {
189 State = LobbyState.Inactive;
190 }
191 else
192 {
193 State = LobbyState.Active;
194 }
195 Id = new CSteamID(result.m_ulSteamIDLobby);
196 Owner = SteamMatchmaking.GetLobbyOwner(Id);
197 _lobbyCreatedExternalCallback.Invoke(result, failure);
198 }
199 }
APIDispatchDelegate< LobbyCreated_t > _lobbyCreatedExternalCallback
Definition Lobby.cs:25

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

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