Table of Contents

Interface ITileFetcher

Namespace
LansMap.Map.Network
public interface ITileFetcher : IDisposable
Inherited Members

Properties

BytesAreAlreadyDurable

bool BytesAreAlreadyDurable { get; }

Property Value

bool

SlotCount

int SlotCount { get; }

Property Value

int

Methods

IsFree(int)

bool IsFree(int slot)

Parameters

slot int

Returns

bool

LastError(int)

TileFetchError LastError(int slot)

Parameters

slot int

Returns

TileFetchError

Poll(int, out TileCoord, out float, out byte[], out int)

FetchStatus Poll(int slot, out TileCoord tile, out float progress, out byte[] bytes, out int length)

Parameters

slot int
tile TileCoord
progress float
bytes byte[]
length int

Returns

FetchStatus

Poll(int, out TileCoord, out float, out byte[], out int, out bool)

FetchStatus Poll(int slot, out TileCoord tile, out float progress, out byte[] bytes, out int length, out bool pooled)

Parameters

slot int
tile TileCoord
progress float
bytes byte[]
length int
pooled bool

Returns

FetchStatus

Release(int)

void Release(int slot)

Parameters

slot int

Start(int, TileCoord, string)

void Start(int slot, TileCoord tile, string url)

Parameters

slot int
tile TileCoord
url string