API:AccountLogin Login

__NOTOC__
Fired on pressing enter key. Logs in the game.
AccountLogin_Login()
== Parameters ==
=== Arguments ===
:None
=== Returns ===
:nil
== Example ==
AccountLogin_Login()
== Related Functions ==
* AccountLogin_FocusExit
* AccountLogin_FocusAccountName
* AccountLogin_FocusPassword
* AccountLogin_OnKeyDown
* AccountLogin_OnKeyUp
* AccountLogin_OnLoad
* AccountLogin_OnMouseDown
* AccountLogin_OnMouseUp
* AccountLogin_OnShow
* AccountLogin_OnUpdate
* AccountLogin_Show
* AccountLoginPasswordEdit_OnGained
* AccountLoginPasswordEdit_SetText
* AccountLoginShow
== Source Code ==
function AccountLogin_Login()
	DefaultServerLogin(AccountLoginAccountEdit:GetText(), AccountLoginPasswordEdit:GetText());
	AccountLoginPasswordEdit:SetText("");
	AccountLoginAccountEdit:ClearFocus();
	AccountLoginPasswordEdit:ClearFocus();
end
Category:Functions