Search Results for

    Show / Hide Table of Contents

    Class ServerConnection

    Inheritance
    System.Object
    BaseNetworkConnection
    ServerConnection
    Implements
    IConnectionCallbacks
    Inherited Members
    BaseNetworkConnection.AddCallback()
    BaseNetworkConnection.RemoveCallback()
    Namespace: CatchIo.Runtime.ScriptableObjects.Network.Connections
    Assembly: cs.temp.dll.dll
    Syntax
    public class ServerConnection : BaseNetworkConnection

    Properties

    CurrentRegion

    Declaration
    public ServerConnection.Region CurrentRegion { get; }
    Property Value
    Type Description
    ServerConnection.Region

    Methods

    ConnectUsingSettings(String)

    Declaration
    public IEnumerator ConnectUsingSettings(string nickName = "")
    Parameters
    Type Name Description
    System.String nickName
    Returns
    Type Description
    System.Collections.Generic.IEnumerator

    GetCurrentRegionIndex()

    Declaration
    public int GetCurrentRegionIndex()
    Returns
    Type Description
    System.Int32

    GetEnabledRegions()

    Declaration
    public List<ServerConnection.Region> GetEnabledRegions()
    Returns
    Type Description
    System.Collections.Generic.List<ServerConnection.Region>

    GetRegionByIndex(Int32)

    Declaration
    public ServerConnection.Region GetRegionByIndex(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    ServerConnection.Region

    OnConnected()

    Declaration
    public void OnConnected()

    OnConnectedToMaster()

    Declaration
    public void OnConnectedToMaster()

    OnCustomAuthenticationFailed(String)

    Declaration
    public void OnCustomAuthenticationFailed(string debugMessage)
    Parameters
    Type Name Description
    System.String debugMessage

    OnCustomAuthenticationResponse(Dictionary<String, Object>)

    Declaration
    public void OnCustomAuthenticationResponse(Dictionary<string, object> data)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.String, System.Object> data

    OnDisconnected(DisconnectCause)

    Declaration
    public void OnDisconnected(DisconnectCause cause)
    Parameters
    Type Name Description
    DisconnectCause cause

    OnRegionListReceived(RegionHandler)

    Declaration
    public void OnRegionListReceived(RegionHandler regionHandler)
    Parameters
    Type Name Description
    RegionHandler regionHandler

    SwitchRegion(ServerConnection.Region)

    Declaration
    public IEnumerator SwitchRegion(ServerConnection.Region region)
    Parameters
    Type Name Description
    ServerConnection.Region region
    Returns
    Type Description
    System.Collections.Generic.IEnumerator

    Implements

    IConnectionCallbacks
    In This Article
    Back to top ©Team STEP, All Rights Reserved.