C# Class WebGame.BaseController

Inheritance: Controller
Afficher le fichier Open project: AdmiralPotato/ggj2013

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode Description
AddChatWindow ( int targetId, string targetName ) : void

Method Details

CreateAccount() protected méthode

protected CreateAccount ( string emailAddress, int gameId, int &accountId ) : string
emailAddress string
gameId int
accountId int
Résultat string

CreateAccount() protected méthode

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
Résultat string

FindAccount() protected méthode

protected FindAccount ( string emailOrAccountName ) : Account
emailOrAccountName string
Résultat Account

GetInt() public méthode

public GetInt ( string fieldName ) : int
fieldName string
Résultat int

GetInt() public static méthode

public static GetInt ( string fieldName, System.Web.HttpRequestBase request ) : int
fieldName string
request System.Web.HttpRequestBase
Résultat int

GetLong() public méthode

public GetLong ( string fieldName ) : long
fieldName string
Résultat long

GetLong() public static méthode

public static GetLong ( string fieldName, System.Web.HttpRequestBase request ) : long
fieldName string
request System.Web.HttpRequestBase
Résultat long

GetString() public méthode

public GetString ( string fieldName ) : string
fieldName string
Résultat string

GetString() public static méthode

public static GetString ( string fieldName, System.Web.HttpRequestBase request ) : string
fieldName string
request System.Web.HttpRequestBase
Résultat string

IsSet() public méthode

public IsSet ( string fieldName ) : bool
fieldName string
Résultat bool

IsSet() public static méthode

public static IsSet ( string fieldName, System.Web.HttpRequestBase request ) : bool
fieldName string
request System.Web.HttpRequestBase
Résultat bool

OnException() protected méthode

protected OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
filterContext System.Web.Mvc.ExceptionContext
Résultat void