Skip to main content

EmailVerificationController

A class in Root.Township, the global namespace.

Client tool that, on login, asks the API whether the account's email is verified and shows a popup if not.

Constructors​

MemberWhat it is
EmailVerificationController()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private PopupBoard emailVerificationPopupPopup shown to unverified users.

Methods​

MemberWhat it is
protected override async void LoggedIn()Checks verification with the user client and shows emailVerificationPopup when unverified.
protected override void LoggedOut()Does nothing.