コード例 #1
0
        private static bool LoadUser(string user, string password, out UserEntry entry)
        {
            for (int i = 0; i < AuthManager.m_offlineUsers.Count; i++)
            {
                entry = AuthManager.m_offlineUsers[i];

                if (entry.User == user && entry.Password == password)
                {
                    return(true);
                }
            }

            entry = null;
            return(false);
        }