Search Results for

    Show / Hide Table of Contents

    Class LiteNetConsoleClient

    Inheritance
    Object
    LiteNetConsoleClient
    Implements
    IConsoleClient
    INetEventListener
    Namespace: Clavusaurus.Cosmos
    Assembly: cs.temp.dll.dll
    Syntax
    public class LiteNetConsoleClient : IConsoleClient

    Constructors

    LiteNetConsoleClient()

    Declaration
    public LiteNetConsoleClient()

    Properties

    IsConnected

    Declaration
    public bool IsConnected { get; }
    Property Value
    Type Description
    Boolean

    IsTryingToConnect

    Declaration
    public bool IsTryingToConnect { get; }
    Property Value
    Type Description
    Boolean

    LocalPort

    Declaration
    public ushort LocalPort { get; }
    Property Value
    Type Description
    UInt16

    ServerAddress

    Declaration
    public IPEndPoint ServerAddress { get; }
    Property Value
    Type Description
    IPEndPoint

    Methods

    Dispose()

    Declaration
    public void Dispose()

    OnConnectionRequest(ConnectionRequest)

    Declaration
    public void OnConnectionRequest(ConnectionRequest request)
    Parameters
    Type Name Description
    ConnectionRequest request

    OnNetworkError(IPEndPoint, SocketError)

    Declaration
    public void OnNetworkError(IPEndPoint endPoint, SocketError socketError)
    Parameters
    Type Name Description
    IPEndPoint endPoint
    SocketError socketError

    OnNetworkLatencyUpdate(NetPeer, Int32)

    Declaration
    public void OnNetworkLatencyUpdate(NetPeer peer, int latency)
    Parameters
    Type Name Description
    NetPeer peer
    Int32 latency

    OnNetworkReceive(NetPeer, NetPacketReader, DeliveryMethod)

    Declaration
    public void OnNetworkReceive(NetPeer peer, NetPacketReader reader, DeliveryMethod deliveryMethod)
    Parameters
    Type Name Description
    NetPeer peer
    NetPacketReader reader
    DeliveryMethod deliveryMethod

    OnNetworkReceiveUnconnected(IPEndPoint, NetPacketReader, UnconnectedMessageType)

    Declaration
    public void OnNetworkReceiveUnconnected(IPEndPoint remoteEndPoint, NetPacketReader reader, UnconnectedMessageType messageType)
    Parameters
    Type Name Description
    IPEndPoint remoteEndPoint
    NetPacketReader reader
    UnconnectedMessageType messageType

    OnPeerConnected(NetPeer)

    Declaration
    public void OnPeerConnected(NetPeer peer)
    Parameters
    Type Name Description
    NetPeer peer

    OnPeerDisconnected(NetPeer, DisconnectInfo)

    Declaration
    public void OnPeerDisconnected(NetPeer peer, DisconnectInfo disconnectInfo)
    Parameters
    Type Name Description
    NetPeer peer
    DisconnectInfo disconnectInfo

    SendCommandString(String)

    Declaration
    public void SendCommandString(string commandString)
    Parameters
    Type Name Description
    String commandString

    StartAndConnect(IPEndPoint, UserCredentials)

    Declaration
    public async Task<bool> StartAndConnect(IPEndPoint endPoint, UserCredentials credentials)
    Parameters
    Type Name Description
    IPEndPoint endPoint
    UserCredentials credentials
    Returns
    Type Description
    Task<Boolean>

    Update()

    Declaration
    public void Update()

    Events

    OnConnectionTimeoutEvent

    Declaration
    public event Action OnConnectionTimeoutEvent
    Event Type
    Type Description
    Action

    OnLogReceivedEvent

    Declaration
    public event Action<string, LogType> OnLogReceivedEvent
    Event Type
    Type Description
    Action<String, LogType>

    OnRemoteCommandConfigReceivedEvent

    Declaration
    public event Action<byte[]> OnRemoteCommandConfigReceivedEvent
    Event Type
    Type Description
    Action<Byte[]>

    OnRemoteCommandParameterValuesChangedReceivedEvent

    Declaration
    public event Action<byte[]> OnRemoteCommandParameterValuesChangedReceivedEvent
    Event Type
    Type Description
    Action<Byte[]>

    Implements

    IConsoleClient
    INetEventListener
    ☀
    ☾
    In This Article
    Back to top
    © Clavusaurus Game Software
    ☀
    ☾