Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

TribesGUI.TribesGamespyLogin

Extends
TribesGUIPage

Core.Object
|   
+-- GUI.GUI
   |   
   +-- GUI.GUIComponent
      |   
      +-- GUI.GUIMultiComponent
         |   
         +-- GUI.GUIPage
            |   
            +-- TribesGUI.TribesGUIPage
               |   
               +-- TribesGUI.TribesGamespyLogin

Direct Known Subclasses:

TribesGamespyCreate

Variables Summary
TribesGameSpyManagergm
TribesGui
stringAcceptedGamespyChars
GUIButtonActionButton
intActionTimeout
stringBadAuthEmailText
stringBadAuthNickText
stringBadAuthPasswordText
stringBadEmailText
stringBadNickText
stringBadPasswordText
GUIButtonCancelButton
GUIEditBoxEditEmail
GUIEditBoxEditNick
GUIEditBoxEditPassword
stringGamespyConnectingText
stringGamespyCreateSuccessText
stringGamespyEmailTakenText
stringGamespyLoginSuccessText
stringGamespyTimeoutText
stringGeneralFailureText
intInitTimeout
stringInvalidCharacterText
stringNoGamespyText
stringPasswordMismatchText
Inherited Variables from TribesGUI.TribesGUIPage
bEscapeable, bSuppressLevelRender, GC, PageOpenedAfterEscape
Inherited Variables from GUI.GUIPage
bIsHUD, bIsOverlay, DialogClassName, HelpText, Timers

Delegates Summary
delegate OnCancel ()
delegate OnSuccess ()
Inherited Delegates from GUI.GUIPage
OnDlgReturned, OnPopupReturned

Functions Summary
function FillProfile (int id))
function GamespyLogin ()))
function InitComponent (GUIComponent MyOwner))
functionbool InternalOnKeyEvent (out byte Key, out byte State, float delta))
function InternalOnShow ()))
function InternalPopupOk (int Selection, optional string Passback ))
function OnAction (GUIComponent Sender))
function OnCancelButton (GUIComponent Sender))
function OnGamespyLoginResult (GameSpyManager.EGameSpyResult result, int profileId))
function OnGamespyTimeout ()))
function OnPerformGamespyAction ()))
function SetupGamespyVars ()))
event Timer ()))
functionbool Validate ()))
functionbool VerifyGamespyInput (string s))
Inherited Functions from TribesGUI.TribesGUIPage
DisplayMainMenu, GameAbort, GameRestart, GameResume, GameStart, InitComponent, InternalOnKeyEvent, OnPreLevelChange, Quit
Inherited Functions from GUI.GUIPage
Activate, ChangeHint, DeActivate, DlgReturned, Free, HandleParameters, Hide, InitComponent, NotifyLevelChange, onGameplayMessage, OnProgress, OpenDlg, Show


Variables Detail

gm Source code

var TribesGameSpyManager gm;

TribesGui

AcceptedGamespyChars Source code

var(TribesGui) protected EditInline GlobalConfig string AcceptedGamespyChars;

ActionButton Source code

var(TribesGui) protected EditInline Config GUIButton ActionButton;

ActionTimeout Source code

var(TribesGui) protected EditInline GlobalConfig int ActionTimeout;

BadAuthEmailText Source code

var(TribesGui) protected EditInline GlobalConfig localized string BadAuthEmailText;

BadAuthNickText Source code

var(TribesGui) protected EditInline GlobalConfig localized string BadAuthNickText;

BadAuthPasswordText Source code

var(TribesGui) protected EditInline GlobalConfig localized string BadAuthPasswordText;

BadEmailText Source code

var(TribesGui) protected EditInline GlobalConfig localized string BadEmailText;

BadNickText Source code

var(TribesGui) protected EditInline GlobalConfig localized string BadNickText;

BadPasswordText Source code

var(TribesGui) protected EditInline GlobalConfig localized string BadPasswordText;

CancelButton Source code

var(TribesGui) protected EditInline Config GUIButton CancelButton;

EditEmail Source code

var(TribesGui) protected EditInline Config GUIEditBox EditEmail;

EditNick Source code

var(TribesGui) protected EditInline Config GUIEditBox EditNick;

