Skip to main content

Other Alta assemblies

Types in the smaller Alta.* assemblies, one section per assembly. 288 types, 38 with a hand-written page.

See the overview for what the columns mean and how this list is made.

Alta.Analytics.Runtime​

Alta.Analytics​

TypeKindBasePublic membersDocumented in, or what it is
AbstractAnalyticsDispatcherabstract classIInitializable1Base for classes that receive every analytics event sent through the IAnalyticsService and send it somewhere. Built by VContainer; AltaAnalyticsDispatcher is the game's one.
AnalyticsDataclassIAnalyticsData, IAnalyticsPropertyWriter, IReadonlyAnalyticsData, +3 more7The payload of one analytics event: its name, optional user ID and a list of name and value properties. Built by AnalyticsEvent.
AnalyticsEventabstract classIAnalyticsEvent, IAnalyticsPropertyWriter6Base class for analytics events in the current system. Holds the event data and lets instruments add extra properties once VContainer injects the event.
AnalyticsPropertystructIAnalyticsProperty3One name and value pair in an analytics event.
AnalyticsServiceclassIAnalyticsService, IEventSource<IReadonlyAnalyticsData>5The analytics hub: events sent to it are injected and their data passed to every listener. Registered in VContainer; listeners are dispatchers like AltaAnalyticsDispatcher.
IAnalyticsDatainterfaceIAnalyticsPropertyWriter, IReadonlyAnalyticsData, IReadOnlyCollection<IAnalyticsProperty>, +2 more1A writable set of analytics properties for one event, which can also be tagged with a user.
IAnalyticsEventinterfaceIAnalyticsPropertyWriter4An analytics event: a name, an optional user id and its properties, plus instruments that add extra data. Sent through IAnalyticsService.Send.
IAnalyticsInstrumentinterface1Something that adds data to an analytics event when it is sent. Added to an event with IAnalyticsEvent.AddInstrument.
IAnalyticsPropertyinterface2One named value on an analytics event.
IAnalyticsPropertyWriterinterface1Something you can add analytics properties to. Implemented by AnalyticsData and AnalyticsEvent.
IAnalyticsServiceinterfaceIEventSource<IReadonlyAnalyticsData>1The game's analytics event bus. Listeners (dispatchers) receive each event's data.
IReadonlyAnalyticsDatainterfaceIReadOnlyCollection<IAnalyticsProperty>, IEnumerable<IAnalyticsProperty>, IEnumerable2Event buses and services: string EventName, int? UserId, and the properties (IAnalyticsProperty) as a collection.

Alta.ArrayPools.Runtime​

Alta.ArrayPools​

TypeKindBasePublic membersDocumented in, or what it is
ArrayPoolManagerstatic class4Keeps track of every power-of-two array pool in the game so they can be logged.
IUnclearedPower2ArrayPoolinterface1Non-generic view of an UnclearedPower2ArrayPool so ArrayPoolManager.LogAllPools can list every pool's arrays.
UnclearedPower2ArrayPool<T>classIUnclearedPower2ArrayPool7Thread-safe pool of arrays in power-of-two sizes (16 and up). Arrays are not cleared, so a requested array can be larger than asked for and hold old data. Use Shared for the common pool.

