6.8.14 • Published 5 days ago

@dfares/types v6.8.14

Weekly downloads
-
License
MIT
Repository
-
Last release
5 days ago

@dfares/types

This package contains commonly-used data types in the Dark Forest webclient, also accessible in node.js server environments.

Installation

You can install this package using npm or yarn by running:

npm install --save @dfares/types
yarn add @dfares/types

When using this in a plugin, you might want to load it with skypack

import * as types from 'http://cdn.skypack.dev/@dfares/types';

Table of contents

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

Abstract

Ƭ Abstract<Type, Token>: Type & Tagged<Token>

An abstract type used to differentiate between common types, like number or string. The Token type parameter is the key to vary upon and should be unique unless being used to subtype.

Type parameters

NameType
TypeType
Tokenunknown

ArrivalType

Ƭ ArrivalType: Abstract<number, "ArrivalType">

Abstract type representing an arrival type.


Artifact

Ƭ Artifact: Object

Represents data associated with a Dark Forest artifact NFT. Note that some Artifact fields store client-specific data that the blockchain is not aware of, such as unconfirmedDepositArtifact (tracks pending depositArtifact transaction that involves this artifact). If you're using a client that can't send transactions, these fields should be ignored.

Type declaration

NameType
activationsnumber
artifactTypeArtifactType
controllerEthAddress
currentOwnerEthAddress
discovererEthAddress
idArtifactId
imageTypenumber
isInititalizedboolean
lastActivatednumber
lastDeactivatednumber
linkTo?LocationId
mintedAtTimestampnumber
onPlanetId?LocationId
onVoyageId?VoyageId
planetBiomeBiome
planetDiscoveredOnLocationId
rarityArtifactRarity
timeDelayedUpgradeUpgrade
transactions?TransactionCollection
upgradeUpgrade

ArtifactId

Ƭ ArtifactId: Abstract<string, "ArtifactId">

A unique identifier for a Dark Forest NFT artifact. This is a 64-character lowercase hex string not prefixed with 0x. ArtifactIDs should only be instantiated through ArtifactIDs should only be instantiated through artifactIdFromHexStr, artifactIdFromDecStr, and artifactIdFromEthersBN in serde.


ArtifactPointValues

Ƭ ArtifactPointValues: Object

mapping from ArtifactRarity to points earned for finding this artifact.

Index signature

ArtifactRarity: number: number


ArtifactRarity

Ƭ ArtifactRarity: Abstract<number, "ArtifactRarity">

Abstract type representing an artifact rarity level.


ArtifactType

Ƭ ArtifactType: Abstract<number, "ArtifactType">

Abstract type representing an artifact type.


AttribProps

Ƭ AttribProps: Object

Type declaration

NameType
dimnumber
namestring
normalizeboolean
typeAttribType

AttribType

Ƭ AttribType: Abstract<number, "AttribType">


AutoGasSetting

Ƭ AutoGasSetting: Abstract<string, "AutoGasSetting">

The user can choose to have the client automatically choose a gas price for their transactions, depending on how much they are willing to pay and how fast they want their transactions to confirm.


AvatarType

Ƭ AvatarType: Abstract<number, "AvatarType">


Biome

Ƭ Biome: Abstract<number, "Biome">

Abstract type representing a biome.


BlueZone

Ƭ BlueZone: Object

Type declaration

NameType
coordsWorldCoords
locationIdLocationId
operatorEthAddress
radiusnumber

BurnedCoords

Ƭ BurnedCoords: WorldCoords & { hash: LocationId ; operator: EthAddress }

Represents a planet location that has been broadcast on-chain


BurnedLocation

Ƭ BurnedLocation: WorldLocation & { operator: EthAddress ; radius: number }


CaptureZone

Ƭ CaptureZone: Object

Type declaration

NameType
coordsWorldCoords
radiusnumber

ClaimedCoords

Ƭ ClaimedCoords: WorldCoords & { claimer: EthAddress ; hash: LocationId ; score: number }

Represents a planet location that has been broadcast on-chain


ClaimedLocation

Ƭ ClaimedLocation: WorldLocation & { claimer: EthAddress }


ContractMethodName

