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

◆ UpdateUserStateBySessionAuthResult()

void Terraria.Social.WeGame.NetServerSocialModule.UpdateUserStateBySessionAuthResult ( GameServerStartSessionWithPlayerResponse data)
inlineprivate

Definition at line 210 of file NetServerSocialModule.cs.

211 {
212 //IL_0008: Unknown result type (might be due to invalid IL or missing references)
213 //IL_000d: Unknown result type (might be due to invalid IL or missing references)
214 //IL_001c: Unknown result type (might be due to invalid IL or missing references)
215 RailID remote_rail_id = data.remote_rail_id;
216 RailResult result = ((EventBase)data).result;
218 {
219 if ((int)result == 0)
220 {
221 WeGameHelper.WriteDebugString("UpdateUserStateBySessionAuthResult Auth Success");
223 }
224 else
225 {
226 WeGameHelper.WriteDebugString("UpdateUserStateBySessionAuthResult Auth Failed");
228 }
229 }
230 }
ConcurrentDictionary< RailID, ConnectionState > _connectionStateMap

References Terraria.Social.WeGame.NetSocialModule._connectionStateMap, Terraria.Social.WeGame.NetServerSocialModule.BroadcastConnectedUsers(), Terraria.Social.WeGame.NetServerSocialModule.CloseAndUpdateUserState(), System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ContainsKey(), and Terraria.Social.WeGame.WeGameHelper.WriteDebugString().

Referenced by Terraria.Social.WeGame.NetServerSocialModule.OnRailEvent().