Class AirshipPartyService

Allows access to player party information.

Methods

  • Gets the party. To be allowed access to party information, the party leader must be playing the current game.

    Parameters

    • partyId: string

      The id of the party

    Returns Promise<Result<undefined | GameServerPartyData, undefined>>

  • Gets the users party. To be allowed access to party information, the user must be playing the current game.

    Parameters

    • userId: string

      The id of the user

    Returns Promise<Result<undefined | GameServerPartyData, undefined>>