public void ValidateCaptchaInput(InputFieldValueChangedEvent e, CaptchaInputFieldNode inputField, [JoinAll] SingleNode <EntranceValidationRulesComponent> validationRules)
 {
     this.ValidateInputAfterChanging(inputField.inputField, inputField.esm, inputField.interactivityPrerequisiteESM, validationRules.component.maxCaptchaLength);
 }
Пример #2
0
 public void FillCaptcha(IntroduceUserEvent e, ClientSessionWithCaptchaNode clientSession, [JoinAll] CaptchaInputFieldNode captchaInput)
 {
     e.Captcha = captchaInput.inputField.Input;
 }
 public void HandleInvalidCaptcha(CaptchaInvalidEvent e, SingleNode <ClientSessionComponent> session, [JoinAll] CaptchaInputFieldNode captchaField, [JoinByScreen] SingleNode <EntranceScreenComponent> entranceScreenText)
 {
     this.SetInvalidAndNotAccetableState(captchaField.inputField, captchaField.esm, entranceScreenText.component.IncorrectCaptcha, captchaField.interactivityPrerequisiteESM);
 }
Пример #4
0
 public void ClearCaptchInput(UpdateCaptchaEvent e, Node captcha, [JoinByScreen] CaptchaInputFieldNode captchInput)
 {
     captchInput.inputField.Input = string.Empty;
 }