Ƭ ContractMethodName: "revealLocation" | "claimLocation" | "initializePlayer" | "move" | "upgradePlanet" | "buySkin" | "transferPlanet" | "findArtifact" | "prospectPlanet" | "depositArtifact" | "withdrawArtifact" | "activateArtifact" | "deactivateArtifact" | "changeArtifactImageType" | "buyArtifact" | "withdrawSilver" | "useKey" | "adminUseKey" | "addKeys" | "giveSpaceShips" | "createLobby" | "invadePlanet" | "capturePlanet" | "claimReward" | "burnLocation" | "pinkLocation" | "kardashev" | "blueLocation" | "refreshPlanet" | "buyPlanet" | "buySpaceship" | "donate"


CursorState

Ƭ CursorState: Abstract<string, "CursorState">


DrawMode

Ƭ DrawMode: Abstract<number, "DrawMode">


EthAddress

Ƭ EthAddress: Abstract<string, "EthAddress">

This is expected to be a 40-character, lowercase hex string, prefixed with 0x (so 42 characters in total). EthAddress should only ever be instantiated through the address function in serde.


EthTxStatus

Ƭ EthTxStatus: "Init" | "Processing" | "Prioritized" | "Submit" | "Confirm" | "Fail" | "Cancel"


HSLVec

Ƭ HSLVec: readonly number, number, number


HatType

Ƭ HatType: Abstract<number, "HatType">


KardashevCoords

Ƭ KardashevCoords: WorldCoords & { hash: LocationId ; operator: EthAddress }

Represents a planet location that has been broadcast on-chain


KardashevLocation

Ƭ KardashevLocation: WorldLocation & { operator: EthAddress ; radius: number }


Link

Ƭ Link: Object

Type declaration

NameType
artifactIdArtifactId
fromLocationId
toLocationId

LocatablePlanet

Ƭ LocatablePlanet: Planet & { biome: Biome ; location: WorldLocation }

A planet whose coordinates are known to the client.


LocationId

Ƭ LocationId: Abstract<string, "LocationId">

a unique identifier for a location in the universe (corresponding to some underlying coordinates (x, y)). This is a 64-character lowercase hex string not prefixed with 0x. LocationIDs should only be instantiated through locationIdFromHexStr, locationIdFromDecStr, locationIdFromBigInt, and locationIdFromEthersBN in serde.


LogoType

Ƭ LogoType: Abstract<number, "LogoType">


MemeType

Ƭ MemeType: Abstract<number, "MemeMemeType">


ModalId

Ƭ ModalId: ModalName | PluginId

Modals can either be built into the game, or spawned by a plugin.


ModalManagerEvent

Ƭ ModalManagerEvent: Abstract<string, "ModalManagerEvent">


ModalName

Ƭ ModalName: Abstract<string, "ModalName">

Modals built into the game have a human-readable name.


ModalPositions

Ƭ ModalPositions: Map<ModalId, ModalPosition>


NFTMetadata

Ƭ NFTMetadata: Object

Type declaration

NameType
attributesNFTAttribute[]
descriptionstring
imagestring
namestring

NetworkHealthSummary

Ƭ NetworkHealthSummary: [AutoGasSetting, number][]

On the server we keep track of how fast each auto gas setting confirms in practice.


PinkZone

Ƭ PinkZone: Object

Type declaration

NameType
coordsWorldCoords
locationIdLocationId
operatorEthAddress
radiusnumber

Planet

Ƭ Planet: Object

Represents a Dark Forest planet object (planets, asteroid fields, quasars, spacetime rips, and foundries). Note that some Planet fields (1) store client-specific data that the blockchain is not aware of, such as unconfirmedDepartures (tracks pending moves originating at this planet that have been submitted to the blockchain from a client), or (2) store derived data that is calculated separately client-side, such as silverSpent and bonus. So this object does not cleanly map to any single object in the DarkForest contract (or even any collection of objects).

Type declaration

