C# Class NetMud.Authentication.Account

User account
Inheritance: IAccount
ファイルを表示 Open project: SwiftAusterity/NetMud Class Usage Examples

Private Properties

Property Type Description
Fill IAccount

Public Methods

Method 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

Method Description
Fill ( DataRow dr ) : IAccount

Fill an account from the database

Method Details

Account() public method

New up a blank account
public Account ( ) : System
return System

Account() public method

New up an account with the GlobalIdentityHandle
public Account ( string handle ) : System
handle string GlobalIdentityHandle
return System

Account() public method

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
return System

AddCharacter() public method

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

GetByHandle() public static method

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