Table of Contents

Class ConnectionInfoHelper

Namespace
Archipelago.MultiClient.Net.Helpers
Assembly
Archipelago.MultiClient.Net.dll
public class ConnectionInfoHelper : IConnectionInfoProvider
Inheritance
ConnectionInfoHelper
Implements
Inherited Members

Properties

Game

The game you are connected to or an empty string otherwise

public string Game { get; }

Property Value

string

ItemsHandlingFlags

The Item Handling Flags which your connection is currently using, defaults to NoItems

public ItemsHandlingFlags ItemsHandlingFlags { get; }

Property Value

ItemsHandlingFlags

Slot

The slot you are connected to or -1 otherwise

public int Slot { get; }

Property Value

int

Tags

The tags under which you client is connected or an empty array otherwise

public string[] Tags { get; }

Property Value

string[]

Team

The team you are connected to or -1 otherwise

public int Team { get; }

Property Value

int

Uuid

The Uniquely Identifiable string under which you client is connected or an empty string otherwise

public string Uuid { get; }

Property Value

string

Methods

UpdateConnectionOptions(ItemsHandlingFlags)

Send a ConnectUpdate packet and set the tags and ItemsHandlingFlags for the current connection to the provided params.

public void UpdateConnectionOptions(ItemsHandlingFlags itemsHandlingFlags)

Parameters

itemsHandlingFlags ItemsHandlingFlags

New ItemsHandlingFlags for the current connection.

UpdateConnectionOptions(string[])

Send a ConnectUpdate packet and set the tags and ItemsHandlingFlags for the current connection to the provided params.

public void UpdateConnectionOptions(string[] tags)

Parameters

tags string[]

New tags for the current connection.

UpdateConnectionOptions(string[], ItemsHandlingFlags)

Send a ConnectUpdate packet and set the tags and ItemsHandlingFlags for the current connection to the provided params.

public void UpdateConnectionOptions(string[] tags, ItemsHandlingFlags itemsHandlingFlags)

Parameters

tags string[]

New tags for the current connection.

itemsHandlingFlags ItemsHandlingFlags

New ItemsHandlingFlags for the current connection.