Alta.Attributes​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
BoolValueLabelingclassConditionalLabeling3Inspector attribute that labels a field one of two ways depending on a named bool, with optional default values for each case. Extends ConditionalLabeling.
BuildTestAttributeclassAttribute0Marks a method as a build test. Nothing in the server build looks for it, so it's probably read by an editor build check.
ButtonAttributeclassPropertyAttribute5Inspector attribute that draws a button for a bool field and calls a method on the component when it's clicked. Editor only in effect.
CacheTransformAttributeclassPrefabApplyAttribute1Prefab-apply attribute for a Transform field: when the prefab is applied, sets the field to the component's own transform.
CacheTransformIfEmptyAttributeclassPrefabApplyAttribute1Prefab-apply attribute for a Transform field: fills it with the component's own transform only when the field is empty.
CleanNullsAttributeclassPrefabApplyAttribute1Prefab-apply attribute meant for removing null entries from a list field. In this build HandleApply does nothing.
CleanRangeclassPropertyAttribute5Inspector attribute for a range slider on a number field, with an optional line under it.
CommentAttributeclassPropertyAttribute4Inspector attribute that shows a comment box above a field.
CommentAttribute.MessageTypeenum4Icon style for a CommentAttribute note in the inspector: none, info, warning or error.
ConditionalLabelingabstract classPropertyAttribute7Base inspector attribute that labels a field one of two ways depending on a condition, with optional default values for each case. Used by BoolValueLabeling and HasComponentLabel.
ConditionAttributeclassPropertyAttribute4Inspector attribute that shows, hides or locks a field depending on a bool member of the same object.
CustomMethodApplyAttributeclassPrefabApplyAttribute3Prefab apply attribute that calls a named method on the component when the prefab is applied. The method should return bool (true means it applied); methods are looked up by reflection and cached.
DegreeToRadianclassPropertyAttribute0Inspector attribute for a float field, probably so it is edited in degrees and stored in radians. It has no members; the drawer isn't in the server build.
DotFromAngleclassPropertyAttribute0Property attribute with no fields, probably used by an editor drawer to edit a dot product value as an angle.
EnumFlagsAttributeclassPropertyAttribute0Property attribute that marks an enum field to be edited as flags in the inspector.
FloatRangeSettingsclassPropertyAttribute4Property attribute that stores a min and max for an inspector float range.
ForcedCapitalizationAttributeclassPropertyAttribute0Marker property attribute, probably for an editor drawer that forces a string field's capitalisation. Not used in this build.
FormattedBytesFieldAttributeclassPropertyAttribute0Marks a field to be shown as a byte size (KB, MB) in the inspector. Used on network statistics.
GetComponentAttributeclassPrefabApplyAttribute6Field attribute that fills the field with a component from the same object when the prefab is applied, probably in the editor (the caller isn't in this build). Base for the other GetComponent attributes.
GetComponentIfEmptyAttributeclassGetComponentAttribute1Like GetComponentAttribute, but only fills the field when it is empty.
GetComponentInChildrenAttributeclassGetComponentAttribute2Like GetComponentAttribute, but searches this object and its children.
GetComponentInParentAttributeclassGetComponentAttribute1Like GetComponentAttribute, but searches this object and its parents.
GetComponentsAttributeclassPrefabApplyAttribute5Array field attribute that fills the field with all matching components on the same object when the prefab is applied. Base for the plural GetComponents attributes.
GetComponentsInChildrenAttributeclassGetComponentsAttribute1Like GetComponentsAttribute, but collects components from this object and its children.
GetComponentsInChildrenInterfaceAttributeclassGetComponentsInterfaceAttribute2Like GetComponentsInterfaceAttribute, but collects from this object and its children.
GetComponentsInParentAttributeclassGetComponentsAttribute1Like GetComponentsAttribute, but collects components from this object and its parents.
GetComponentsInterfaceAttributeclassPrefabApplyAttribute6Array field attribute that fills the field with every component implementing an interface. The field must hold MonoBehaviour elements.
HasComponentLabelclassConditionalLabeling3Conditional label attribute that picks one of two labels (and default values) based on whether the object has a given component.
HashedObjectAttributeclassPropertyAttribute2Inspector attribute that marks a field as a hash pointing to an object of a given type.
HasMethodApplyAttributeclassAttribute0Marker attribute for classes; it holds no data.
HasReferenceValueAttributeclassPrefabApplyAttribute2Prefab apply attribute for a bool field: keeps it set to whether another named field holds a non-null object.
InversedIntAttributeclassPropertyAttribute2Property attribute with a label, probably for an editor drawer that shows an int inverted. Nothing in the decompiled code uses it.
LabelAddclassPropertyAttribute2Property attribute that adds text to a field's inspector label, such as a unit like (°/s) or a hint like : -1 to disable.
MaxAttributeclassPropertyAttribute2Inspector attribute that sets a maximum for a float field. The drawer that enforces it is not in the server build.
MethodApplyAttributeclassAttribute0Empty marker attribute for methods. Nothing in the server build reads it; probably part of the prefab apply tooling with HasMethodApplyAttribute.
MinAttributeclassPropertyAttribute2Inspector attribute that sets a minimum for a float field. The drawer that enforces it is not in the server build.
NormalizedVectorclassPropertyAttribute0Inspector attribute for a vector field that should be normalized. No behaviour of its own.
NotConditionAttributeclassConditionAttribute1Inspector attribute: hides the field while the named bool is true and shows it while it is false. The reverse of ConditionAttribute's default.
NullConditionAttributeclassPropertyAttribute4Inspector attribute that shows, hides or locks a field depending on whether another object field is null.
ObsoleteFieldAttributeclassPropertyAttribute0Inspector attribute that marks a serialized field as obsolete. No behaviour of its own.
PlatformConditionAttributeclassPropertyAttribute3Inspector attribute that marks a field as only relevant on certain platforms, either from PlatformFlags or an Android or desktop flag.
PostHeaderAttributeclassPropertyAttribute2Inspector attribute carrying header text, probably drawn after the field it is on.
PrefabApplyAttributeabstract classPropertyAttribute1Base for field attributes that fill in or check a field when a prefab is applied in the editor, such as GetComponent and CacheTransform.
QuaternionVector3AttributeclassPropertyAttribute0Inspector attribute with no members; probably shows a Quaternion field as Euler angles through an editor drawer.
ReadOnlyAttributeclassPropertyAttribute4Inspector attribute that shows a field as read only, with separate modes for in and out of play mode.
ReadOnlyInDebugAttributeclassPropertyAttribute0Inspector attribute with no members; probably makes a field read only in the inspector's debug view.
ReadOnlyModeenum3How an inspector field shows under a condition (ReadOnlyAttribute, ValueConditionAttribute): hidden, read-only or editable. Editor only.
ReorderableListAttributeclassPropertyAttribute5Inspector attribute that shows a list as a reorderable list, with options for dragging, header and add and remove buttons.
SceneNameAttributeclassPropertyAttribute0Property attribute that marks a string field as a scene name, probably so the inspector shows a scene picker.
SerializedInterfaceAttributeclassPropertyAttribute2Property attribute that marks a serialized field as holding an object that must implement a given interface, probably for an inspector picker.
SquaredValueclassPropertyAttribute0Marker attribute for a serialized float that is stored as a squared value, such as a squared velocity threshold. Has no members of its own.
StepAnimationCurveAttributeclassPropertyAttribute0Inspector attribute for an AnimationCurve field, probably to draw it as a stepped curve. No code of its own.
SubInspectorAttributeclassPropertyAttribute0Inspector attribute, probably to draw a referenced object's fields inline. No code of its own.
TanFromAngleclassPropertyAttribute0Inspector attribute, probably to edit a tangent value as an angle. No code of its own.
TimeInSecondsAttributeclassPropertyAttribute0Inspector attribute, probably to show a float as a time in seconds. No code of its own.
TypeExtensionsstatic class4Reflection helpers that look up fields and methods on a type and all its base types, so private members of base classes are found too.
ValidatePrefabApplyAttributeclassPrefabApplyAttribute2Prefab-apply attribute for a bool field: when a prefab is applied, sets the field to the result of a named method on the component.
ValueConditionAttributeclassPropertyAttribute5Inspector attribute that shows, hides or locks a field based on whether another number field is above a threshold.

Alta.Authentication​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
PlayerSubscriberStatusenum4Player, Alta assemblies: None, Subscriber, Developer, AltaMod (0 to 3).
UserPermissionsstatic class7Permission name constants and checks against the logged-in user's API policies. Checks the local logged-in account, so it is mainly a client thing.

Alta.Authentication​

TypeKindBasePublic membersDocumented in, or what it is
AuthenticationUtilityclassIAuthenticationUtility6Alta assemblies, Startup and app state: Logs in from the command line (/login, /login_hash, /access_token, /oauth_login), with a username and password, or with a stored refresh token.
Constantsstatic class3Alta assemblies: The PlayerPreferences key names for the three tokens.
IAuthenticationUtilityinterface5Ways to log in to the Alta web API: saved refresh token, command line, username and password, or OAuth client credentials. AuthenticationUtility implements it.
ILoginPreferencesinterface5Alta assemblies
LoginPreferencesclassILoginPreferences, IInitializable, IDisposable8Alta assemblies

Alta.Build​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
BuildRendererBakeableabstract classMonoBehaviour, IBuildRendererBakeable, IBuildBakeable3Base for components that bake renderer setup at build time and then remove themselves. BakeBuildBakeables runs them; StaticObjectCombiner calls it.
IBuildBakeableinterface0Empty marker interface for components that the build process bakes. IBuildRendererBakeable and IBuildRendererPostBake extend it.
IBuildRendererBakeableinterfaceIBuildBakeable3Build-time hook for components that bake renderer data into a prefab. Bakers run in SortingOrder order.
IBuildRendererPostBakeinterfaceIBuildBakeable1For components that need a step after a build renderer bake. BuildRendererBakeable calls PostBake on every one under the target once baking finishes. Build-time only.

Alta.CommandLine​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
CommandLineArgumentsstatic class45Startup and app state: Reads Environment.GetCommandLineArgs() once, on first use.
CommandLineArgumentsInEditorclassGlobalSettings<CommandLineArgumentsInEditor>1Global settings asset with extra command line arguments to use when running in the Unity editor.

Alta.Core.Runtime​

Alta.Core.Runtime​

TypeKindBasePublic membersDocumented in, or what it is
AverageNumberclass8Keeps a running total, count, min and max of recorded numbers. Used for simple stats and timing.

Alta.Coroutines​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
AltaCoroutineclass14Threads, coroutines and the timeline, Alta assemblies: A wrapper around a Unity coroutine that catches exceptions and tells you how it ended.
AltaCoroutineStateenum5State of an AltaCoroutine: not started, running, stopped, finished or error.
CoroutineYieldsstatic class3Threads, coroutines and the timeline
EditorCoroutineclassAltaCoroutine1AltaCoroutine subclass with a helper that runs a coroutine to the end in one call, for editor code.
TaskYield<T>classCustomYieldInstruction4Threads, coroutines and the timeline

Alta.Utilities​

TypeKindBasePublic membersDocumented in, or what it is
AltaCoroutineHandlerinternal classSingletonBehaviour<AltaCoroutineHandler>0Internal singleton behaviour that AltaCoroutine runs its coroutines on when no target object is given.
RateLimiterclass2Threads, coroutines and the timeline, Alta assemblies: new RateLimiter(float targetTickRate) then bool IsRateLimited(): false at most targetTickRate times a second (by Time.realtimeSinceStartup), true in between.

Alta.EventBus.Runtime​

Alta.EventBusSystem​

TypeKindBasePublic membersDocumented in, or what it is
EventBus<T>classIEventBus<T>, IEventSource<T>4Event buses and services
IEventBus<T>interfaceIEventSource<T>1An event source that can also send: anything holding it can raise T events to every listener.
IEventSource<T>interface2The listen-only side of an event bus: lets code subscribe to T events without being able to send them.

Alta.Global.Runtime​

Alta.Global​

TypeKindBasePublic membersDocumented in, or what it is
GlobalSettingsabstract classScriptableObject1Settings and files: The game's design data as ScriptableObject assets: MenuSettings, NetworkingSettings, SmoothLocomotionSettings, PickupTypeSettings and many more.
GlobalSettings<T>classGlobalSettings2Settings and files: The game's design data as ScriptableObject assets: MenuSettings, NetworkingSettings, SmoothLocomotionSettings, PickupTypeSettings and many more.
GlobalSettings<TConcrete, TInterface>classGlobalSettings3Settings and files: The game's design data as ScriptableObject assets: MenuSettings, NetworkingSettings, SmoothLocomotionSettings, PickupTypeSettings and many more.
GlobalSettingsAttributeclassAttribute2Marks a GlobalSettings class with the name of its settings asset, for example [GlobalSettings("Mining Settings")].
GlobalSettingsInitializerclassMonoBehaviour0Scene component that sets up a list of global settings assets on Awake, so their static Instance is ready.

Alta.IO​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
IPlayerPreferenceValue<T>interface1A single player preference value.
PlayerPreferenceBoolclassPlayerPreferenceValue<bool>1A bool player preference stored under a key with PlayerPreferences.SetBool and GetBool.
PlayerPreferenceFloatclassPlayerPreferenceValue<float>1A float stored in PlayerPreferences under a fixed key. Not used in this build.
PlayerPreferenceIntclassPlayerPreferenceValue<int>1An int stored in PlayerPreferences under a fixed key. Not used in this build.
PlayerPreferencesstatic class12Settings and files: The game's replacement for Unity's PlayerPrefs: a dictionary saved to player.prefs in StorageFolder.
PlayerPreferenceStringclassPlayerPreferenceValue<string>1A string player preference stored under a key through PlayerPreferences.
PlayerPreferenceValue<T>abstract classIPlayerPreferenceValue<T>2Base for a typed value stored in PlayerPreferences (the local player.prefs file) under one key.
PlayerSettingsNamesclass2Preference key names for the login screen.

Alta.Utilities​

TypeKindBasePublic membersDocumented in, or what it is
AltaFileclassIAltaFile24A file on disk with cached typed content (IAltaFileFormat), background reads, and saves that go through a _temp file and keep a _backup copy. Get one from AltaFolder.GetFile.
AltaFolderclassIAltaFolder16A folder on disk that caches its AltaFile and AltaFolder children by name. Creates the directory if it is missing.
AltaIOclass7Settings and files, Console, utilities and Alta assemblies: Static folders, set up the first time anything touches the class.
DigitalOceanUtilitystatic class3Static access to a DigitalOcean Spaces (S3-compatible, sfo2 region) client. Keys must be set with SetupKeys before first use.
FileInfoWrapperclassIFileAccess8IFileAccess over a plain FileInfo on disk.
FileSystemExtensionsstatic class2File system helpers.
IAltaFileinterface19Settings and files
IAltaFileFormatabstract classIDisposable5Base for a file format the game can read from and write to a stream, such as a save file's contents. Disposable.
IAltaFolderinterface15Settings and files
IFileAccessinterface7Minimal file handle: existence, names, delete and refresh. FileInfoWrapper is the plain disk version.
IRemoteAltaFileinterface4A local file mirrored to a remote copy, as used by RemoteFiles. RemoteFiles.BackupAllChanged backs up every changed one.
RemoteAltaFileclassRemoteFiles.RemoteAltaFile<FileInfoWrapper>1Remote-backed save file where the remote copy is another path on disk (a mounted or network folder). Used when the server starts with /remote_saves and a type other than s3.
RemoteAltaFolderclassAltaFolder6Save folder that mirrors a local folder to a second directory on disk. Files and subfolders it hands out are RemoteAltaFile and RemoteAltaFolder. Set up by AltaIO from /remote_saves.
RemoteFilesstatic class1Static registry of every remote-backed save file, so changed files can be backed up together. The backup console command calls BackupAllChanged.
RemoteFiles.RemoteAltaFile<TFileType>abstract classIAltaFile, IRemoteAltaFile23Base for a save file that works on a local copy and syncs it with a remote store (disk path or S3). The local copy is pulled from remote on first read and pushed back on backup.
S3CloudStorageRemoteFileclassRemoteFiles.RemoteAltaFile<S3StorageFile>1Remote-backed save file stored as an S3 object. Used when the server starts with /remote_saves s3 bucket:path.
S3RemoteFolderclassAltaFolder9Save folder that mirrors a local folder to an S3 prefix. Hands out S3CloudStorageRemoteFile files and S3RemoteFolder subfolders. AltaIO makes the root one for /remote_saves s3.
S3StorageFileclassS3StorageObject, IFileAccess7A file object in an S3 bucket, used through the IFileAccess storage interface. Probably server or tooling only, as it needs S3 credentials.
S3StorageFolderclassS3StorageObject5A key prefix in an S3 bucket treated as a folder, for listing and deleting the objects under it.
S3StorageObjectclass6Base for an S3 file or folder: a bucket name and object key, with delete calls through S3Utility.S3Client.
S3Utilitystatic class3Static holder for the AWS S3 clients used for remote saves. Keys come from the /s3_credentials command line argument; the region is fixed to US West 1.
TextFileFormatclassIAltaFileFormat4File format that stores a file's whole content as one string.

Alta.LifecycleManagement.Runtime​

Alta.LifecycleManagement​

TypeKindBasePublic membersDocumented in, or what it is
CompositeDisposableclassICollection<IDisposable>, IEnumerable<IDisposable>, IEnumerable, +2 more14Thread-safe group of disposables that are disposed together. Anything added after it's disposed is disposed at once.
Disposablestatic class3Helpers for making IDisposable objects from actions.
DisposerclassIDisposer, IDisposable3IDisposer that tracks disposables and disposes them all when it is disposed. Not thread-safe.
DisposerExtensionsstatic class2Extension methods for adding things to an IDisposer.
ICancelableinterfaceIDisposable1A disposable that can report whether it has been disposed.
IIsolateinterface0Marker for classes registered as standalone entry points in a dependency injection container with InjectAndIsolate.
SerialDisposableclassICancelable, IDisposable3Holds one disposable at a time: setting a new one disposes the old one. Thread-safe.

System​

TypeKindBasePublic membersDocumented in, or what it is
IDisposerinterfaceIDisposable1A disposable that collects other disposables and disposes them together.

Alta.LifetimeScopes​

Alta.ATT.LifetimeScopes​

TypeKindBasePublic membersDocumented in, or what it is
AbstractAltaLifetimeScopeabstract classLifetimeScope1Base for the game's VContainer lifetime scopes. Subclasses register their bindings in ConfigureScope; debug builds log and profile the setup.
AnalyticsInstallerclass1VContainer installer for analytics: registers AnalyticsService and the AltaAnalyticsDispatcher entry point, and injects the zone enter and exit analytics events.
ApplicationLifetimeScopeclassAbstractAltaLifetimeScope0Event buses and services
Binderabstract class0Non-generic base of Binder<TContract>, the fluent binding helper used with builder.Bind<T>().
Binder<TContract>classBinder7Fluent helper for registering a type in a VContainer container, made by container.Bind<TContract>(). Registers as a singleton by default and picks up VContainer entry point interfaces (like ITickable) by itself.
Binder<TContract>.AltaRegistrationBuilderclassRegistrationBuilder2VContainer registration builder used by Binder<TContract>. Builds the registration from the binder's types and lifetime, or from a bound instance.
ContainerBuilderExtensionsstatic class2Extension methods on VContainer's IContainerBuilder used by the game's installers.
DependencyInjectionEditorInitializerclassScriptableObject0Editor asset holding a reference to the project lifetime scope. Has no behaviour in this build.
DependencyInjectionInitializerclassMonoBehaviour0Runs very early (execution order -15000) and creates the project lifetime scope in built players.
GameLifetimeScopeclassAbstractAltaLifetimeScope0Event buses and services
GameObjectLifetimeScopeclassAbstractAltaLifetimeScope0Event buses and services
GlobalSettingsInstallerclassScriptableObject1ScriptableObject that runs platform-specific installers and registers a list of GlobalSettings assets in a VContainer scope.
MainMenuVrLifetimeScopeclassAbstractAltaLifetimeScope0Event buses and services
PlatformSpecificScriptableObjectInstallerclassScriptableObject1Base ScriptableObject for an installer that registers platform-specific services. Run by GlobalSettingsInstaller.
PlayerControllerLifetimeScopeclassGameObjectLifetimeScope0Event buses and services
ProjectLifetimeScopeclassAbstractAltaLifetimeScope0Event buses and services
WindowsGlobalSettingsInstallerclassPlatformSpecificScriptableObjectInstaller1Windows installer asset that keeps the XR general settings referenced and binds the Windows XR loader settings.
WindowsInstallerclass1Registers the Windows platform services: user service, post-process controller, analytics readers, the SteamVR XR setup, and fake platform services.

Alta.MenuItem​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
AltaMenuItemabstract classISearchableTool12Base for Alta's editor menu commands. Subclasses nest inside an AltaMenuItemBase path class, and editor tooling generates a Unity menu entry for each one. Editor only, does nothing in a running server.
AltaMenuItemBase (and 172 nested types)class1Root of a nested class tree that mirrors Unity editor menu paths. Menu items inherit from a nested class, and the class path (underscores as spaces) becomes the menu path. Editor tooling.

Alta.NetworkTransport.Runtime​

Alta.NetworkingTransport​

TypeKindBasePublic membersDocumented in, or what it is
AltaNetworkErrorenum9Network errors a transport can report, such as DNS failure, timeout, congestion, bad send or receive, and closed connection.
INetworkTransportResultinterface2Result of a network transport operation such as a send or processing incoming packets.
IPacketProcessorinterface1Handles packets the network transport receives.
IParallelPacketProcessorinterfaceIPacketProcessor1An IPacketProcessor that may handle packets in parallel and can say how many it has not finished yet. Nothing implements it in this build.
ITransportinterface6A low-level network transport that Socket sends packets over. KcpTransport is the implementation in this build.
ITransportClientinterfaceITransportSocket3Client side of a transport: one connection to a server. ITransport.Connect returns one.
ITransportConnectioninterface8One player's connection on the server-side network transport (KCP in this build): send data, disconnect and read traffic counters.
ITransportServerinterfaceITransportSocket2The listening side of a network transport, made by ITransport.CreateServer. Raises events as client connections come and go. The KCP transport's KcpServerWrapper implements it.
ITransportSocketinterface9A network socket in Alta's transport layer, with traffic counters and process calls. KCP client and server wrappers implement it.
MessageReceivePoolstatic class4Thread-safe pool of 64 KB byte arrays for received network messages, so the receive path doesn't allocate a new buffer each time.
NetworkTransportResultclassINetworkTransportResult5Simple success or error result returned by transport calls such as ProcessIncoming and Terminate.

Alta.NetworkingTransport.Kcp​

TypeKindBasePublic membersDocumented in, or what it is
KcpClientConnectionclassITransportConnection10Client: the ITransportConnection for the client's single KCP connection to the server.
KcpClientWrapperclassITransportClient, ITransportSocket14Client side of the KCP transport: wraps a kcp2k KcpClient as an ITransportClient, so the game's networking can connect, tick and receive through it.
KcpErrorConverterstatic class1Maps kcp2k error codes to the game's own AltaNetworkError values. Used by the KCP client and server wrappers.
KcpServerConnectionclassITransportConnection10Server: the ITransportConnection for one client's KCP connection, wrapping a kcp2k server connection by id.
KcpServerWrapperclassITransportServer, ITransportSocket13Server side of the KCP transport: wraps a kcp2k KcpServer as an ITransportServer and keeps one KcpServerConnection per connected player.
KcpSettingsclassGlobalSettings<KcpSettings>11Global settings asset for the KCP network transport: latency, timeout, window and buffer options used by the KCP client and server wrappers.
KcpTransportclassITransport9The KCP (reliable UDP) network transport the game uses by default. NetworkManager creates it from KcpSettings; both sides use it to open servers and client connections.

Alta.NetworkingTransport.Parallel​

TypeKindBasePublic membersDocumented in, or what it is
LlapiMetricclass6Holds running averages of send and process timings for client and server transport loops. Nothing else in this build references it.

Alta.Platform​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
FfvSourceenum4Flags for why a platform effect called FFV should be on: movement, hurt, low performance or character baking (probably fixed foveated rendering). Passed to IPlatformDevice.SetFfvSource; the server's fake device ignores it.
PlatformTargetenum2Player: PC = 1, Quest = 2 (flags, in Alta.Platform.dll). The client sends it in its join request.
PlayerModeenum8Player: PlayerMode (no namespace, in Alta.Platform.dll), a flags enum:
PlayerModeExtensionsstatic class2Extension methods on the PlayerMode flags.

Alta.Platform​

TypeKindBasePublic membersDocumented in, or what it is
AccessTokenModeenum3Whether a platform's authentication can hand out access tokens: not at all, single use or multi use. Reported by IAuthenticationFeatures.
IAuthenticationFeaturesinterface3What the current platform's login supports. Read from IAuthenticationService.Features; the generic (PC) one supports none of it.
IAuthenticationServiceinterface9Signs the player in to the Alta account service and supplies access tokens. Client side; AuthenticationService in Alta.Platform.Generic implements it.
IPlatformDeviceinterface1Platform hook for device-level settings. Only FakePlatformDevice (does nothing) is bound in the Windows build.
IPlatformServiceinterface2Starts up the platform SDK (such as Oculus) at launch. FakePlatformService is the stand-in where there is none.
IUserServiceinterfaceIAuthenticationService4Platform service for the signed-in Alta user: login state, the current user and lookups of other users by ID.
IValidVersionServiceinterface3Checks whether the game version is still allowed to play. ApplicationStartupManager runs it on startup; on Windows a fake always says yes.

Alta.Platform.Fakes​

TypeKindBasePublic membersDocumented in, or what it is
FakePlatformDeviceclassIPlatformDevice1Do-nothing IPlatformDevice for platforms without device features.
FakePlatformServiceclassIPlatformService2Stand-in IPlatformService for platforms with no platform SDK to start. Always reports initialized.
FakeValidVersionServiceclassIValidVersionService3Stand-in IValidVersionService that always says the game version is valid, used where there's no store version check (such as Windows).

Alta.Platform.Models​

TypeKindBasePublic membersDocumented in, or what it is
IUserinterface2Minimal user shape from the Alta platform layer: an id and a display name.

Alta.Platform.Generic​

Alta.Platform.Generic​

TypeKindBasePublic membersDocumented in, or what it is
AuthenticationFeaturesclassIAuthenticationFeatures3Authentication features for the generic (non-store) platform: no access tokens, no account linking, no platform login.
AuthenticationServiceclassIAuthenticationService10Authentication for the generic platform (Windows and the server build): logs in to the Alta API with command line arguments, a refresh token or editor credentials. Platform login and linking aren't supported.
UserServiceclassIUserService, IAuthenticationService15IUserService for the generic platform. There is no platform user, so the user parts are empty or throw; authentication calls go to an inner AuthenticationService.

Alta.PlatformInformation.Runtime​

Alta.PlatformInformation​

TypeKindBasePublic membersDocumented in, or what it is
LocalPlatformProviderinternal class1Internal: works out which platform the game is running on. In this build the Quest, Pico and Android preview checks always return false.
OverridePlatformProviderinternal class4Internal: holds a platform override for testing. The override only counts in the Unity editor.
PlatformFlagsenum7Flags for the platform the game runs on: Windows, Linux, Android, Android preview, and Quest and Pico (both include the Android bit), or Unknown.
PlatformProviderstatic class20Static helper that tells which platform the game is running on (Windows, Linux, Android, Quest, Pico), with an optional client override for testing.

Alta.Profiling.Runtime​

Alta.Profiling​

TypeKindBasePublic membersDocumented in, or what it is
ProfileMarkerstatic class2Static helper that keeps named Unity profiler markers, only in debug builds. As decompiled it never begins or ends a marker sample.
ProfilingSessionclassIDisposable6A timed, nestable profiling scope. Making one starts it and makes it the current session; sessions made inside become its children. Dispose it to stop.

Alta.SearchableTools​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
ISearchableToolinterface6An editor tool or menu item that can be found by search. AltaMenuItem implements it.

Alta.Serialization.Runtime​

Alta.Serialization​

TypeKindBasePublic membersDocumented in, or what it is
BitDisplaystatic class2Debug helper that turns integers into binary strings.
BitReaderclass12Reads values bit by bit from a buffer of 32 bit words, the reading half of the game's network and save serialization. Used by Stream on both sides.
BitWriterclass14Writes values bit by bit into a buffer of 32 bit words, the writing half of the game's network and save serialization. Used by Stream on both sides.
BitWriter.GetMoreDatadelegate0Callback a BitWriter calls when its buffer is full to get a bigger one. Called with null at start to get the first buffer. Without it, a full buffer logs a fatal error and corrupts the write.
CompressorclassStream10A dummy Stream that reads and writes at once but stores nothing. Code passes Compressor.Instance to the quantizing serialize helpers to round a value to what the network would send.
Streamabstract classIDisposable, ICloneable51Stream: Every network message and every save file in the game is written with this: a bit stream with one abstract base and two concrete types, StreamWriter and StreamReader.
Stream.StringEncodingenum2Text encoding used when writing strings to a network stream: ASCII or UTF8.
StreamCounterclassStream10A write-only Stream that only counts bits, used to measure how big a serialized block will be (for example by SavingSystem and NetworkPrefab).
StreamReaderclassStream14Stream
StreamWriterclassStream20Stream
UFloatBytesinternal struct1Internal helper that sends a float as its raw 32 bits.
ULongBytesinternal struct1Internal helper that sends a long as two raw 32-bit uints.

Alta.Singletons​

Alta.Utilities​

TypeKindBasePublic membersDocumented in, or what it is
SingletonBehaviour<T>classMonoBehaviour2Base for a component that should exist once. The first one to wake becomes Instance; any later copy destroys itself.

Alta.Timing.Runtime​

Alta.Timing​

TypeKindBasePublic membersDocumented in, or what it is
ITimelineinterface1Something that TimelineUpdater advances each frame. Timeline is the only implementation.
TimelineclassITimeline21Threads, coroutines and the timeline, Time and environment: A scheduler for "call this in N seconds" and "every N seconds", used for respawns, decay, loot refills, taxes, timed stat changes and the like. Main thread.
Timeline.IEntryinterface2Handle to a callback scheduled on the game Timeline (from CallAfterDuration, CallRepeatableAfterDuration and so on). Pass it to Timeline.Cancel to stop it.
Timeline.SerializedEntryStateenum3Result of Timeline.LoadEntry for a saved timer: None (no time saved), Past (already due, callback run if asked) or Future (registered on the timeline).
TimelineUpdaterclassMonoBehaviour0Hidden object that Timeline.Instance creates to drive the timeline with real time each frame. Kept across scene loads.

Alta.Timing.PriorityQueue​

TypeKindBasePublic membersDocumented in, or what it is
FastPriorityQueue<T>classIFixedSizePriorityQueue<T, float>, IPriorityQueue<T, float>, IEnumerable<T>, +1 more14Fixed size binary heap of nodes with a float priority, lowest value first. Nodes store their own index, and there are no safety checks.
FastPriorityQueueNodeclass2Base class for items in a FastPriorityQueue with a float priority. The queue sets both properties.
FastPriorityQueueNodeTimeSpanclass2Base class for items in a FastPriorityQueueTimeSpan, with a TimeSpan priority. Timeline entries use it.
FastPriorityQueueTimeSpan<T>classIFixedSizePriorityQueue<T, TimeSpan>, IPriorityQueue<T, TimeSpan>, IEnumerable<T>, +1 more13Copy of FastPriorityQueue that uses a TimeSpan priority, earliest first. Timeline uses it to order its scheduled calls.
GenericPriorityQueue<TItem, TPriority>classIFixedSizePriorityQueue<TItem, TPriority>, IPriorityQueue<TItem, TPriority>, IEnumerable<TItem>, +1 more15Fixed size binary heap with any comparable priority. Ties go to whichever node was enqueued first, so equal priorities come out in order.
GenericPriorityQueueNode<TPriority>class3Base class for items in a GenericPriorityQueue, with any comparable priority type.
IFixedSizePriorityQueue<TItem, in TPriority>internal interfaceIPriorityQueue<TItem, TPriority>, IEnumerable<TItem>, IEnumerable2Internal interface for priority queues with a fixed capacity that has to be resized by hand.
IPriorityQueue<TItem, in TPriority>interfaceIEnumerable<TItem>, IEnumerable8Common interface of the priority queues in this namespace (a copy of the BlueRaja priority queue library). The lowest priority value comes out first.
SimplePriorityQueue<TItem, TPriority>classIPriorityQueue<TItem, TPriority>, IEnumerable<TItem>, IEnumerable20Thread-safe priority queue for any item type: it wraps items in nodes for you, grows as needed and locks on every call. The lowest priority value comes out first; equal priorities keep their order.
SimplePriorityQueue<TItem>classSimplePriorityQueue<TItem, float>3SimplePriorityQueue with a float priority.
StablePriorityQueue<T>classIFixedSizePriorityQueue<T, float>, IPriorityQueue<T, float>, IEnumerable<T>, +1 more13Fast fixed-size priority queue of StablePriorityQueueNode items with float priorities. Equal priorities come out in the order they went in. No safety checks: queuing past MaxSize, or passing a node that is not in this queue, breaks it.
StablePriorityQueueNodeclassFastPriorityQueueNode1Base class for items in a StablePriorityQueue.

Alta.VContainerLayer.Runtime​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
Factoryabstract classIFactory, IDisposable1Base for the VContainer factories. Holds the injected container and a disposer, and disposes everything it created when it is disposed.
Factory<TInterface>abstract classFactory, IFactory<TInterface>, IFactory, +1 more1Synchronous factory with no parameters. Subclasses build the object in CreateInstance; Create then injects it and tracks it for disposal.
Factory<TParam, TInterface>abstract classFactory, IFactory<TParam, TInterface>, IFactory, +1 more1Synchronous factory taking one parameter. Subclasses build the object in CreateInstance; Create injects it and tracks it for disposal.
Factory<TParam1, TParam2, TInterface>abstract classFactory, IFactory<TParam1, TParam2, TInterface>, IFactory, +1 more1Synchronous factory taking two parameters. Subclasses build the object in CreateInstance; Create injects it and tracks it for disposal.
Factory<TParam1, TParam2, TParam3, TInterface>abstract classFactory, IFactory<TParam1, TParam2, TParam3, TInterface>, IFactory, +1 more1Synchronous factory taking three parameters. Subclasses build the object in CreateInstance; Create injects it and tracks it for disposal.
FactoryAsyncabstract classFactory1Base for factories that spawn a prefab loaded through Addressables. The prefab's AssetReference is injected, and loaded handles are released on dispose.
FactoryAsync<TConcrete, TInterface>abstract classFactoryAsync, IFactoryAsync<TInterface>, IFactory, +1 more1Async prefab factory with no parameters. Loads the prefab, instantiates it through the container and calls FactoryConstruct on its TConcrete component.
FactoryAsync<TParam, TConcrete, TInterface>abstract classFactoryAsync, IFactoryAsync<TParam, TInterface>, IFactory, +1 more1Async prefab factory taking one parameter, passed to the component's FactoryConstruct.
FactoryAsync<TParam1, TParam2, TConcrete, TInterface>abstract classFactoryAsync, IFactoryAsync<TParam1, TParam2, TInterface>, IFactory, +1 more1Async prefab factory taking two parameters, passed to the component's FactoryConstruct.
FactoryAsync<TParam1, TParam2, TParam3, TConcrete, TInterface>abstract classFactoryAsync, IFactoryAsync<TParam1, TParam2, TParam3, TInterface>, IFactory, +1 more1Async prefab factory taking three parameters, passed to the component's FactoryConstruct.
FactoryAsyncPooled<TConcrete, TInterface>abstract classFactory2Async Addressables prefab factory that pools its instances. Spawn reuses a despawned instance when there is one; Dispose destroys every instance it made.
FactoryAsyncPooled<TParam, TConcrete, TInterface>abstract classFactoryAsyncPooled<TConcrete, TInterface>, IFactoryAsyncPooled<TParam, TInterface>, IFactory, +1 more1Pooled async prefab factory whose instances take one parameter on spawn through IPooledInstance.OnSpawn.
FactoryAsyncPooled<TParam1, TParam2, TConcrete, TInterface>abstract classFactoryAsyncPooled<TConcrete, TInterface>, IFactoryAsyncPooled<TParam1, TParam2, TInterface>, IFactory, +1 more1Pooled async prefab factory whose instances take two parameters on spawn through IPooledInstance.OnSpawn.
FactoryAsyncPooled<TParam1, TParam2, TParam3, TConcrete, TInterface>abstract classFactoryAsyncPooled<TConcrete, TInterface>, IFactoryAsyncPooled<TParam1, TParam2, TParam3, TInterface>, IFactory, +1 more1Pooled async prefab factory whose instances take three parameters on spawn through IPooledInstance.OnSpawn.
IDespawnableinterface1An object a pooled factory can return to its pool.
IFactoryinterfaceIDisposable0Base interface for the VContainer layer's factories. The generic versions add Create with zero to three parameters; all are disposable.
IFactory<in TParam, out TInterface>interfaceIFactory, IDisposable1Factory that takes one parameter, for the VContainer layer.
IFactory<in TParam1, in TParam2, in TParam3, out TInterface>interfaceIFactory, IDisposable1Factory that takes three parameters, for the VContainer layer.
IFactory<in TParam1, in TParam2, out TInterface>interfaceIFactory, IDisposable1Factory that takes two parameters, for the VContainer layer.
IFactory<out TInstance>interfaceIFactory, IDisposable1Factory with no parameters, for the VContainer layer.
IFactoryAsync<in TParam, TInterface>interfaceIFactory, IDisposable1Async factory that takes one parameter, for the VContainer layer.
IFactoryAsync<in TParam1, in TParam2, in TParam3, TInterface>interfaceIFactory, IDisposable1Async factory that takes three parameters, for the VContainer layer.
IFactoryAsync<in TParam1, in TParam2, TInterface>interfaceIFactory, IDisposable1Async factory that takes two parameters, for the VContainer layer.
IFactoryAsync<TInterface>interfaceIFactory, IDisposable1Async factory with no parameters, for the VContainer layer. FactoryAsync implements it by instantiating a MonoBehaviour.
IFactoryAsyncPooled<in TParam, TInterface>interfaceIFactory, IDisposable2Async pooled factory that passes one parameter to each spawned instance.
IFactoryAsyncPooled<in TParam1, in TParam2, in TParam3, TInterface>interfaceIFactory, IDisposable2Async pooled factory that passes three parameters to each spawned instance.
IFactoryAsyncPooled<in TParam1, in TParam2, TInterface>interfaceIFactory, IDisposable2Async pooled factory that passes two parameters to each spawned instance.
IFactoryAsyncPooled<TInterface>interfaceIFactory, IDisposable2Async factory that reuses instances from a pool, with no spawn parameters.
IFactoryConstructableinterface1MonoBehaviour that an async factory sets up straight after creating it, in place of a constructor.
IFactoryConstructable<in TParam1, in TParam2, in TParam3>interface1MonoBehaviour that an async factory sets up with three parameters straight after creating it.
IFactoryConstructable<in TParam1, in TParam2>interface1MonoBehaviour that an async factory sets up with two parameters straight after creating it.
IFactoryConstructable<in TParam>interface1MonoBehaviour that an async factory sets up with one parameter straight after creating it.
IPooledInstanceinterfaceIDespawnable1Object from a pooled factory that is told when it is spawned and despawned.
IPooledInstance<in TParam1, in TParam2, in TParam3>interfaceIDespawnable1Pooled object that gets three parameters each time it is spawned.
IPooledInstance<in TParam1, in TParam2>interfaceIDespawnable1Pooled object that gets two parameters each time it is spawned.
IPooledInstance<in TParam>interfaceIDespawnable1Pooled object that gets one parameter each time it is spawned.

Alta.Values​

Alta​

TypeKindBasePublic membersDocumented in, or what it is
GeneralValueabstract classScriptableObject2Alta assemblies: A ScriptableObject with a Description and a Type.
HashedGeneralValueabstract classGeneralValue2Base for game data assets identified by a hash. HashedGeneralValue<T> builds on it to load every asset of a type from Resources and look them up by hash or name.
HashedGeneralValue<T>abstract classHashedGeneralValue8Alta assemblies: A GeneralValue with a stable uint Hash. Item, PageCollection, PopulationDefinition, MouldDefinition, Festivity, GameAction and many more derive from it.
HashedGeneralValueComparerclassIEqualityComparer<HashedGeneralValue>1Alta assemblies: Compares by hash.
HashedGeneralValueConverter<T>classTypeConverter2Alta assemblies: The console converter for those types: a hash, or a name.
HashedPathAttributeclassAttribute2Alta assemblies: Which Resources folders hold a type's assets.

Alta.Networking​

TypeKindBasePublic membersDocumented in, or what it is
HashHelperstatic class7Alta assemblies: The hashing the game uses: Hash(string), HashCompressed, GetHashCodeForString, and the editor-side hash validation. Hashes are 16 bits (MaxHash 65535).

Alta.XRManagement​

(global namespace)​

TypeKindBasePublic membersDocumented in, or what it is
XRUtilitystatic class1Startup and app state

Alta.XRLoaders​

TypeKindBasePublic membersDocumented in, or what it is
IXRLoaderInitializerinterface0Empty marker interface for the platform class that picks and starts the XR loader, such as WindowsXRLoaderInitializer.
IXRManagerSettingsControllerinterface3Client: starts and stops Unity's XR manager. Implemented by XRManagerSettingsController, injected through VContainer.
TownshipXRModeenum3Which XR backend the game runs with: OpenXR, Valve (SteamVR) or no VR.
XRLoaderStaticDatastatic class6Type names of the Unity XR loaders the game knows about, grouped by platform.
XRManagerSettingsControllerclassIXRManagerSettingsController, IInitializable4Startup service (VContainer) that finds Unity's XR manager and starts or shuts down its active loader and subsystems.

Alta.XRManagement.Windows​

Alta.XRLoaders​

TypeKindBasePublic membersDocumented in, or what it is
IWindowsXRLoaderSettingsinterface3Client (Windows): settings the XR loader initializer reads to pick between OpenXR and SteamVR (OpenVR) loaders.
IXRSupportSysteminterface2Client (Windows): extra setup for one XR mode, run before XR starts. SteamOpenVrInitializer is one; the Windows loader initializer runs each one that is valid for the mode.
SteamOpenVrInitializerclassIXRSupportSystem2XR support system for Valve OpenVR mode. Touches the SteamVR settings and instance before the XR manager starts.
WindowsXRLoaderInitializerclassIInitializable, IXRLoaderInitializer3PC startup service (VContainer) that picks OpenXR, Valve OpenVR or no VR, swaps the XR loaders to match, runs support systems and starts the XR manager.
WindowsXRLoaderSettingsclassGlobalSettings<WindowsXRLoaderSettings>, IWindowsXRLoaderSettings4Global settings for the Windows build's XR loaders: which XR mode to use and the OpenXR and OpenVR loaders. Read by WindowsXRLoaderInitializer. Client only.