private void onConfirmClicked() { ToggleInteraction(isInteractable: false); if (!Service.Get <SessionManager>().HasSession) { membershipService.LoginViaMembership = true; membershipController.MembershipLoginNeeded(); Service.Get <ICPSwrveService>().NavigationAction("membership_buttons.OfferConfirm", "login_needed"); return; } if (LogMembershipView) { string currentMembershipStatus = Service.Get <MembershipService>().GetCurrentMembershipStatus(); Service.Get <ICPSwrveService>().Action("game.free_trial", MembershipViewTrigger, currentMembershipStatus, SceneManager.GetActiveScene().name); } gate = new ParentGate(); gate.OnReturn += onGateFailed; gate.OnContinue += onGatePassed; gate.Show(base.transform); Service.Get <ICPSwrveService>().Funnel(Service.Get <MembershipService>().MembershipFunnelName, "02", "agegate_triggered"); Service.Get <ICPSwrveService>().NavigationAction("membership_buttons.OfferConfirm", "trigger_agegate"); base.gameObject.SetActive(value: false); }
private void onChangePenguin() { Service.Get <SessionManager>().Logout(); membershipController.MembershipLoginNeeded(); Service.Get <ICPSwrveService>().NavigationAction("membership_buttons.ChangePenguin"); }