NameType
adminProtectboolean
bonusPlanetBonus
burnOperator?EthAddress
burnStartTimestamp?number
canShowboolean
capturer?EthAddress
claimer?EthAddress
coordsRevealedboolean
defensenumber
destroyedboolean
emojiBobAnimation?DFAnimation
emojiZoopAnimation?DFAnimation
emojiZoopOutAnimation?DFStatefulAnimation<string>
energynumber
energyCapnumber
energyGroDoublersnumber
energyGrowthnumber
frozenboolean
hasTriedFindingArtifactboolean
hatLevelnumber
hatTypenumber
heldArtifactIdsArtifactId[]
invadeStartBlock?number
invader?EthAddress
isHomePlanetboolean
isInContractboolean
kardashevOperator?EthAddress
kardashevTimestamp?number
lastLoadedServerState?number
lastUpdatednumber
loadingServerStateboolean
localPhotoidUpgrade?Upgrade
locationIdLocationId
messages?PlanetMessage<unknown>[]
needsServerRefreshboolean
ownerEthAddress
pausersnumber
perlinnumber
pinkOperator?EthAddress
planetLevelPlanetLevel
planetTypePlanetType
prospectedBlockNumber?number
rangenumber
revealer?EthAddress
silvernumber
silverCapnumber
silverGroDoublersnumber
silverGrowthnumber
silverSpentnumber
spaceJunknumber
spaceTypeSpaceType
speednumber
syncedWithContractboolean
transactions?TransactionCollection
unconfirmedAddEmojiboolean
unconfirmedClearEmojiboolean
upgradeStateUpgradeState

PlanetBonus

Ƭ PlanetBonus: boolean, boolean, boolean, boolean, boolean, boolean

A list of five flags, indicating whether the planet has an attached comet doubling each of five stats: (in order) energyCap, energyGrowth, range, speed, defense


PlanetLevel

Ƭ PlanetLevel: Abstract<number, "PlanetLevel">

Abstract type representing a planet level.


PlanetMessageBody

Ƭ PlanetMessageBody: EmojiFlagBody | unknown

Thinking about future message types.


PlanetMessageType

Ƭ PlanetMessageType: Abstract<string, "PlanetMessageType">

Abstract type representing a type of planet message.


PlanetType

Ƭ PlanetType: Abstract<number, "PlanetType">

Abstract type representing a planet type.


Player

Ƭ Player: Object

Represents a player; corresponds fairly closely with the analogous contract struct

Type declaration

NameTypeDescription
activateArtifactAmountnumber-
addressEthAddress-
buyArtifactAmountnumber-
buyPlanetAmountnumber-
buySpaceshipAmountnumber-
claimedRewardboolean-
claimedShipsboolean-
dropBombAmountnumber-
finalRanknumber-
hatCountnumber-
homePlanetIdLocationId-
initTimestampnumberseconds (not millis)
kardashevAmountnumber-
lastActivateArtifactTimestampnumber-
lastBurnTimestampnumber-
lastBuyArtifactTimestampnumber-
lastClaimTimestampnumber-
lastKardashevTimestampnumber-
lastRevealTimestampnumberseconds (not millis)
moveCountnumber-
pinkAmountnumber-
pinkedAmountnumber-
score?number-
silvernumber-
spaceJunknumber-
spaceJunkLimitnumber-
twitter?string-

PluginId

Ƭ PluginId: Abstract<string, "PluginId">


RGBAVec

Ƭ RGBAVec: number, number, number, number


RGBVec

Ƭ RGBVec: number, number, number


RegisterResponse

Ƭ RegisterResponse: Object

Type declaration

NameType
error?string
inProgressboolean
success?boolean

RenderZIndex

Ƭ RenderZIndex: Abstract<number, "RenderZIndex">


RendererProgram

Ƭ RendererProgram: Object

Type declaration

NameType
attribs{ [key: string]: AttribProps; }
fragmentShaderstring
uniforms{ [key: string]: UniformProps; }
vertexShaderstring

RendererType

Ƭ RendererType: Abstract<number, "RendererType">

Enum for determining the type of renderer Each renderer should contain a variable called 'rendererType' 'rendererType' should be a enum that corresponds with the type of renderer it is


RevealedCoords

Ƭ RevealedCoords: WorldCoords & { hash: LocationId ; revealer: EthAddress }

Represents a planet location that has been broadcast on-chain


RevealedLocation

Ƭ RevealedLocation: WorldLocation & { revealer: EthAddress }


RuinsInfo

Ƭ RuinsInfo: Object

Index signature

PlanetLevel: number: { props: number, number, number, number ; weights: number, number, number, number }


Scaling

Ƭ Scaling: Object

