C# Class WebGame.BaseController

Inheritance: Controller
Exibir arquivo Open project: AdmiralPotato/ggj2013

Public Methods

Method Description
GetInt ( string fieldName ) : int
GetInt ( string fieldName, System.Web.HttpRequestBase request ) : int
GetLong ( string fieldName ) : long
GetLong ( string fieldName, System.Web.HttpRequestBase request ) : long
GetString ( string fieldName ) : string
GetString ( string fieldName, System.Web.HttpRequestBase request ) : string
IsSet ( string fieldName ) : bool
IsSet ( string fieldName, System.Web.HttpRequestBase request ) : bool

Protected Methods

Method Description
CreateAccount ( string emailAddress, int gameId, int &accountId ) : string
CreateAccount ( string loginName, string password, string passwordVerify, string email, int &accountId, bool isTempLoginName = false ) : string
FindAccount ( string emailOrAccountName ) : Account
OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void

Private Methods

Method Description
AddChatWindow ( int targetId, string targetName ) : void

Method Details

CreateAccount() protected method

protected CreateAccount ( string emailAddress, int gameId, int &accountId ) : string
emailAddress string
gameId int
accountId int
return string

CreateAccount() protected method

protected CreateAccount ( string loginName, string password, string passwordVerify, string email, int &accountId, bool isTempLoginName = false ) : string
loginName string
password string
passwordVerify string
email string
accountId int
isTempLoginName bool
return string

FindAccount() protected method

protected FindAccount ( string emailOrAccountName ) : Account
emailOrAccountName string
return Account

GetInt() public method

public GetInt ( string fieldName ) : int
fieldName string
return int

GetInt() public static method

public static GetInt ( string fieldName, System.Web.HttpRequestBase request ) : int
fieldName string
request System.Web.HttpRequestBase
return int

GetLong() public method

public GetLong ( string fieldName ) : long
fieldName string
return long

GetLong() public static method

public static GetLong ( string fieldName, System.Web.HttpRequestBase request ) : long
fieldName string
request System.Web.HttpRequestBase
return long

GetString() public method

public GetString ( string fieldName ) : string
fieldName string
return string

GetString() public static method

public static GetString ( string fieldName, System.Web.HttpRequestBase request ) : string
fieldName string
request System.Web.HttpRequestBase
return string

IsSet() public method

public IsSet ( string fieldName ) : bool
fieldName string
return bool

IsSet() public static method

public static IsSet ( string fieldName, System.Web.HttpRequestBase request ) : bool
fieldName string
request System.Web.HttpRequestBase
return bool

OnException() protected method

protected OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
filterContext System.Web.Mvc.ExceptionContext
return void