LoginProcessor.Login C# (CSharp) 메소드

Login() 공개 정적인 메소드

public static Login ( MonoBehaviour owner, IPEndPoint endPoint, string id, string password, Action progressReport ) : Task
owner MonoBehaviour
endPoint IPEndPoint
id string
password string
progressReport Action
리턴 Task
    public static Task Login(MonoBehaviour owner, IPEndPoint endPoint, string id, string password, Action<string> progressReport)
    {
        var task = new UnitySlimTaskCompletionSource<bool>();
        task.Owner = owner;
        owner.StartCoroutine(LoginCoroutine(endPoint, id, password, task, progressReport));
        return task;
    }

Usage Example

예제 #1
0
        internal void NewLogin()
        {
            Userinfo.EmailAddress = this.EmailBox.Text;
            Userinfo.Password = this.PasswordBox.Text;

            var newLoginAttempt = new LoginProcessor();

            newLoginAttempt.Login(Userinfo.EmailAddress, Userinfo.Password);
        }
All Usage Examples Of LoginProcessor::Login