Type declaration

NameType
xnumber
ynumber

Setting

Ƭ Setting: Abstract<string, "Setting">


SpaceColorConfiguration

Ƭ SpaceColorConfiguration: Object

Type declaration

NameType
deadSpaceColor?string
deepSpaceColor?string
innerNebulaColor?string
nebulaColor?string
spaceColor?string

SpaceType

Ƭ SpaceType: Abstract<number, "SpaceType">

Abstract type representing a type of space.


TextAlign

Ƭ TextAlign: Abstract<number, "TextAlign">


TextAnchor

Ƭ TextAnchor: Abstract<number, "TextAnchor">


TooltipName

Ƭ TooltipName: Abstract<string, "TooltipName">


TransactionId

Ƭ TransactionId: number

A unique incrementing number that identifies a transaction.


Translation

Ƭ Translation: Object

Type declaration

NameType
xnumber
ynumber

UniformJSType

Ƭ UniformJSType: mat4 | mat3 | number | Vec3


UniformProps

Ƭ UniformProps: Object

Type declaration

NameType
namestring
typeUniformType

UniformType

Ƭ UniformType: Abstract<number, "UniformType">


Upgrade

Ƭ Upgrade: Object

The effects of an upgrade on the stats of a planet. Both upgrades purchased for silver as well as artifacts of certain types can modify stats of a planet.

Type declaration

NameType
defMultipliernumber
energyCapMultipliernumber
energyGroMultipliernumber
rangeMultipliernumber
speedMultipliernumber

UpgradeBranchName

Ƭ UpgradeBranchName: Abstract<number, "UpgradeBranchName">

Abstract type representing an upgrade branch.


UpgradeBranches

Ƭ UpgradeBranches: [UpgradeLevels, UpgradeLevels, UpgradeLevels]

Stores the stat effects of upgrades of all three branches: defense, range, speed.


UpgradeLevels

Ƭ UpgradeLevels: [Upgrade, Upgrade, Upgrade, Upgrade]

On a single upgrade branch, the stat effects of the four upgrades.


UpgradeState

Ƭ UpgradeState: number, number, number

How many times a planet has been upgraded along each of the three branches: defense, range, and speed


Vec3

Ƭ Vec3: number, number, number


VoyageId

Ƭ VoyageId: Abstract<string, "VoyageId">

a voyage UID. these start at 1 and auto-increment in the contract. this is immutable and the only place a VoyageId should ever be created is on initial deserialization of a QueuedArrival from contract data (see serde)


WhitelistStatusResponse

Ƭ WhitelistStatusResponse: Object

Type declaration

NameTypeDescription
failedAt?stringFailure timestamp.
position?stringThe address' position in the queue.
txHash?stringIf successful, the hash of the whitelist registration transaction.
whitelistedboolean-

WorldCoords

Ƭ WorldCoords: Object

Represents the coordinates of a location in the world.

Type declaration

NameType
xnumber
ynumber

WorldLocation

Ƭ WorldLocation: Object

A location in the world with relevant properties: the location's ID (deterministically generated from its coords), the spacetype perlin value at these coordinates, and the biomebase perlin value at these coordinates (combined with spacetype to derive the biome here)

Type declaration

NameType
biomebasenumber
coordsWorldCoords
hashLocationId
perlinnumber

Variables

ArrivalType

ArrivalType: Object

Enumeration of arrival types.

Type declaration

NameType
NormalArrivalType
PhotoidArrivalType
UnknownArrivalType
WormholeArrivalType

ArtifactRarity

ArtifactRarity: Object

Enumeration of artifact rarity levels. Common = 1, Mythic = 5

Type declaration

NameType
CommonArtifactRarity
EpicArtifactRarity
LegendaryArtifactRarity
MythicArtifactRarity
RareArtifactRarity
UnknownArtifactRarity

ArtifactRarityNames

Const ArtifactRarityNames: Object

Mapping from ArtifactRarity to pretty-printed names.


ArtifactType

ArtifactType: Object

Enumeration of artifact types.

Type declaration

