C# Class NetMud.Authentication.Account

User account
Inheritance: IAccount
Afficher le fichier Open project: SwiftAusterity/NetMud Class Usage Examples

Private Properties

Свойство Type Description
Fill IAccount

Méthodes publiques

Méthode Description
Account ( ) : System

New up a blank account

Account ( string handle ) : System

New up an account with the GlobalIdentityHandle

Account ( string handle, string logSubscriptions ) : System

New up an account with the GlobalIdentityHandle and the log streams it wants to subscribe to

AddCharacter ( ICharacter newChar ) : string

Add a character to this account

GetByHandle ( string handle ) : IAccount

Get an account by its GlobalIdentityHandle

Private Methods

Méthode Description
Fill ( DataRow dr ) : IAccount

Fill an account from the database

Method Details

Account() public méthode

New up a blank account
public Account ( ) : System
Résultat System

Account() public méthode

New up an account with the GlobalIdentityHandle
public Account ( string handle ) : System
handle string GlobalIdentityHandle
Résultat System

Account() public méthode

New up an account with the GlobalIdentityHandle and the log streams it wants to subscribe to
public Account ( string handle, string logSubscriptions ) : System
handle string GlobalIdentityHandle
logSubscriptions string | delimeted list of log channel names
Résultat System

AddCharacter() public méthode

Add a character to this account
public AddCharacter ( ICharacter newChar ) : string
newChar ICharacter the character data to add
Résultat string

GetByHandle() public static méthode

Get an account by its GlobalIdentityHandle
public static GetByHandle ( string handle ) : IAccount
handle string GlobalIdentityHandle to get
Résultat IAccount