Menus, UI and platforms
Types in Alta.Menu, Alta.Meta, Alta.UI, Alta.UserInterface and the login and platform namespaces of Root.Township. 128 types, 0 with a hand-written page.
See the overview for what the columns mean and how this list is made.
Alta.FriendLocation
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ChunkRegion | enum | 23 | Named regions of the world (town buildings, overworld areas, caves, combat trials) used to tell friends where a player is, such as Oculus destinations. |
Alta.Menu
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AssistedSpawnCommandAction | class | ServerMultiCommandAction, IUseVirtualKeyboard | 8 | Client dev tools board control for an assisted spawn command: quantity buttons plus the virtual keyboard to type a prefab name, then a submit button that sends the spawn command. |
AssistedSpawnCommandDefinition | class | ServerCommandDefinitionBase, IHasDynamicArguments, IUsesMultipleButtons | 10 | Menu command asset that builds a spawn command for the local player from a chosen prefab and quantity, then routes it to the server. Created from the Township/Assisted Spawn asset menu. |
ButtonEnumMenuSetting | class | EnumMenuSettingBase | 0 | Client menu control for a choice setting with two physical buttons that step to the previous or next value. |
CustomScroller | class | MonoBehaviour | 5 | A rotating drum menu driven by a SelectionLever: holding the lever off-centre spins the drum and steps through a list of string values. Used by the server creator. |
EnumMenuSettingBase | class | MenuGameSetting<EnumSettingAccess> | 3 | A menu setting that steps through a list of string values (next and previous) and writes the chosen one to its setting. |
IHasDynamicArguments | interface | IUsesMultipleButtons | 3 | A multi-button menu command whose arguments are filled in at runtime by name, such as the assisted spawn command's prefab and quantity. |
IProvideEnumerable<T> | interface | 2 | Something that supplies a changing list of values to a menu, such as FriendSelector feeding a ScrollerSelector on the same object. | |
IUsesMultipleButtons | interface | 2 | A menu command shown as a row of buttons, one per label. | |
MenuGameSetting | abstract class | MonoBehaviour | 1 | Base for an in-game menu widget that shows one game setting. The generic MenuGameSetting<T> does the work. |
MenuGameSetting<T> | abstract class | MenuGameSetting | 1 | Base for one setting row in the in-game settings panel, showing a setting of type T. Client only. Hides itself if the setting isn't valid on this platform. |
MenuToggleSetting | class | MenuGameSetting<ToggleGameSettingAccess> | 0 | Client menu control for an on/off setting, driven by a selection lever. Colours its label and fires events when turned on or off. |
QamOptionAsButtonCommand | class | ServerCommandDefinitionBase | 1 | Client: a menu command that runs a quick access menu action, as if picked from that menu. |
ScrollerEnumMenuSetting | class | EnumMenuSettingBase | 0 | Client menu control for a choice setting shown on a rotating drum. Holding a lever off centre spins the drum and steps through the values. |
ScrollerSelector | class | MonoBehaviour | 4 | Menu wheel that scrolls through a list of text values with a lever. Gets its values from an IProvideEnumerable<string> on the same object. |
ServerComboCommandDefinition | class | ServerCommandDefinitionBase | 2 | A menu command that sends a list of console commands to the server one after another, each after the last one's result comes back. Client side. |
ServerCommandAction | class | MenuGameSetting | 2 | Client menu button that runs one server command definition, with a short cooldown shared by all such buttons. |
ServerCommandDefinition | class | ServerCommandDefinitionBase | 2 | Asset for a menu entry that sends one fixed console command to the server. Created from the Township, Quick Access Menu, Field Access menu. |
ServerCommandDefinitionBase | abstract class | SettingsFieldAccess | 1 | Base for quick access menu settings that run a server command when used, such as ServerCommandDefinition, ServerMultiOptionCommandDefinition and AssistedSpawnCommandDefinition. |
ServerMultiCommandAction | class | MenuGameSetting | 1 | Client menu control that builds one button per option of a multi-option server command and sends the chosen option. Base for AssistedSpawnCommandAction. |
ServerMultiOptionCommandDefinition | class | ServerCommandDefinitionBase, IUsesMultipleButtons | 4 | Menu command asset with several fixed commands, one per button. The chosen one is routed to the server when run. |
StandardFloatAsEnum | class | MenuGameSetting<FloatGameSettingsAccess> | 3 | Client menu control that shows a float setting as a drum of named choices, spun with a lever like ScrollerEnumMenuSetting. The choices come from an EnumFloatGameSettingsAccess or its own lists. |
Alta.Meta.Friends
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
Friend | struct | 2 | A friend entry: the user's ID and display name. | |
FriendsManager | class | LoggedInTool | 6 | Main menu friends board: lists friends or friend requests from the Alta API as user tokens on a rope board. Client side. |
FriendsManager.Tab | enum | 3 | The tabs of the friends menu: friends, friend requests and Oculus friends. | |
IInitializable | internal interface | 1 | Internal interface for something with an Initialize step. | |
UserToken | class | MonoBehaviour | 4 | One user entry on the friends board, with optional accept and reject buttons. |
Alta.Meta.Friends.Platform
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
IPlatformFriendService | interface | 3 | Platform (Oculus) friend list service, got from InterfaceResolver.IPlatformFriendService. In this build the resolver returns null, so there is no implementation. |
Alta.Meta.UI
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AutoComplete | class | 5 | Case-insensitive autocomplete over an IAutoCompletionSource: prefix matches first, then other matches containing the input. | |
Button | class | MonoBehaviour | 13 | A simple button component for the in-game (meta) UI. Holds a label, enabled flag and pressed state, raises events, and plays press and release sounds if set. |
ButtonCollection | class | MonoBehaviour | 2 | A group of menu buttons where one is selected at a time, like tabs. The selected button is disabled until another is pressed. |
ButtonEvents | class | MonoBehaviour | 0 | Exposes a game Button's press, release and enabled changes as Unity events for wiring in the inspector. |
ButtonSettings | class | ScriptableObject | 0 | An empty ScriptableObject asset for UI button settings (menu Township/UI/Button Settings). It holds nothing in this build. |
ButtonWithEvents | class | Button | 0 | A menu Button that also fires Unity events set in the inspector when pressed, released, enabled or disabled. |
ConfirmPopupPanel | class | Panel | 3 | Client: menu popup with a message and confirm and cancel buttons. Call Setup with the text and callbacks, then show it; it hides itself after either button. |
IAutoCompletionSource | interface | 1 | Something that supplies a list of strings for an autocomplete text field, such as object names in a folder. | |
InputField | class | MonoBehaviour | 10 | A text input field in the game's world-space menus, showing its text through a TextRenderer with an optional caret and secret (password) mode. |
InputFieldWithKeyboard | class | MonoBehaviour, IUseVirtualKeyboard | 9 | Client: connects a UI InputField to the in-world VR TouchScreenKeyboard, showing it at a marker and passing typed text back. |
ListElement | class | MonoBehaviour | 0 | Empty component, probably a marker for items in a UI list. |
ListElementWithButton | class | TextListElement | 5 | A text list entry with a button. Pressing the button selects it. |
ListElementWithButtonAndExtraText | class | ListElementWithButton | 1 | A list row with a button and a second text field. |
ListElementWithData<TData> | abstract class | ListElementWithButton | 2 | Base for a list row with a button that holds a data object and shows text made from it. Subclasses say how to turn the data into text. |
LoadingUI | class | MonoBehaviour | 1 | A loading indicator in the menu UI that can be shown or hidden. |
NavigateTo | class | MonoBehaviour | 0 | Switches the UI to a given panel when a button is released. |
ObjectNamesInFolder | class | ScriptableObject, IAutoCompletionSource | 2 | Asset that supplies a list of object names as console auto-completions. Created from the Township, Object Names In Folder menu. |
OptionsConfig | class | 4 | One option button for a menu window's options popup: label, action to run and button style. Used by friend panels for things like Revoke. | |
OptionsPanel | class | Panel | 1 | Menu popup that shows a message and a column of option buttons; pressing one runs its action and closes the panel. |
OptionsPanelButtonConfig | class | 2 | Pairs a UI button type with the button prefab an OptionsPanel uses for it. | |
Panel | class | MonoBehaviour | 6 | One page of a meta UI Window. Shows or hides itself, playing an optional scale animation, and raises StateChanged. |
PanelComponent | abstract class | MonoBehaviour | 3 | Base for components that fill a meta UI Panel with data. Refreshes when the panel opens if marked stale, and marks itself stale on a timer (30 seconds by default). |
Popup | class | MonoBehaviour | 0 | Empty MonoBehaviour with no code; probably a marker on popup objects. |
RecentPlayerPanelListElement | class | ListElementWithButtonAndExtraText | 0 | Row in the recent players list: username, server name and a rough time since you played together. |
RopeUIList | class | UIList | 5 | A UI list whose rows are laid out on a RopePoweredElementBoard, so the player scrolls by pulling a rope. |
ScalingFadeAnimator | class | MonoBehaviour, UIActionLock.ILockUIAction | 2 | Client UI: scales its targets up along a curve when enabled, and can scale them down then switch to another object. Locks UI actions while animating. |
SimpleTextPanel | class | Panel | 1 | Client UI panel that just shows a block of text. |
SimpleUIList | class | UIList | 1 | A UIList that stacks its elements in a column with a fixed vertical gap. Client UI. |
Tab | class | Panel | 0 | Client: a menu panel that shows and hides by turning its game object on and off, with no animation. |
TabbedPanel | class | Panel, IBuildRendererPostBake, IBuildBakeable | 2 | A UI Panel with a set of Tabs, one active at a time. Client UI. |
TabletToggle | class | MonoBehaviour | 1 | Toggles a tablet menu between its normal home panel and an extended home panel, swapping which home button and player list back button are shown. Client UI. |
TextButton | class | ButtonWithEvents | 1 | A menu button whose label is drawn by a TextRenderer, kept in step with the button's Label. |
TextListElement | class | ListElement | 1 | A ListElement that just holds a text renderer, for plain text rows in a UI list. |
TouchScreenButton | class | Button, ITouchScreenButton | 1 | A UI Button with a touch area size, for the in-world touch screen menus. |
TouchScreenButtonVisual | class | MonoBehaviour | 0 | Visual feedback for a touch screen button: sets its material and label from the button's TouchScreenButtonVisualSettings, changes alpha when pressed and plays a grow animation. Client UI. |
TouchScreenButtonVisualSettings | class | ButtonSettings | 5 | Asset with the look of a touch screen button: alpha when idle and pressed, a grow animation and a material. Client. |
UIActionLock | static class | 3 | A simple global lock so only one UI action runs at a time. An object implementing ILockUIAction takes the lock and must release it with Unlock. | |
UIActionLock.ILockUIAction | interface | 0 | Marker for an object that can take the global UI action lock in UIActionLock, so only one menu action runs at a time. Has no members. | |
UIButtonType | enum | 2 | Style of a meta UI button: normal, or bad (probably for destructive or negative actions). | |
UIList | abstract class | MonoBehaviour | 6 | Base for a list of elements in the game's world-space menus. Subclasses decide how elements are laid out. |
Window | class | MonoBehaviour | 13 | Client: a menu screen made of panels. Shows one panel at a time plus popups (confirm, options, loading). |
Alta.Meta.UI.ServerManagement
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
APIStatusManager | static class | 1 | Client: fetches status messages from the Alta status API and shows each new one that matches the player's platform and region as a popup, once per session. | |
APIStatusNotification | class | UINotification, IEquatable<APIStatusNotification> | 9 | A notification list entry for a status message from the Alta API. Has no accept or decline buttons. |
CreateGroupInfoPanel | class | MonoBehaviour | 0 | Keeps an info object visible only while at least one of a set of panels is active. |
CreateServerPanel | class | ServerDetailsPanel | 1 | Client main menu panel for creating a new server (group) through the Alta API, with name, description, join type and region. |
EditServerPanel | class | ServerDetailsPanel | 1 | Main menu panel for editing a joined server's name, description and join type through the web API. |
FriendRequestNotification | class | UINotification, IEquatable<FriendRequestNotification> | 9 | A notification list entry for an incoming friend request, with accept and decline that call the social service. |
FriendsInvitesPanel | class | PanelComponent | 2 | Main menu list of friend requests you have sent, with an option to revoke each one. |
FriendsListPanel | class | PanelComponent | 2 | Main menu friends list: add friends by username, unfriend them or invite them to a server. |
FriendsRequestsPanel | class | PanelComponent | 2 | Main menu list of friend requests sent to you, with accept and reject options. |
GroupInfoTab | class | GroupPage | 2 | Server management tab showing a group's name, description, type and member count, with leave and invite buttons. |
GroupInviteNotification | class | UINotification, IEquatable<GroupInviteNotification> | 9 | A notification list entry for an invite to join a group (server), with accept and reject. |
GroupMemberListElement | class | ListElementWithData<GroupMember> | 0 | Row in a group's member list, showing the member's username. |
GroupMembersPage | class | GroupPage | 2 | Client menu page listing a group's members, with kick and ban options and an invite-by-username field. A GroupPage in the server management UI. |
GroupPage | abstract class | PanelComponent | 1 | Base for a page in the server management UI that shows one joined group. Client only. |
GroupPermissionsEnabler | class | MonoBehaviour | 0 | Main menu UI helper that shows or hides objects depending on whether you hold the given permissions in the group a SelectedGroupPanel is showing. Client only. |
InboxPanel | class | PanelComponent | 2 | Client menu panel showing the player's inbox: group invites, friend requests, API status messages and player reports, with accept and decline buttons. |
IncomingGroupRequestPage | class | GroupPage | 1 | Client group page listing requests to join the group, each with accept and reject buttons. |
InviteUserToGroupPanel | class | PanelComponent | 3 | Client panel that lets the player pick one of their groups to invite a given user to. Only groups where they have invite permission are listed. |
InviteUserToGroupViaFriendsPanel | class | PanelComponent | 4 | Client: server management panel listing the player's friends so they can be invited to a group. On Quest it also lists Oculus friends without a linked account. |
JoinedGroupListElement | class | ListElementWithData<JoinedGroupManager> | 1 | Client list row for a group the player has joined, showing its name and an invite button. |
JoinedGroupsList | class | PanelComponent | 1 | Main menu panel component that lists the groups (servers) you have joined, fetched from the web API. Client only. |
ListElementWith2Buttons | class | ListElementWithButton | 1 | Client list row with a second button, used for things like accept and reject on group join requests. |
LoggedInWindow | class | MonoBehaviour | 0 | Switches a main menu window to its logged-in panel once the player is logged in. Client only. |
OculusFriendsListPanel | class | PanelComponent | 2 | Client panel meant to list Oculus friends and send them friend requests. In this build SetupFriendsList is empty, so the list never fills. |
OutgoingGroupInvitesPage | class | GroupPage | 1 | Client group page listing invites the group has sent, each with a button to revoke it. |
PlayerReportBaseNotification | abstract class | UINotification | 5 | Base for main menu inbox notifications about player reports, where accepting bans the reported user from that server through the Alta API. |
PlayerReportInboxInfoPanel | class | MonoBehaviour | 1 | Client: server management panel that shows one player report from the API: who was reported, why, by whom, when, and any action taken. |
PlayerReportNotification | class | PlayerReportBaseNotification, IEquatable<PlayerReportNotification> | 10 | Inbox notification for one player report. Accept bans the reported user; decline ignores the report. |
PlayerReportSummaryNotification | class | PlayerReportBaseNotification, IEquatable<PlayerReportSummaryNotification> | 10 | Notification summarising the reports against one user, shown by the latest report. Accept bans the user; there is no decline. |
PlayerReportSummaryPanel | class | MonoBehaviour | 1 | Client: server management panel that sums up all reports against one player: total count, counts per reason, reporters, latest date and any ban. |
RecentPlayersListPanel | class | PanelComponent | 2 | Client panel listing players the user recently played with, with options to add them as a friend or report them. |
ReportsPanel | class | PanelComponent | 2 | Client panel listing player report summaries from the API, with accept and decline buttons. Works like InboxPanel but only for reports, probably for moderators. |
SelectedGroupPanel | class | MonoBehaviour | 4 | Main menu panel for one group (server) the player has joined, with members, info, request and invite pages. Uses Alta's web API, which is gone. |
ServerDetailsPanel | abstract class | PanelComponent | 0 | Client: base for the create server and edit server menu panels. Holds the name, description and join type inputs and shows a summary that updates as you type. |
ServerDetailsPanel.ButtonData | class | 3 | A join type choice on the create and edit server panels: its button, the group type it stands for and a label. | |
ServerRegions | static class | 4 | String constants for the region names used when picking where a server runs. | |
UINotification | abstract class | 11 | Base for a notification shown in the menu's server management panel, such as a friend request, group invite or API status. Client only. |
Alta.OculusLogin
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AccountNameTextReplacer | internal class | MonoBehaviour | 2 | Client UI component on the login screen that fills in the device account name and the Alta account name text. |
AltaAccountRegistererAndLinker | internal class | LoginAndRegisterHelper | 3 | Client: the in-VR account registration screen. Checks username, email and password fields live against the API, registers the account, then logs in (with platform credentials if supported). |
Alta.PlatformSpecific.Oculus
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ErrorTestType | enum | 5 | Test cases for PlatformLaunchDetails, which builds fake Oculus launch details for a banned, private, wrong version or debug launch. | |
OculusDestinationController | class | MonoBehaviour, IBuildRendererBakeable, IBuildBakeable | 0 | Client component that keeps Quest rich presence up to date: the region the player is in, the server deep link and whether there is a free slot. Removes itself on other platforms. |
PlatformLaunchDetails | class | 10 | Fake Oculus launch details for testing deep link joins. The constructor fills in a canned case (banned, private, wrong version, debug) with a fixed server ID. | |
PlatformLaunchResult | enum | 7 | Oculus launch result codes (success, room full, game started, room not found, user declined, other), with the Oculus string in each Description. |
Alta.SocialTablet
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
RecentPlayersPage | class | PanelComponent | 1 | Social tablet page that lists players you recently met on the current server, a page at a time. Client only. |
Alta.UI
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
DynamicMask | class | MonoBehaviour | 11 | Paints a UI mask texture from code: stamps RGBA32 textures into a CPU colour buffer, then uploads it with a compute shader. Needs a Mask and RawImage on the same object. |
RepairBoxDevCommand | enum | 2 | Dev tool command sent from RepairBoxDevControlPanel to the server: instantly build (repair) or destroy (unrepair) a repair box. | |
RepairBoxDevControlPanel | class | MonoBehaviour | 0 | Developer-only panel on a repair box with build and destroy buttons. It deletes itself unless the local player is a developer. |
TextureMode | enum | 4 | How DynamicMask.AddTexture combines a texture with the mask: add, subtract, multiply or replace. | |
VersionDisplay | class | MonoBehaviour | 0 | Shows the game's build version on a 3D text label. Also runs in the editor. |
Alta.UserAuthentication
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
GeneralLoadingObjectManager | class | TempSceneObject | 1 | Runs the loading scene: tracks the headset, sets flat lighting, spins a frame and cycles loading tips. Client only. DisplayMessage shows a message to the player there. |
Alta.UserInterface
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
FeedbackInteractionPoint | class | LabelledInteractPoint | 0 | A labelled interact point whose box changes colour when pressed and when disabled. |
LabelledInteractPoint | class | SimpleInteractPoint | 1 | A SimpleInteractPoint with a text label. |
SimpleInteractPoint | class | Interactable | 3 | A basic button-style Interactable that raises Interacted on grab and Released on let go, and can be disabled. |
Alta.UserInterface.SocialTablet
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
SocialTabletActionSyncStruct | internal struct | 4 | Message a client sends from the social tablet's recent player page after reporting, banning or unbanning someone. The server looks up the target and raises the matching console event. | |
SocialTabletActionType | enum | 3 | Moderation action sent from the social tablet's recent players page: report, ban or unban. |
Alta.XR
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
TrackedDevice | enum | 3 | Tracked XR devices: the headset and the left and right controllers. | |
VRSetup | static class | 2 | Static VR helpers: sets every XR input subsystem to floor tracking and copies tracked pose data onto transforms. Client side. | |
VRTrackedDevice | class | IDisposable | 3 | Client: drives a transform from a tracked VR pose (head or hand) after each input update and before rendering. Make one with AddTracking, dispose it to stop. |
VRTrackedDevice.PositionPostProcessor | delegate | 0 | Callback that can change a tracked position, passed by ref, before VRTrackedDevice applies it. |