NameType
AvatarArtifactType
BlackDomainArtifactType
BlindBoxArtifactType
BloomFilterArtifactType
BombArtifactType
ColossusArtifactType
FireLinkArtifactType
IceLinkArtifactType
KardashevArtifactType
MonolithArtifactType
PhotoidCannonArtifactType
PlanetaryShieldArtifactType
PyramidArtifactType
ShipCrescentArtifactType
ShipGearArtifactType
ShipMothershipArtifactType
ShipPinkArtifactType
ShipTitanArtifactType
ShipWhaleArtifactType
SpaceshipArtifactType
StellarShieldArtifactType
UnknownArtifactType
WormholeArtifactType

ArtifactTypeNames

Const ArtifactTypeNames: Object

Mapping from ArtifactType to pretty-printed names.


AttribType

AttribType: Object

Type declaration

NameType
FloatAttribType
UByteAttribType

AutoGasSetting

AutoGasSetting: Object

Type declaration

NameType
AverageAutoGasSetting
FastAutoGasSetting
SlowAutoGasSetting

AvatarType

AvatarType: Object

Enumeration of avatar types.

Type declaration

NameType
BaliGeeAvatarType
BiscarynAvatarType
CathyAvatarType
ChristineAvatarType
DdyAvatarType
FlickaAvatarType
GinkAvatarType
GubsheepAvatarType
HooksAvatarType
HopeAvatarType
IvanAvatarType
MUDAIAvatarType
ModukonAvatarType
SkoonAvatarType
SnowAvatarType
UnknownAvatarType
WeselyAvatarType
XiaoyifuAvatarType
YuppieAvatarType
ZOOJOOAvatarType
ZTAvatarType
ZeroxlauAvatarType
k1icAvatarType
zknevermoreAvatarType

AvatarTypeNames

Const AvatarTypeNames: Object

Mapping from AvatarType to pretty-printed names.


Biome

Biome: Object

Enumeration of the biomes in the game. OCEAN = 1, CORRUPTED = 10

Type declaration

NameType
CORRUPTEDBiome
DESERTBiome
FORESTBiome
GRASSLANDBiome
ICEBiome
LAVABiome
OCEANBiome
SWAMPBiome
TUNDRABiome
UNKNOWNBiome
WASTELANDBiome

BiomeNames

Const BiomeNames: Object

Mapping from Biome to pretty-printed names.


CursorState

CursorState: Object

Type declaration

NameType
NormalCursorState
TargetingExplorerCursorState
TargetingForcesCursorState

DrawMode

DrawMode: Object

Type declaration

NameType
LinesDrawMode
PointsDrawMode
TrianglesDrawMode

HatType

HatType: Object

Enumeration of hat types.

Type declaration

NameType
ChefHatHatType
CowboyHatHatType
FezHatType
FishHatType
GraduationCapHatType
PartyHatHatType
PopeHatHatType
SantaHatHatType
SquidHatType
TopHatHatType
UnknownHatType

HatTypeNames

Const HatTypeNames: Object

Mapping from HatType to pretty-printed names.


LogoType

LogoType: Object

Enumeration of logo types.

Type declaration

NameType
AGLDDAOLogoType
AWHouseLogoType
AWResearchLogoType
BiomesLogoType
ComposableLabsLogoType
DFARESLogoType
DFArchonLogoType
DFDAOLogoType
DarkForestLogoType
DearLogoType
DownStreamLogoType
FunBlocksLogoType
FunCraftLogoType
GGQuestLogoType
LatticeLogoType
MaskLogoType
MetaCatLogoType
MudLogoType
OrdenGGLogoType
PixeLAWLogoType
RedstoneLogoType
RedstoneMarketLogoType
RedswapLogoType
SkyStrifeLogoType
SmallBrainGamesLogoType
ThisCursedMachineLogoType
UnknownLogoType
WASDLogoType
Web3MQLogoType
WorldExplorersLogoType
YeomenAILogoType
ZeroxparcLogoType

LogoTypeNames

Const LogoTypeNames: Object

Mapping from LogoType to pretty-printed names.


MemeType

MemeType: Object

Enumeration of meme types.

Type declaration

NameType
CatMemeType
ChunZhenMemeType
DogeMemeType
HaroldMemeType
NyanCatMemeType
PepeMemeType
RobotCatMemeType
SlerfMemeType
UndreamMemeType
UnknownMemeType
WojakMemeType

MemeTypeNames

Const MemeTypeNames: Object

