Class SagePermissions

Hierarchy

  • SagePermissions

Implements

Constructors

  • Parameters

    • manageGame: boolean
    • manageSector: boolean
    • manageStar: boolean
    • managePlanet: boolean
    • manageShip: boolean
    • manageSagePlayerProfile: boolean
    • manageStarbase: boolean
    • manageMineItem: boolean
    • manageResource: boolean
    • removeShipEscrow: boolean
    • moveFleet: boolean
    • transitionFromLoadingBay: boolean
    • transitionFromIdle: boolean
    • rentFleet: boolean
    • doCrafting: boolean
    • manageCargoPod: boolean
    • addRemoveCargo: boolean
    • doStarbaseUpgrades: boolean
    • manageFleet: boolean
    • manageFleetCargo: boolean
    • doMining: boolean
    • respawn: boolean
    • manageSurveyDataUnit: boolean
    • scanSurveyDataUnit: boolean

    Returns SagePermissions

Properties

addRemoveCargo: boolean
doCrafting: boolean
doMining: boolean
doStarbaseUpgrades: boolean
manageCargoPod: boolean
manageFleet: boolean
manageFleetCargo: boolean
manageGame: boolean
manageMineItem: boolean
managePlanet: boolean
manageResource: boolean
manageSagePlayerProfile: boolean
manageSector: boolean
manageShip: boolean
manageStar: boolean
manageStarbase: boolean
manageSurveyDataUnit: boolean
moveFleet: boolean
removeShipEscrow: boolean
rentFleet: boolean
respawn: boolean
scanSurveyDataUnit: boolean
transitionFromIdle: boolean
transitionFromLoadingBay: boolean

Methods

  • Returns [number, number, number, number, number, number, number, number]

  • Parameters

    • permissions: [number, number, number, number, number, number, number, number]

    Returns SagePermissions

  • Dynamically builds an instance of SagePermissions

    Returns

    SagePermissions

    Parameters

    • input: "removeShipEscrow" | "manageGame" | "manageSector" | "manageStar" | "managePlanet" | "manageShip" | "manageSagePlayerProfile" | "manageStarbase" | "manageMineItem" | "manageResource" | "moveFleet" | "transitionFromLoadingBay" | "transitionFromIdle" | "rentFleet" | "doCrafting" | "manageCargoPod" | "addRemoveCargo" | "doStarbaseUpgrades" | "manageFleet" | "manageFleetCargo" | "doMining" | "respawn" | "manageSurveyDataUnit" | "scanSurveyDataUnit" | ("removeShipEscrow" | "manageGame" | "manageSector" | "manageStar" | "managePlanet" | "manageShip" | "manageSagePlayerProfile" | "manageStarbase" | "manageMineItem" | "manageResource" | "moveFleet" | "transitionFromLoadingBay" | "transitionFromIdle" | "rentFleet" | "doCrafting" | "manageCargoPod" | "addRemoveCargo" | "doStarbaseUpgrades" | "manageFleet" | "manageFleetCargo" | "doMining" | "respawn" | "manageSurveyDataUnit" | "scanSurveyDataUnit")[]

      the desired permission or array of permissions

    Returns SagePermissions

Generated using TypeDoc