EditPassword Source code

var(TribesGui) protected EditInline Config GUIEditBox EditPassword;

GamespyConnectingText Source code

var(TribesGui) protected EditInline GlobalConfig localized string GamespyConnectingText;

GamespyCreateSuccessText Source code

var(TribesGui) protected EditInline GlobalConfig localized string GamespyCreateSuccessText;

GamespyEmailTakenText Source code

var(TribesGui) protected EditInline GlobalConfig localized string GamespyEmailTakenText;

GamespyLoginSuccessText Source code

var(TribesGui) protected EditInline GlobalConfig localized string GamespyLoginSuccessText;

GamespyTimeoutText Source code

var(TribesGui) protected EditInline GlobalConfig localized string GamespyTimeoutText;

GeneralFailureText Source code

var(TribesGui) protected EditInline GlobalConfig localized string GeneralFailureText;

InitTimeout Source code

var(TribesGui) protected EditInline GlobalConfig int InitTimeout;

InvalidCharacterText Source code

var(TribesGui) protected EditInline GlobalConfig localized string InvalidCharacterText;

NoGamespyText Source code

var(TribesGui) protected EditInline GlobalConfig localized string NoGamespyText;

PasswordMismatchText Source code

var(TribesGui) protected EditInline GlobalConfig localized string PasswordMismatchText;


Delegates Detail

OnCancel Source code

delegate OnCancel ( )

OnSuccess Source code

delegate OnSuccess ( )


Functions Detail

FillProfile Source code

protected function FillProfile ( int id) )

GamespyLogin Source code

private function GamespyLogin ( ) )

InitComponent Source code

function InitComponent ( GUIComponent MyOwner) )

InternalOnKeyEvent Source code

function bool InternalOnKeyEvent ( out byte Key, out byte State, float delta) )

InternalOnShow Source code

function InternalOnShow ( ) )

InternalPopupOk Source code

private function InternalPopupOk ( int Selection, optional string Passback ) )

OnAction Source code

private function OnAction ( GUIComponent Sender) )

OnCancelButton Source code

private function OnCancelButton ( GUIComponent Sender) )

OnGamespyLoginResult Source code

private function OnGamespyLoginResult ( GameSpyManager.EGameSpyResult result, int profileId) )

OnGamespyTimeout Source code

private function OnGamespyTimeout ( ) )

OnPerformGamespyAction Source code

protected function OnPerformGamespyAction ( ) )

SetupGamespyVars Source code

function SetupGamespyVars ( ) )

Timer Source code

event Timer ( ) )

Validate Source code

protected function bool Validate ( ) )

VerifyGamespyInput Source code

private function bool VerifyGamespyInput ( string s) )


Defaultproperties

defaultproperties
{
	BadNickText="The nickname you entered is invalid or contains invalid characters."
	BadEmailText="The email address you entered is invalid."
	BadPasswordText="The password you entered is invalid."
	PasswordMismatchText="The 'Password' and 'Confirm Password' fields must match."
	AcceptedGamespyChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789[]\\`_^{|}-"
	NoGamespyText="Error: could not initialize the Gamespy service."
	GamespyTimeoutText="Error: a request to the Gamespy service timed out."
	GamespyEmailTakenText="Error: the email you entered has already been registered to another user. Please enter a different email or log-in with your existing account."
	GamespyCreateSuccessText="Your stat-tracking account has been created."
	GamespyLoginSuccessText="You successfully logged in to the stat-tracking service."
	BadAuthNickText="An account with that nickname was not found. Please enter a valid nickname or create a new account."
	BadAuthEmailText="An account with that email address was not found. Please enter a valid email address or create a new account."
	BadAuthPasswordText="The password is not correct for that account. Please enter the correct password or create a new account."
	GeneralFailureText="There was an error while performing the requested operation."
	GamespyConnectingText="Connecting to Gamespy..."
	InvalidCharacterText="The first letter of your email login is invalid.  Please change it."


    OnKeyEvent=InternalOnKeyEvent
	
	InitTimeout=20
	ActionTimeout=30
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: st 23.5.2018 00:10:36.110 - Created with UnCodeX