Mapping from MemeType to pretty-printed names.


ModalManagerEvent

ModalManagerEvent: Object

Type declaration

NameType
MiningCoordsUpdatestring
StateChangedstring

ModalName

ModalName: Object

Type declaration

NameType
ArtifactConversationModalName
ArtifactDetailsModalName
BroadcastModalName
DiagnosticsModalName
HatsModalName
HelpModalName
LeaderboardModalName
ManageAccountModalName
ManageArtifactsModalName
MapShareModalName
OnboardingModalName
PlanetContextPaneModalName
PlanetDetailsModalName
PlanetDexModalName
PluginEditorModalName
PluginWarningModalName
PluginsModalName
PrivateModalName
SettingsModalName
TradeModalName
TransactionLogModalName
TwitterVerifyModalName
UpgradeDetailsModalName
WithdrawSilverModalName
YourArtifactsModalName

PlanetLevel

PlanetLevel: Object

Enumeration of the possible planet levels.

Type declaration

NameType
EIGHTPlanetLevel
FIVEPlanetLevel
FOURPlanetLevel
NINEPlanetLevel
ONEPlanetLevel
SEVENPlanetLevel
SIXPlanetLevel
THREEPlanetLevel
TWOPlanetLevel
ZEROPlanetLevel

PlanetLevelNames

Const PlanetLevelNames: Object

Mapping from PlanetLevel to pretty-printed names.


PlanetMessageType

PlanetMessageType: Object

Each message type has a corresponding entry here.

Type declaration

NameType
EmojiFlagPlanetMessageType

PlanetType

PlanetType: Object

Enumeration of the planet types. (PLANET = 0, SILVER_BANK = 4)

Type declaration

NameType
PLANETPlanetType
RUINSPlanetType
SILVER_BANKPlanetType
SILVER_MINEPlanetType
TRADING_POSTPlanetType

PlanetTypeNames

Const PlanetTypeNames: Object

Mapping from PlanetType to pretty-printed names.


RenderZIndex

RenderZIndex: Object

Type declaration

NameType
BackgroundRenderZIndex
DEFAULTRenderZIndex
MAXRenderZIndex
PlanetsRenderZIndex
TextRenderZIndex
UIRenderZIndex
VoyagesRenderZIndex

RendererType

RendererType: Object

Type declaration

NameType
AsteroidRendererType
BackgroundRendererType
BeltRendererType
BlackDomainRendererType
BlueZoneRendererType
CaptureZoneRendererType
CircleRendererType
LineRendererType
LinkRendererType
MineRendererType
MineBodyRendererType
PerlinRendererType
PinkZoneRendererType
PlanetRendererType
PlanetManagerRendererType
QuasarRendererType
QuasarBodyRendererType
QuasarRayRendererType
RectRendererType
RingRendererType
RuinsRendererType
SpaceRendererType
SpacetimeRipRendererType
SpriteRendererType
TextRendererType
UIRendererType
UnminedRendererType
VoyagerRendererType

Setting

Setting: Object

Each setting has a unique identifier. Each account gets to store its own local storage setting, per instance of the dark forest contract that it's connected to.

Type declaration

NameType
AutoApproveNonPurchaseTransactionsSetting
AutoClearConfirmedTransactionsAfterSecondsSetting
AutoClearRejectedTransactionsAfterSecondsSetting
BottomHotkeyVisibleSetting
DisableDefaultShortcutsSetting
DisableEmojiRenderingSetting
DisableFancySpaceEffectSetting
DisableHatRenderingSetting
DrawChunkBordersSetting
ExperimentalFeaturesSetting
ForceReloadEmbeddedPluginsSetting
FoundArtifactSetting
FoundCometSetting
FoundDeepSpaceSetting
FoundPiratesSetting
FoundSilverSetting
FoundSilverBankSetting
FoundSpaceSetting
FoundTradingPostSetting
GasFeeGweiSetting
GasFeeLimitSetting
HasAcceptedPluginRiskSetting
HighPerformanceRenderingSetting
IsMiningSetting
MiningCoresSetting
MoveNotificationsSetting
NewPlayerSetting
OptOutMetricsSetting
PaneVisibleSetting
PlanetDefaultEnergyLevelToSendSetting
PlanetDefaultEnergyLevelToSendResetSetting
RendererColorDeadSpaceSetting
RendererColorDeepSpaceSetting
RendererColorInnerNebulaSetting
RendererColorNebulaSetting
RendererColorSpaceSetting
TerminalVisibleSetting
TutorialCompletedSetting
TutorialOpenSetting

