Table of Contents

Class ArchipelagoSessionFactory

Namespace
Archipelago.MultiClient.Net
Assembly
Archipelago.MultiClient.Net.dll

Factory to initiate a new ArchipelagoSession, the base object to communicate with an Archipelago Server

public static class ArchipelagoSessionFactory
Inheritance
ArchipelagoSessionFactory
Inherited Members

Methods

CreateSession(string, int)

Creates an ArchipelagoSession object which facilitates all communication to the Archipelago server.

public static ArchipelagoSession CreateSession(string hostname, int port = 38281)

Parameters

hostname string

The hostname of the Archipelago server, can include protocol and port. Ex: archipelago.gg, localhost, localhost:38281 or ws://archipelago.gg:46376

port int

(Optional) The port number which the Archipelago server is hosted on. Defaults to: 38281, will be ignored if the port is added to the hostname

Returns

ArchipelagoSession

CreateSession(Uri)

Creates an ArchipelagoSession object which facilitates all communication to the Archipelago server.

public static ArchipelagoSession CreateSession(Uri uri)

Parameters

uri Uri

The full URI to the Archipelago server, including scheme, hostname, and port.

Returns

ArchipelagoSession