Function getPlayer

  • Get a player's faction information

    Parameters

    • connection: Connection
    • playerPublicKey: PublicKey
    • programId: PublicKey

    Returns Promise<PlayerFaction>