SpaceType

SpaceType: Object

Enumeration of the types of space in the game. NEBULA = 0, DEAD_SPACE = 3

Type declaration

NameType
DEAD_SPACESpaceType
DEEP_SPACESpaceType
NEBULASpaceType
SPACESpaceType

SpaceTypeNames

Const SpaceTypeNames: Object

Mapping from SpaceType to pretty-printed names.


TextAlign

TextAlign: Object

Type declaration

NameType
CenterTextAlign
LeftTextAlign
RightTextAlign

TextAnchor

TextAnchor: Object

Type declaration

NameType
BottomTextAnchor
MiddleTextAnchor
TopTextAnchor

TooltipName

TooltipName: Object

Type declaration

NameType
AbandonTooltipName
ActivateArtifactTooltipName
ArtifactBuffTooltipName
ArtifactStoredTooltipName
BlueTooltipName
BlueDisabledTooltipName
BonusTooltipName
BonusDefenseTooltipName
BonusEnergyCapTooltipName
BonusEnergyGroTooltipName
BonusRangeTooltipName
BonusSpaceJunkTooltipName
BonusSpeedTooltipName
BuyHatTooltipName
CancelTransactionTooltipName
CapturableTooltipName
ClowntownTooltipName
CurrentMiningTooltipName
DeactivateArtifactTooltipName
DefenseTooltipName
DefenseMultiplierTooltipName
DepositArtifactTooltipName
DropBombTooltipName
DropBombDisabledTooltipName
EmptyTooltipName
EnergyTooltipName
EnergyCapMultiplierTooltipName
EnergyGrowthTooltipName
EnergyGrowthMultiplierTooltipName
FindArtifactTooltipName
HashesPerSecTooltipName
HoverPlanetTooltipName
InvadableTooltipName
KardashevTooltipName
KardashevDisabledTooltipName
MaxLevelTooltipName
MinEnergyTooltipName
MiningPauseTooltipName
MiningTargetTooltipName
ModalFindArtifactTooltipName
ModalHatsTooltipName
ModalHelpTooltipName
ModalLeaderboardTooltipName
ModalPlanetDetailsTooltipName
ModalPlanetDexTooltipName
ModalPluginsTooltipName
ModalSettingsTooltipName
ModalTwitterBroadcastTooltipName
ModalTwitterVerificationTooltipName
ModalUpgradeDetailsTooltipName
ModalWithdrawSilverTooltipName
ModalYourArtifactsTooltipName
NetworkHealthTooltipName
PinkTooltipName
PinkDisabledTooltipName
PiratesTooltipName
PlanetRankTooltipName
PlayerSilverTooltipName
PrioritizeTransactionTooltipName
RangeTooltipName
RangeMultiplierTooltipName
RankTooltipName
RetryTransactionTooltipName
ScoreTooltipName
SelectedSilverTooltipName
SilverTooltipName
SilverCapTooltipName
SilverGrowthTooltipName
SilverProdTooltipName
SpaceJunkTooltipName
SpeedTooltipName
SpeedMultiplierTooltipName
Time50TooltipName
Time90TooltipName
TimeUntilActivationPossibleTooltipName
TwitterHandleTooltipName
UpgradesTooltipName
WithdrawArtifactTooltipName
WithdrawSilverButtonTooltipName(README.md#t
6.8.14

5 days ago

6.8.13

14 days ago

6.8.12

29 days ago

6.8.11

29 days ago

6.8.10

2 months ago

6.8.9

2 months ago

6.8.8

2 months ago

6.8.7

2 months ago

6.8.6

4 months ago

6.8.5

6 months ago

6.8.4

10 months ago

6.8.3

10 months ago

6.8.2

10 months ago

6.8.1

10 months ago

6.9.4

10 months ago

6.9.3

10 months ago

6.9.2

10 months ago

6.9.1

10 months ago

6.9.0

10 months ago

6.8.0

10 months ago

6.8.0-dev.0

10 months ago