public CheckUser ( UUID agentID, string ip, string version, string platform, string mac, string id0, string &message ) : bool | ||
agentID | UUID | |
ip | string | |
version | string | |
platform | string | |
mac | string | |
id0 | string | |
message | string | |
리턴 | bool |
public LoginResponse Login(Hashtable request, UserAccount account, IAgentInfo agentInfo, string authType, string password, out object data) { data = null; string ip = ""; string version = ""; string platform = ""; string mac = ""; string id0 = ""; if (request != null) { ip = request.ContainsKey("ip") ? (string)request ["ip"] : ""; version = request.ContainsKey("version") ? (string)request ["version"] : ""; platform = request.ContainsKey("platform") ? (string)request ["platform"] : ""; mac = request.ContainsKey("mac") ? (string)request ["mac"] : ""; id0 = request.ContainsKey("id0") ? (string)request ["id0"] : ""; } string message; if (!m_module.CheckUser(account.PrincipalID, ip, version, platform, mac, id0, out message)) { return(new LLFailedLoginResponse(LoginResponseEnum.Indeterminant, message, false)); } return(null); }