internal static Account Get(MtaAccount account) { if (account == null) { return(null); } if (!accounts.ContainsKey(account)) { return(new Account(account)); } return(accounts[account]); }
internal static Account Get(MtaAccount account) { if (account == null) { return(null); } if (accounts == null) { accounts = new Dictionary <object, Account>(); } if (!accounts.ContainsKey(account)) { return(new Account(account)); } return(accounts[account]); }
internal OnLogoutEventArgs(MtaAccount previousAccount, MtaAccount newAccount) { PreviousAccount = Account.Get(previousAccount); NewAccount = Account.Get(newAccount); }
internal OnDataChangeEventArgs(MtaAccount account, dynamic key, dynamic value) { Account = Account.Get(account); Key = (string)key; Value = (string)value; }
public static string GetAccountIP(MtaAccount theAccount) { throw new NotImplementedException(); }
public static bool SetAccountName(MtaAccount theAccount, string name, bool allowCaseVariations) { throw new NotImplementedException(); }
public static bool SetAccountPassword(MtaAccount theAccount, string password) { throw new NotImplementedException(); }
public static string GetAccountData(MtaAccount theAccount, string key) { throw new NotImplementedException(); }
public static bool LogIn(MtaElement thePlayer, MtaAccount theAccount, string thePassword) { throw new NotImplementedException(); }
public static bool SetAccountData(MtaAccount theAccount, string key, dynamic value) { throw new NotImplementedException(); }
public static bool RemoveAccount(MtaAccount theAccount) { throw new NotImplementedException(); }
public static MtaElement GetAccountPlayer(MtaAccount theAccount) { throw new NotImplementedException(); }
public static bool CopyAccountData(MtaAccount theAccount, MtaAccount fromAccount) { throw new NotImplementedException(); }
public static dynamic GetAllAccountData(MtaAccount theAccount) { throw new NotImplementedException(); }
public static int GetAccountID(MtaAccount theAccount) { throw new NotImplementedException(); }
internal Account(MtaAccount account) { MTAAccount = account; accounts.Add(MTAAccount, this); }