public object GetLobbyFromInviteCode(string inviteCode) { ulong decoded = 0uL; try { decoded = Base36.Decode(inviteCode); } catch (FormatException) { } if (decoded != 0L && decoded >> 56 == 0L) { return(GalaxyID.FromRealID(GalaxyID.IDType.ID_TYPE_LOBBY, decoded).ToUint64()); } return(null); }