Show / Hide Table of Contents

    Class API.Client

    The client section of the API

    Inheritance
    System.Object
    API.Client
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Engine.API
    Assembly: Engine.API.dll
    Syntax
    public static class Client

    Methods

    AttemptLogin(String, String, Boolean, Action<Boolean, Color, String>, Action<Single>)

    Attempts a login for the player based on input.

    Declaration
    public static void AttemptLogin(string username, string password, bool rememberMe, Action<bool, Color, string> statusMessageAction, Action<float> opacityAction)
    Parameters
    Type Name Description
    System.String username

    The username input.

    System.String password

    The password input.

    System.Boolean rememberMe

    If the client should remember the player.

    System.Action<System.Boolean, UnityEngine.Color, System.String> statusMessageAction

    Action that processes the status message.

    System.Action<System.Single> opacityAction

    Action that processes the opacity value for the panel.

    Back to top Elavad Documentation