Table of Contents

Interface ICharacterPortalService

Namespace
FishMMO.Database.Npgsql.Services.Interfaces
Assembly
FishMMO-DB.dll

Service interface for the per-character portal activation bitmasks (character_portals).

public interface ICharacterPortalService : IFetchCollectionByKeyAction<long, CharacterPortalData>, IDeleteByKeyAction<long>
Inherited Members

Remarks

The same contract as ICharacterWaypointService: a growing bitmask that is merged, never replaced. See CharacterPortalData.

Methods

MergeAsync(IEnumerable<CharacterPortalData>, CancellationToken)

OR-merges pages into the stored masks, creating rows that do not exist yet.

Task<DatabaseResult> MergeAsync(IEnumerable<CharacterPortalData> pages, CancellationToken cancellationToken = default)

Parameters

pages IEnumerable<CharacterPortalData>

The pages to merge. Bits already stored are retained.

cancellationToken CancellationToken

Token to cancel the operation.

Returns

Task<DatabaseResult>

Success, or the failure that stopped the whole batch.