Exemple #1
0
 public Account GetAccount(string username)
 {
     return(OnlineAccounts.Find(x => x.AccountName == username));
 }
Exemple #2
0
 public Account GetAccount(NetConnection connection)
 {
     return(OnlineAccounts.Find(x => x.Connection == connection));
 }
Exemple #3
0
 public Account GetAccount(int accountId)
 {
     return(OnlineAccounts.Find(x => x.AccountId == accountId));
 }
Exemple #4
0
 public Account GetAccountByCharacterName(string characterName)
 {
     return(OnlineAccounts.Find(x => x.ConnectedCharacter.Name.ToLower() == characterName.ToLower()));
 }