Skip to main content

Type browser

Every type in Alta's code: Root.Township and the Alta.* assemblies of the server build. The lists below are by area. Click a type for its own page: every field, property, event and method with its signature and whether it's public, what it inherits and what inherits it, which guide covers it, and every member elsewhere that uses it. The type names in signatures link on, so you can follow the code from type to type. The last column links to the guide that covers a type, when one does.

Type and member names in code across the Mod, TavernLib API and Game API sections link here too, like PlayerChunkManager or ServerHandler.PlayerLimit. The type pages are made from the game's own assemblies, so they include private members, marked as such: a mod reaches those through att-stubs' publicized assemblies or Harmony's AccessTools.

5722 types are listed, 692 of them with a hand-written page.

Pages​

PageTypesWith a page
Networking and servers20131
World, chunks and saving17225
World generation33974
Creatures and AI26776
Items, inventory and logic28982
Crafting and making25275
Stats, effects, heat and liquid18573
Players and characters25020
Customization and screenshots1449
Console, logging and analytics13916
Menus, UI and platforms1280
Utilities and other Alta namespaces2066
ATT, Features and other game namespaces23316
Global namespace: A to B19513
Global namespace: C to D27515
Global namespace: E to H29127
Global namespace: I to L29510
Global namespace: M to O1708
Global namespace: P32739
Global namespace: Q to R1144
Global namespace: S31516
Global namespace: T to X24913
Alta.Api.Client1212
Alta.Api.DataTransferModels2774
Other Alta assemblies28838

The columns​

ColumnWhat it shows
TypeThe type name. Nested types are written Outer.Inner. Generic types show their type parameters.
Kindclass, struct, interface, enum, delegate or record, with static or abstract for classes. A type that isn't public says so (internal, private), and so does a public nested type inside a non-public one. You can still reach those through att-stubs' publicized Root.Township or Harmony's AccessTools.
BaseThe base class and interfaces, as declared, at most three. For an enum it's the underlying type.
Public membersPublic fields, properties, methods, events, constructors and operators declared in the type itself, each overload counted once. Inherited members and nested types aren't counted. For an enum it's the number of values; for an interface, every member.
Documented inThe hand-written page (or two) that covers the type, found by its name in a heading or a table cell. The text after it is the first line of that page's description, when there is one.

What is listed​

  • Every top-level type, public or not.
  • Nested types only when they're public all the way out. The editor menu path classes nested in AltaMenuItemBase are counted on its row instead.
  • Compiler-made types (async state machines, lambdas' closures) aren't in the decompiled source, so they aren't here.

What is skipped​

Third-party libraries built into Root.Township are left out. The game uses them, but they're documented by their makers:

LibraryTypes skipped
Steamworks.NET351
Wwise (Audiokinetic) Unity integration208
A* Pathfinding Project199
FinalIK108
I2 Localization79
Triangle.NET60
FlyingWorm Console Pro59
Discord Game SDK56
QuickLod38
Agones game server SDK12
Amplify Impostors11
VTL ListView9
YuME map editor9
CSharpCompiler (runtime C# compiling)7
Stylized Water Shader6
MHLab PATCH3
MegaSplat and Vertex Painter Pro3
Unity post-processing stack3
UnityHeapEx (heap dumps)2
Discord RPC1
Gaia1
VacuumBreather PID controller1

Their namespaces are AK, Agones, AmplifyImpostors, CSharpCompiler, Discord, FlyingWormConsole3, Gaia, I2, JBooth, MHLab, Pathfinding, QuickLod, RootMotion, Steamworks, StylizedWaterShader, TriangleNet, UnityEngine.PostProcessing, UnityHeapEx, VTL, VacuumBreather. Wwise's types with no namespace (names starting with Ak or AK, and its Wwise...Reference types) are skipped too, and so are a few loose third-party scripts: AILerp, AstarPath, BlockManager, ConsoleProDebug, DiscordRpc, LodObserverLamp, LodStructureEmpty, MegaSplatTerrainManager, Seeker, SingleNodeBlocker, SteamManager, TurnBasedAI and the YuME_ map editor types.

Other assemblies in Managed (Unity, kcp2k, VContainer, NLog, Fleck, Newtonsoft.Json and so on) aren't Alta's and aren't listed. Four small assemblies of Alta's aren't listed either, because they weren't decompiled with the rest: AltaPlatformSdk, AltaSocketsNETFramework, Township.Core.Runtime and Township.PostProcessing.

How this list is made​

A script reads the decompiled server build (ILSpy output) with pattern matching, not a compiler. Counts can be off by one or two for an unusual declaration, and a type declared in an odd way could be missing. Check the type in att-stubs or a decompiler before you rely on a detail. The links to hand-written pages are found by name, so a type that shares its name with another can miss its link.

See also​