On this page

← All documentation

SDK reference

The typed SDK of mods, skins and map scripts, generated from the game: every function, event and type.

Everything on these pages is read from modding.d.ts, the declarations the game generates from its Rust contracts (Modding API version 2). Signatures and types cannot drift from the game; the descriptions come from notes that are checked for coverage in both languages.

Pages

Where is each type?

Every type of the SDK is defined once, on the first page that uses it.

Type Page
Anchor HUD
Animate HUD
AnimateKind HUD
AnimateOn HUD
AuthKind Download sources and skin import
AuthScope Download sources and skin import
BackfillRequest Ratings, tables, calculators and library filters
Beat Declarations and ctx
Border HUD
BoxNode HUD
BpmRange Declarations and ctx
BridgeAction Download sources and skin import
BridgeActionResult Download sources and skin import
BridgeDefinition Download sources and skin import
BridgeDownload Download sources and skin import
BridgeExpect Download sources and skin import
BridgeFormat Download sources and skin import
BridgeMethod Download sources and skin import
BridgeOnResponse Download sources and skin import
BridgeRequest Download sources and skin import
BridgeResponse Download sources and skin import
BridgeResult Download sources and skin import
BridgeSearch Download sources and skin import
BridgeStep Download sources and skin import
CalculatorRequest Ratings, tables, calculators and library filters
ChartAdded Declarations and ctx
ChartDefinition Declarations and ctx
ChartManifest Declarations and ctx
ChartMetric Ratings, tables, calculators and library filters
ChartNotes Judgements, modifiers, scroll speeds and chart transforms
ChartSetup Declarations and ctx
ChartTransformEvent Declarations and ctx
ChartsAdded Declarations and ctx
ColumnDefinition Ratings, tables, calculators and library filters
ColumnKind Ratings, tables, calculators and library filters
Dependency Declarations and ctx
DependencySpec Declarations and ctx
DifficultySpec Download sources and skin import
DownloadAuth Download sources and skin import
DownloadDeclaration Download sources and skin import
DownloadKind Download sources and skin import
DownloadSpec Download sources and skin import
DownloadTarget Download sources and skin import
Easing Game state, storage, logging and keys
EditorApi Editor mods (editor.*)
EditorCommandDef Editor mods (editor.*)
EditorIcon Editor mods (editor.*)
EditorIssue Editor mods (editor.*)
EditorListAction Editor mods (editor.*)
EditorListItem Editor mods (editor.*)
EditorModContext Editor mods (editor.*)
EditorModDefinition Editor mods (editor.*)
EditorModStorage Editor mods (editor.*)
EditorNotePreview Editor mods (editor.*)
EditorPanelDef Editor mods (editor.*)
EditorParamDef Editor mods (editor.*)
EditorPatternDef Editor mods (editor.*)
EditorPlacementStep Editor mods (editor.*)
EditorPointer Editor mods (editor.*)
EditorStateApi Editor mods (editor.*)
EditorTempo Editor mods (editor.*)
EditorTempoPoint Editor mods (editor.*)
EditorTool Editor mods (editor.*)
EditorToolDef Editor mods (editor.*)
EditorValidationDef Editor mods (editor.*)
EditorViewNode Editor mods (editor.*)
ElementConfigure Declarations and ctx
ElementDeclaration Declarations and ctx
ElementOption Declarations and ctx
ExtendableTab Tabs and the local leaderboard
Fill HUD
Flow HUD
FlowAlign HUD
FlowDirection HUD
FlowJustify HUD
GameplayModifierDeclaration Judgements, modifiers, scroll speeds and chart transforms
GameplayModifierKind Judgements, modifiers, scroll speeds and chart transforms
Gradient HUD
GradientStop HUD
GroupNode HUD
Hit Game state, storage, logging and keys
HitLightOn Game state, storage, logging and keys
HitList Game state, storage, logging and keys
HitQuery Game state, storage, logging and keys
HoldMissedStyle Game state, storage, logging and keys
HostEventContext Declarations and ctx
HostEventHandler Declarations and ctx
HostEventReply Declarations and ctx
HostEvents Declarations and ctx
HostHotContext Declarations and ctx
HostReplies Declarations and ctx
HudAction HUD
HudElement HUD
HudLabel HUD
ImageBox Download sources and skin import
ImageFit HUD
ImageNode HUD
ImageOp Download sources and skin import
ImageSize Download sources and skin import
ImportPanelDefinition Download sources and skin import
ImporterDeclaration Download sources and skin import
ImporterText Download sources and skin import
IniEntry Declarations and ctx
IniGeneral Declarations and ctx
IniSection Declarations and ctx
ItemSpec Download sources and skin import
JudgementConfig Declarations and ctx
JudgementEvent Declarations and ctx
JudgementLineAt Game state, storage, logging and keys
JudgementParam Judgements, modifiers, scroll speeds and chart transforms
JudgementSetDefinition Judgements, modifiers, scroll speeds and chart transforms
JudgementTier Judgements, modifiers, scroll speeds and chart transforms
JudgementTiers Judgements, modifiers, scroll speeds and chart transforms
KeyLane Game state, storage, logging and keys
KeyPress Game state, storage, logging and keys
KeyQuery Game state, storage, logging and keys
KeyState Game state, storage, logging and keys
Lane Declarations and ctx
LaneSpec Game state, storage, logging and keys
LaneUpdate Game state, storage, logging and keys
Layout HUD
LeaderboardBestQuery Tabs and the local leaderboard
LeaderboardEntry Declarations and ctx
LeaderboardPerformance Declarations and ctx
LeaderboardQuery Tabs and the local leaderboard
LeaderboardResult Declarations and ctx
LeaderboardStat Tabs and the local leaderboard
LibraryFilterDeclaration Ratings, tables, calculators and library filters
LibraryReady Declarations and ctx
LobbyCoopLive Declarations and ctx
LobbyLiveEvent Declarations and ctx
LobbyRival Declarations and ctx
ManiaColumn Declarations and ctx
ManiaSection Declarations and ctx
MapMarker Editor mods (editor.*)
MapNote Editor mods (editor.*)
MapPluginApi Editor mods (editor.*)
MapSection Editor mods (editor.*)
MapTimingPoint Editor mods (editor.*)
MeasureLineLength Game state, storage, logging and keys
MetronCalculator Ratings, tables, calculators and library filters
MetronCatalog Ratings, tables, calculators and library filters
MineRule Judgements, modifiers, scroll speeds and chart transforms
ModActionDeclaration Game state, storage, logging and keys
ModActionEvent Declarations and ctx
ModDefinition Declarations and ctx
ModManifest Declarations and ctx
ModParamDeclaration Judgements, modifiers, scroll speeds and chart transforms
ModSettings Declarations and ctx
ModSetup Declarations and ctx
NativeBytes Judgements, modifiers, scroll speeds and chart transforms
NodePatch HUD
Note Game state, storage, logging and keys
NoteLevel Download sources and skin import
NoteMask Game state, storage, logging and keys
NoteMaskCover Game state, storage, logging and keys
NoteMaskEvent Declarations and ctx
NotePage Game state, storage, logging and keys
NoteQuery Game state, storage, logging and keys
NoteSnapEnd Game state, storage, logging and keys
NoteSnapMax Game state, storage, logging and keys
NoteSnapTintMode Game state, storage, logging and keys
NoteSubmission Judgements, modifiers, scroll speeds and chart transforms
OffsetSide HUD
OnlySpec Download sources and skin import
OptionKind Declarations and ctx
PagingKind Download sources and skin import
PagingSpec Download sources and skin import
PanelAction Download sources and skin import
PanelBadge Download sources and skin import
PanelMeter Download sources and skin import
PanelNote Download sources and skin import
PanelPart Download sources and skin import
PanelRow Download sources and skin import
PanelSection Download sources and skin import
PanelStatus Download sources and skin import
PanelTile Download sources and skin import
PanelTone Download sources and skin import
PatternRandomness Editor mods (editor.*)
PatternStep Editor mods (editor.*)
PatternStepsInput Editor mods (editor.*)
PauseMenuRow Declarations and ctx
PauseMenuState Declarations and ctx
PerformanceRequest Ratings, tables, calculators and library filters
PerformanceResult Declarations and ctx
Permission Declarations and ctx
PixelBox Declarations and ctx
PlayContext Declarations and ctx
PlayerState Game state, storage, logging and keys
Playfield Declarations and ctx
PlayfieldAnchor Game state, storage, logging and keys
PlayfieldSide Declarations and ctx
PlayfieldSpec Game state, storage, logging and keys
PlayfieldUpdate Game state, storage, logging and keys
PopupAction Game state, storage, logging and keys
PopupActionEvent Declarations and ctx
PopupDefinition Game state, storage, logging and keys
Provides Declarations and ctx
RatingColorStop Ratings, tables, calculators and library filters
RatingColors Ratings, tables, calculators and library filters
RatingDeclaration Ratings, tables, calculators and library filters
RatingField Ratings, tables, calculators and library filters
RatingFieldSource Ratings, tables, calculators and library filters
RatingPanel Ratings, tables, calculators and library filters
RatingPattern Ratings, tables, calculators and library filters
RatingProgress Declarations and ctx
RatingSeries Ratings, tables, calculators and library filters
RatingSeriesSource Ratings, tables, calculators and library filters
Report Declarations and ctx
ResponseFormat Download sources and skin import
ResponseSpec Download sources and skin import
ResultAction Download sources and skin import
ResultDetail Download sources and skin import
ScrollDirection Game state, storage, logging and keys
ScrollSpeedContext Judgements, modifiers, scroll speeds and chart transforms
ScrollSpeedDefinition Judgements, modifiers, scroll speeds and chart transforms
ScrollSpeedParam Judgements, modifiers, scroll speeds and chart transforms
ScrollSpeedToMs Judgements, modifiers, scroll speeds and chart transforms
SearchSpec Download sources and skin import
SetAccuracy Judgements, modifiers, scroll speeds and chart transforms
SetHolds Judgements, modifiers, scroll speeds and chart transforms
Shadow HUD
ShowWhen HUD
SkinDefinition Declarations and ctx
SkinDescription Download sources and skin import
SkinHud Download sources and skin import
SkinImportAction Declarations and ctx
SkinImportCreate Download sources and skin import
SkinImportCreated Declarations and ctx
SkinImportOpened Declarations and ctx
SkinImportStaged Declarations and ctx
SkinIni Declarations and ctx
SkinLayout Download sources and skin import
SkinManifest Declarations and ctx
SkinSetup Declarations and ctx
SkinSource Declarations and ctx
Song Declarations and ctx
SongEndEvent Declarations and ctx
SongStartEvent Declarations and ctx
SongTime Declarations and ctx
SourceFile Declarations and ctx
SourceImage Declarations and ctx
SourceKind Declarations and ctx
SpriteSize Game state, storage, logging and keys
StageAlign Native drawing (stage)
StageAnimation Native drawing (stage)
StageColumn Native drawing (stage)
StageCue Native drawing (stage)
StageEmitter Native drawing (stage)
StageEvent Native drawing (stage)
StageJudgementFilter Native drawing (stage)
StageLayer Native drawing (stage)
StagePoint Native drawing (stage)
StageProps Native drawing (stage)
StageRect Native drawing (stage)
StageRequest Download sources and skin import
StageSize Native drawing (stage)
StageSpace Native drawing (stage)
StageSprite Native drawing (stage)
StageText Native drawing (stage)
StageTrigger Native drawing (stage)
StagedFile Declarations and ctx
StorageEntry Game state, storage, logging and keys
Style HUD
TabDeclaration Tabs and the local leaderboard
TabExtensionDeclaration Tabs and the local leaderboard
TabField Tabs and the local leaderboard
TabFieldSource Tabs and the local leaderboard
TabPanel Tabs and the local leaderboard
TabSlot Tabs and the local leaderboard
TableDefinition Ratings, tables, calculators and library filters
TextAlign HUD
TextBinding HUD
TextNode HUD
TextureFilter Game state, storage, logging and keys
TickEvent Declarations and ctx
TierCount Declarations and ctx
TierInfo Declarations and ctx
TierRef Declarations and ctx
TimingPoint Declarations and ctx
Transform HUD
VersusMetric HUD

Source in the game repository: content/mods/sdk/modding.d.ts