Items, inventory and logic
Types in Alta.Inventory, Alta.Impact, Alta.Pages, Alta.Mechanisms and Alta.Logic. 289 types, 82 with a hand-written page.
See the overview for what the columns mean and how this list is made.
Alta.Impact
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ArmorDefinition | class | ScriptableObject | 2 | Impacts and hit detection |
ArmorDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Equipment.ScriptableObject<ArmorDefinition> | 0 | Editor menu entry that creates a new ArmorDefinition asset under the Township Equipment create menu. |
BlockedTrigger | class | MonoBehaviour | 1 | Fires an inspector event when its ImpactTool blocks a hit with enough effectiveness, optionally only once. |
BoulderDefinition | class | HashedGeneralValue<BoulderDefinition> | 6 | An asset describing a mineable rock: its health, what it drops, how its hits look, and its ore material. Used by Rock. |
BoulderDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Mining.ScriptableObject<BoulderDefinition> | 0 | Editor menu entry that creates a new BoulderDefinition asset under the Township Mining create menu. |
ColliderMap | class | 3 | Pairs a collider with an ImpactDetectorColliderModifier, so an ImpactDetector can treat hits on that collider differently. | |
ColliderModifierSettings | abstract class | ScriptableObject | 2 | Impacts and hit detection |
CollisionFilter | delegate | 0 | Handler for ImpactTool.CollisionFilter. Set isHitconsumed to true to stop the collision from becoming a hit, as ChiselingTool does. | |
ContactPointStructure | struct | 8 | A copy of one collision contact (point, normal, colliders, separation) plus the impact detector that saw it. Passed around the impact system. | |
ContactProjectile | abstract class | MonoBehaviour, IToolHitDependant, IImpactorResetEffect | 4 | Impacts and hit detection |
CraftableImpactDetector | class | CraftableImpactDetectorBase | 0 | Impacts and hit detection |
CraftableImpactDetectorBase | abstract class | ImpactDetector | 1 | Base for an impact detector on a crafted part that listens to the collisions of whichever ImpactTool the part's root has, and only counts contacts a subclass accepts. |
CutableObject | class | TriggerImpactDetectorBase | 0 | Impacts and hit detection |
DamageData | class | 2 | Health and damage | |
DamageMultiplierCollider | class | ColliderModifierSettings | 2 | Impacts and hit detection |
DamageSource | enum | 8 | Health and damage | |
DelayedImpactResolver | static class | 3 | Impacts and hit detection | |
DirectionalMultiplierCollider | class | ColliderModifierSettings | 2 | Impacts and hit detection |
EmbeddableManager | class | MonoBehaviour | 9 | Sits on something that arrows, knives and other Embeddables can stick into. Tracks what is embedded and frees it on death, docking, destruction or crafting. |
EmbeddableSurface | class | MonoBehaviour | 0 | Lets tools stick into a surface: a hard enough hit wedges the tool in with a spring joint until it is pulled out past breakDistance. |
EquipmentReference | class | MonoBehaviour | 2 | Impacts and hit detection |
EquipmentReference.EquipmentChangedHandler | delegate | 0 | Handler for EquipmentReference.Changed, called with the new armour definition when Equipment is set. | |
FixedImpactor | class | ImpactGenerator, INetworkEntityBehaviour | 11 | An impact source that only hurts while charged, such as a creature's beak or a seed projectile. The charged state syncs from server to clients. |
FixedImpactorGroup | class | ComponentGroup<FixedImpactor> | 2 | Combat, damage and death: Charge() and Reset() for several at once. |
HitModifierEffect | class | NetworkEntityBehaviour | 2 | Plays a stat upgrade visual effect between two places (the object, the hit target or the wielder) when an ImpactModifier modifies a hit. The server sends it to players in the chunk. |
IImpactEffect | interface | 1 | Something that reacts to an impact hit. | |
IImpactorResetEffect | interface | 1 | An effect that is reset when its impactor resets after a hit or block. Added to ImpactGenerator.EffectsOnReset. | |
ImpactChannel | class | ScriptableObject | 1 | Impacts and hit detection |
ImpactChannel.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Impact.ScriptableObject<ImpactChannel> | 0 | Editor menu entry that creates a new ImpactChannel asset under the Township Impact create menu. |
ImpactDetector | class | MonoBehaviour, IListenToPhysicalMaterial, INetworkEntityBehaviour, +2 more | 16 | Impacts and hit detection: On anything that can be hit: creature body parts, rocks, trees, players. |
ImpactDetector.ImpactSyncArguments | struct | 7 | A hit on an ImpactDetector, sent to the chunk by the client whose player hit something or was hit. Built from an ImpactHitWithTool. | |
ImpactDetectorCentral | class | NetworkEntityBehaviour | 2 | Impacts and hit detection: On entities with several detectors. |
ImpactDetectorColliderModifier | class | MonoBehaviour | 2 | Component on a collider that changes how hits on it are treated, through a list of ColliderModifierSettings. |
ImpactDetectorSettings | class | ScriptableObject | 5 | Impacts and hit detection: Detector data: hit effects, whether it gives XP, whether it wears tools. |
ImpactDetectorSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Impact.ScriptableObject<ImpactDetectorSettings> | 0 | Editor menu entry that creates a new ImpactDetectorSettings asset under the Township Impact create menu. |
ImpactDetectorSettings.ImpactSettings | class | 7 | The effect and sound for one impact outcome (critical, good or bad) in ImpactDetectorSettings. | |
ImpactGenerator | abstract class | MonoBehaviour | 25 | Base component for the part of an item or creature that deals hits (a blade edge, a point, a creature attack). It holds the damage values and settings that impact detectors read when hit. |
ImpactHit | class | DamageData | 23 | Impacts and hit detection |
ImpactHitEvent | class | AltaEvent<ImpactHitWithTool, ImpactHitUnityevent> | 0 | Inspector event that passes an ImpactHitWithTool. |
ImpactHitThresholdTrigger | class | MonoBehaviour | 0 | Fires inspector events when an ImpactDetector takes a hit above set effectiveness and damage, with an extra event naming the player who hit it. |
ImpactHitTrigger | class | MonoBehaviour | 0 | Fires an AltaEvent when an ImpactDetector takes a hit with enough damage and of an allowed impact type. |
ImpactHitUnityevent | class | UnityEvent<ImpactHitWithTool> | 0 | Serializable UnityEvent that passes an ImpactHitWithTool, for wiring hits in the inspector. |
ImpactHitWithTool | class | ImpactHit | 16 | Impacts and hit detection |
ImpactImmunityGroup | class | ScriptableObject | 1 | Impacts and hit detection: A multiplier when an impactor and a detector share a group. |
ImpactImmunityGroup.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Impact.ScriptableObject<ImpactImmunityGroup> | 0 | Editor menu entry that creates a new ImpactImmunityGroup asset under the Township Impact create menu. |
ImpactModifier | class | NetworkEntityBehaviour | 2 | Server: changes hits made by a crafted tool (damage multipliers, stat changes) by running a list of ImpactModifierComponents on them. Covers either the whole tool or the parts attached to its slots. |
ImpactModifierComponent | abstract class | ScriptableObject | 4 | Base for a ScriptableObject that changes a tool hit, such as applying a stat change, with a default effect and sound. |
ImpactModifierMultiplier | class | ImpactModifierComponent | 1 | Impact modifier asset that multiplies a hit's Multipliers by a set amount. |
ImpactModifierStatAffect | class | ImpactModifierComponent | 1 | Impact modifier asset that changes a stat's base value on the target or the wielder, based on the hit's damage, cripple damage or effectiveness. |
Impactor | class | ImpactGenerator, IGetRigidbody | 4 | The main hitting part of a tool, such as a blade edge or a hammer head. Works out a hit's direction and effectiveness from the tool's recent motion. |
ImpactorAreaFilter<T> | abstract class | ImpactorFilter | 2 | Base impactor filter that only allows hits whose contact point is inside a collider carrying a T component. |
ImpactorFilter | abstract class | ScriptableObject | 1 | Base ScriptableObject for a filter on contact points, listed in ImpactorSettings.Filters. ChiselingFilterSettings is one. |
ImpactorMap | class | MonoBehaviour | 5 | Component on a crafting part that maps each of its colliders to the ImpactGenerators under it. Used by ImpactTool and ImpactModifier when parts are joined into a tool. |
ImpactorSettings | class | ScriptableObject | 8 | Impacts and hit detection |
ImpactorValues | class | ScriptableObject | 12 | Impacts and hit detection: Each impactor points at an ImpactorValues asset: |
ImpactTool | class | MonoBehaviour, IGetRigidbody | 45 | Impacts and hit detection: Get it with GetComponent<ImpactTool>() on the item, or entity.CommonImpactTool. |
ImpactTool.OnCollidedHit | delegate | 0 | Handler for ImpactTool.OnCollided. Called with the collision, whether it became a hit, and the tool. | |
ImpactTool.OnCollisionEnterEvent | delegate | 0 | Handler for ImpactTool.OnCollisionEnterCalled, raised when a held tool collides with something on a blockable layer. | |
ImpactTool.OnGeneratedHit | delegate | 0 | Callback for an ImpactTool hit or block, given the hit and the tool. Used by OnHit, OnBlocked and the static OnHitAny. | |
ImpactType | enum | 7 | Kind of damage an impact does: pierce, slash, blunt, caustic, poison, explosive or spiritual. | |
ImpactTypeFilter | class | 2 | Inspector list of allowed impact types. An empty list allows everything. | |
INetworkProjectile | interface | 5 | A networked projectile: its entity, physics parts and effect setup. | |
IToolHitDependant | interface | 2 | A component on an impact tool or crafting part that wants to know when the tool hits or collides with something, such as arrows or breakable items. Found automatically in the tool's children. | |
MiningSettings | class | GlobalSettings<MiningSettings> | 14 | Impacts and hit detection: Global haptics and strike sound settings. |
MiningSettings.Create | class | AltaMenuItemBase.Assets.Create.Global_Settings.ScriptableObject<MiningSettings> | 0 | Editor menu entry that creates a new MiningSettings global settings asset. |
NetworkContactProjectile | class | ContactProjectile, INetworkProjectile | 4 | Impacts and hit detection |
NonDamagingCollider | class | ColliderModifierSettings | 2 | Impacts and hit detection |
ParticleImpactor | class | MonoBehaviour | 5 | Impacts and hit detection: Particle damage (ParticleHit). |
PickupBreakOnImpact | class | BreakOnImpact | 0 | Impacts and hit detection: Breaks an item on a hard hit. |
PooledFixedImpactor | class | FixedImpactor | 1 | A FixedImpactor on a pooled object. It recharges each time the object is taken from the pool and can ignore resets. |
ResourceDropChance | class | 2 | One possible resource drop with its weighting, used in BoulderDefinition.ResourcesDropChances. | |
SparkImpactDetector | class | CraftableImpactDetector | 0 | Impacts and hit detection |
SparkSecondaryDetector | class | NetworkEntityBehaviour | 1 | Makes sparks when certain colliders are struck on spark channels, which can light nearby flammables. The wielding client reports its hit and the server runs the sparks. |
TriggerImpactDetector | class | MonoBehaviour | 2 | Impacts and hit detection |
TriggerImpactDetectorBase | abstract class | MonoBehaviour | 0 | Base for a trigger that reacts when an ImpactTool passes through it with enough effectiveness on the chosen channels. |
TriggerImpactTool | class | ImpactTool | 2 | Impacts and hit detection |
Alta.Inventory
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AbstractDockEvents | abstract class | MonoBehaviour | 0 | Base component that turns a PickupDock's dock and undock events into first, each, last and undock callbacks. Can be limited to server or client. |
AutomaticDockArea | class | MonoBehaviour, IBuildRendererBakeable, IBuildBakeable | 1 | Items, interaction and damage |
BoundsDockPositioning | class | MonoBehaviour | 0 | Overrides a dock's item placement: turns each docked pickup so its longest side lines up with the X axis and shrinks it to fit limits. |
CharacterDockManager | class | ComponentGroup<PickupDockGroup> | 0 | Player inventory: A ComponentGroup of PickupDockGroups. |
Chest | class | LockableHinge | 5 | Items, interaction and damage |
CommunalStorage | class | NetworkEntityBehaviour, ISavable<CommunalStorageData>, ISavableSave<CommunalStorageData>, +2 more | 3 | Items, interaction and damage |
CommunalStorageData | class | NewSaveData<CommunalStorage, CommunalStorageData> | 1 | Save data for a CommunalStorage. |
CommunalStorageUniqueIdentifier | class | HashedGeneralValue<CommunalStorageUniqueIdentifier> | 0 | A hashed asset that names one global communal storage. The server saves what each one holds in the Global Communal Storage file. |
ConsumableLock | class | Lock | 3 | A lock that is used up: when unlocked it breaks the key and plays an unlock animation, and Break destroys the lock itself. |
CraftedDocks | class | MonoBehaviour, IBlockDisassembly | 0 | Manages docks on a crafted part: shows or hides them (and a storage visual) when the assembly's root pickup is docked or undocked, and blocks disassembly while they hold items. |
DockArray | class | NetworkEntityBehaviour | 14 | A group of pickup docks (a bag's or belt's slots) with totals for count, stored quantity and weight. Arrays can nest, so a parent includes its children's docks. |
DockedOffset | class | NetworkEntityBehaviour | 1 | Moves a transform between two local positions when its pickup (or the crafted assembly's root pickup) is docked or undocked. |
DockFilter | delegate | 0 | Docks | |
DockHideOptions | enum | 3 | Game setting for hiding dock visuals in screenshots: never, only empty docks, or always. | |
DockPositioning | delegate | 0 | Override for where a docked pickup sits: fills in local position, rotation and scale, returning false if it can't place it. Set through PickupDock.OverridePositioning. | |
DockVisibilityMode | enum | 4 | How a dock shows itself to the player: not at all, fading alpha, fading size, or a highlight material when close. | |
DockVisual | class | MonoBehaviour, IBuildRendererBakeable, IBuildBakeable | 9 | The bubble and item count label on a pickup dock. Switches materials by distance to the local player's head, pulses while hovered, and can hide from the hand camera. Client only; does nothing on a headless server. |
GlobalCommunalStorageValues | class | NetworkEntityBehaviour | 6 | Server: keeps communal storage contents across server wipes, saved in the Global Communal Storage file. Static methods use a single instance set in Awake. |
GlobalCommunalStorageValuesData | class | BasicSaveData<GlobalCommunalStorageValuesData> | 3 | Save data for the global communal storage: parallel lists of storage data, their identifiers and stored counts. |
IInterfereWithDocking | interface | 1 | A component that can stop two items from stacking in one dock, such as liquid containers with different contents. Checked when an item is docked onto one already there. | |
Ingot | class | ItemComponent | 2 | Smelting and forging: ItemComponent on ingot items: SmeltingDuration and PhysicalMaterial. |
InvertedTriangleStackingInstruction | class | StackingInstructions<InvertedTriangleStackingInstructionSetup> | 7 | Stacking instructions asset that piles items in an inverted triangle inside a dock. Created from the Township/Stacking asset menu. |
InvertedTriangleStackingInstructionSetup | class | StackingInstructionSetup<InvertedTriangleStackingInstruction> | 0 | Builds the stacking layout for the inverted triangle instruction: rows that get wider as they go up, with random spacing and spin. |
Item | class | HashedGeneralValue<Item>, IPageBasis | 35 | Items and materials, Arguments and results: A ScriptableObject asset (through Alta.HashedGeneralValue<Item> in Alta.Values). The same on both sides; it's data. |
Item.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Items.ScriptableObject<Item> | 0 | Editor menu entry for creating an Item asset. |
Item.CustomDockPositioning | class | DockPositioning | 2 | A store position and rotation for an item in one kind of dock. A null dock type acts as the fallback for any dock. |
Item.DockPositioning | class | 3 | Where an item sits when stored in a dock: a local position and rotation. PickupDock gets one from Item.GetPositioning and scales the position to fit. | |
ItemCount | class | 2 | An item and an amount, used for smelting recipe inputs and outputs. | |
ItemDockedVfxEvent | class | AbstractDockEvents | 0 | Plays a pooled effect at a spawn point when items are docked into or undocked from a dock. |
ItemSet | class | ScriptableObject | 1 | ScriptableObject holding a list of item definitions. |
ItemSet.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Items.ScriptableObject<ItemSet> | 0 | Editor menu entry for creating an ItemSet asset. |
JengaStackingInstruction | class | StackingInstructions<JengaStackingInstructionSetup> | 4 | Stacking instructions that lay items in alternating crossed layers like a Jenga tower (menu Township/Stacking/Jenga Instructions). |
JengaStackingInstructionSetup | class | StackingInstructionSetup<JengaStackingInstruction> | 0 | Builds the stacking layout for the Jenga instruction: layers of items that turn 90 degrees each layer. |
JengaStackingInstructionSetup.Level | struct | 3 | One layer of a jenga stack: how many items fit along X and Z, and the total. | |
KeyItem | class | Pickup | 7 | Items, interaction and damage |
KeyItemEvent | class | AltaEvent<KeyItem, KeyUnityEvent> | 0 | A serializable event with a KeyItem argument, such as a lock's key turn event. |
KeyUnityEvent | class | UnityEvent<KeyItem> | 0 | Serializable Unity event that passes a KeyItem. |
Lock | class | NetworkEntityBehaviour | 11 | Items, interaction and damage |
LockableEvent | class | AltaEvent<LockableHinge, LockableUnityEvent> | 0 | A serializable AltaEvent that passes a LockableHinge, used for lock and chest thump events. |
LockableHinge | class | NetworkEntityBehaviour, ISavableFull<LockableHingeSaveData>, ISavable<LockableHingeSaveData>, +3 more | 5 | Items, interaction and damage |
LockableHingeSaveData | internal class | NewSaveData<LockableHinge, LockableHingeSaveData> | 4 | Save data for a LockableHinge: whether it has a lock and its state. |
LockableUnityEvent | class | UnityEvent<LockableHinge> | 0 | Serializable Unity event that passes a LockableHinge. |
LockEffectUnityEvent | class | UnityEvent<Lock> | 0 | Serializable Unity event that passes a Lock, for lock effects. |
LockEvent | class | AltaEvent<Lock, LockUnityEvent> | 0 | A serializable event with a Lock argument, such as a lock's locked or broken events. |
LockItemEvent | class | AltaEvent<Lock, LockEffectUnityEvent> | 0 | Inspector event that passes a Lock. Used for Chest.LockJingleJangle. |
LockUnityEvent | class | UnityEvent<Lock> | 0 | Serializable Unity event that passes a Lock. |
OnlyAllowDockingWhenEmpty | class | NetworkEntityBehaviour | 1 | Blocks a container from being docked while its own docks hold anything, and blocks its docks from taking items while it is docked. |
PersonalChunk | class | NetworkEntityBehaviour | 4 | A chunk that loads one player's personal storage, saved under a name with that player's ID. Server only; one player at a time, and a player can only use one at a time. |
PickupDock | class | Interactable, ISavableFull<PickupDockSaveData>, ISavable<PickupDockSaveData>, +9 more | 54 | Other systems, Player inventory |
PickupDock.AllowedResult | enum | 23 | Why a dock accepted or refused a pickup: Ok, or a reason such as wrong item, tag filter, full or crafting rules. | |
PickupDocker | class | 10 | The part of a Pickup that docks it into and out of a PickupDock and syncs that over the network. Both sides; each pickup owns one. | |
PickupDockFilter | delegate | 0 | Filter called before a pickup docks; set result to false to stop it docking in that dock. | |
PickupDockHandler | delegate | 0 | Handler for an event about a single dock. | |
PickupDockHoverHandler | delegate | 0 | Handler for PickupDock.HoverCountChanged, with the dock and its previous hover count. | |
PickupDockInteractionHandler | delegate | 0 | Callback with the interactor, pickup and dock, used by PickupDocker's PreDocked, Docked and Undocked events. | |
PickupDockSaveData | internal class | NewSaveData<PickupDock, PickupDockSaveData> | 3 | Save data for a PickupDock (version 2): what is docked and how many. |
PickupDockSaveDataOld | internal class | OldSaveData | 4 | Version 1 save data for a PickupDock, migrated to PickupDockSaveData when loaded. |
PickupDockSettings | class | ScriptableObject | 42 | Docks: Alta.Inventory.PickupDockSettings is a ScriptableObject asset that many docks share. |
PickupDockSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Items.ScriptableObject<PickupDockSettings> | 0 | Editor menu entry for creating a PickupDockSettings asset. |
PickupDockVisualSettings | class | ScriptableObject | 6 | ScriptableObject with how dock bubbles look: materials by distance, colours for whether a held item fits, and hover and fade settings. Client side, used by DockVisual. |
PickupDockVisualSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Items.Docking.ScriptableObject<PickupDockVisualSettings> | 0 | Editor menu entry for creating a PickupDockVisualSettings asset. |
PickupTag | class | ScriptableObject | 0 | An empty asset used as a tag for marking and matching pickups. |
PickupTag.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Items.ScriptableObject<PickupTag> | 0 | Editor menu entry for creating a PickupTag asset. |
PlayerDocks | class | MonoBehaviour | 0 | Player inventory: On the body; adds an InteractionFilter to every dock so only the owner can take from them. |
PooledDockVisual | class | PooledObject | 4 | Pooled visual for a dock: the bubble mesh, its filter and a 3D count label. |
QuantityChangeHandler | delegate | 0 | Parameterless handler for PickupDock.QuantityChanged. | |
RejectDockArea | class | AutomaticDockArea, INetworkEntityBehaviour | 1 | Items, interaction and damage |
SphereInBoxStackingInstruction | class | StackingInstructions<SphereInBoxStackingInstructionSetup> | 4 | Stacking instructions asset that packs spheres in a box grid inside a dock. Created from the Township/Stacking asset menu. |
SphereInBoxStackingInstructionSetup | class | StackingInstructionSetup<SphereInBoxStackingInstruction> | 0 | Builds the stacking layout for the sphere in box instruction: a grid of randomly rotated, slightly jittered items filling the bounds. |
StabilizeJointContainer | class | StabilizePickupJoint | 0 | StabilizePickupJoint for jointed containers (bags): also scales a held visual and hides the storage visual while docked. |
StabilizeLantern | class | StabilizeJointContainer | 0 | StabilizeJointContainer for lanterns. In a physical dock it joins the lantern to the dock's root rigidbody and passes grabs through to the root pickup. |
StabilizePickupJoint | class | MonoBehaviour, IPostboxPopped | 3 | Keeps a jointed pickup (such as a bag on a joint) stable: limits its distance and speed while held, and rebuilds the joint when the player teleports. |
StackingComponent | class | MonoBehaviour, IReferenceRenderer, IPreventNoLongerReadable, +2 more | 4 | Component on a stackable item's prefab that holds its stacking instructions and the meshes used to draw and collide a stack of it. |
StackingInstructions | abstract class | ScriptableObject | 2 | Base asset that describes how items stack in a space. It makes a StackingInstructionSetup for given bounds; the generic subclass creates the setup type for you. |
StackingInstructions<T> | abstract class | StackingInstructions | 1 | Base for stacking instructions assets that build their layout with a setup class T. |
StackingInstructionSetup | abstract class | 5 | Base for working out where stacked copies of an item go inside some bounds, from StackingInstructions. Used by StorageOrganizer. | |
StackingInstructionSetup<T> | abstract class | StackingInstructionSetup | 1 | Base for a stack layout built from a specific StackingInstructions type. Subclasses fill Positions and MaxQuantity. |
StorageData | class | 3 | One saved row of the global communal storage: an item, its material and how many are stored. Kept by GlobalCommunalStorageValues. | |
StorageOrganizer | class | MonoBehaviour, IUpdateOnMove | 0 | Items, interaction and damage |
SubDockHandler | delegate | 0 | Event handler for a pickup docking into or out of a sub dock of a docked item. Used by PickupDock.OnSubDocked and OnSubUndocked. |
Alta.Inventory.Pickups.Scripts
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
PickupActionData | struct | 6 | Plain data about one pickup inventory action: who did it, what pickup, how many and where it went. | |
PickupEventStreamLogger | static class | 4 | Server: reports pickup, drop, dock and undock actions to the console InventoryChanged event. Skipped in local test scenes. |
Alta.Logic
Alta.Mechanisms
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
BendPath | class | Path | 2 | Other systems |
Crank | class | Mechanism | 0 | Other systems: A Mechanism turned by hand in half or quarter turns. |
Mechanism | abstract class | NetworkEntityBehaviour | 1 | Other systems: Watches an ActivationPickup; while it's held (and, if hand based, the base is held too), the server runs the subclass's CheckAction coroutine. |
NonPhysicalLever | class | NetworkEntityBehaviour | 5 | Other systems: A lever with IsActive, MoveToPosition(float), ForceFull(bool), ForceEmpty(bool). |
Path | abstract class | MonoBehaviour | 2 | Other systems |
PullAway | class | NetworkEntityBehaviour | 1 | Other systems: Something you pull off, raising onPulled past a distance. |
Scrubber | class | MonoBehaviour | 1 | Other systems: A grab handle that slides along a Path in Steps steps and raises updatedStep. |
StraightPath | class | Path | 2 | Other systems |
Alta.Pages
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
Book | class | NetworkEntityBehaviour, ISavable<BookSaveData>, ISavableSave<BookSaveData>, +3 more | 19 | Pages and books: A book pickup. |
BookFlair | abstract class | ScriptableObject | 1 | Base asset for a decoration (spine, edge, emblem) added to a book's model, with renderers for each LOD. |
BookPageInstance | class | PageInstance | 3 | A page shown inside a book. Grabbing its tip and dragging sideways turns the page, and dragging up or down on a facing page pulls it out or copies it as a paper page. On the page prefab; both sides. |
BookRestrictor | class | PositionRestrictor, ISavable<BookRestrictorSaveData>, ISavableSave<BookRestrictorSaveData>, +1 more | 1 | Pages and books |
BookRestrictorSaveData | internal class | NewSaveData<BookRestrictor, BookRestrictorSaveData> | 1 | Save data (version 1) for a BookRestrictor. |
BookSaveData | internal class | NewSaveData<Book, BookSaveData> | 2 | Save data (version 1) for a Book: its page collection and the pages inside it. |
BookSpawner | class | NetworkEntityBehaviour | 1 | Pages and books |
DisplayArguments | class | 5 | Message payload a Book sends to chunks to update its page counter: pages found, total pages and the current page. | |
DockPageTask | class | HashSetAction<DockObjectTaskArgument> | 1 | Game task asset (Township Tale/Game Tasks/Dock Page) that counts when a page item is docked into one of the chosen docks. |
EdgeFaceFlairs | class | 6 | Decorative corner and middle pieces for the front and back faces at a book's outer edge. Used by FlairSettings. | |
FaceEdgeCorner | class | BookFlair | 0 | A book flair asset for the corner on a book's outer edge. No extra data beyond BookFlair. |
FaceEdgeCorner.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceEdgeCorner> | 0 | Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceEdgeCorner book flair asset. |
FaceEdgeMiddle | class | BookFlair | 0 | A book flair asset for the middle of a cover's edge. A BookFlair ScriptableObject that adds its prefab to the book. |
FaceEdgeMiddle.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceEdgeMiddle> | 0 | Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceEdgeMiddle book flair asset. |
FaceEmblem | class | BookFlair | 0 | A book flair asset for the emblem on a book's cover. Used by FlairSettings when there is no glyph. |
FaceEmblem.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceEmblem> | 0 | Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceEmblem book flair asset. |
FaceEmblemFrame | class | BookFlair | 0 | A book flair asset for the frame around a book's cover emblem, glyph or letter. |
FaceEmblemFrame.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceEmblemFrame> | 0 | Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceEmblemFrame book flair asset. |
FaceSpineCorner | class | BookFlair | 0 | A book flair asset for the corner by a book's spine. No extra data beyond BookFlair. |
FaceSpineCorner.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceSpineCorner> | 0 | Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceSpineCorner book flair asset. |
FaceSpineMiddle | class | BookFlair | 0 | A book flair asset for the middle of a cover next to the spine, used as the front or back middle in SpineFaceFlairs. |
FaceSpineMiddle.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceSpineMiddle> | 0 | Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceSpineMiddle book flair asset. |
FlairLodSet | class | MonoBehaviour | 3 | Component on a book flair prefab listing its renderers for each of three LOD levels, so the book can add them to its LOD group. |
FlairSet | class | ScriptableObject | 3 | Asset with one set of decorative flairs for a book's pages: spine, spine face and edge face. FlairSettings holds the base sets. |
FlairSet.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FlairSet> | 0 | Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FlairSet asset. |
FlairSettings | class | 13 | How a book's cover is decorated: flair meshes for the spine, spine face and edge face, materials, and one face mark (a glyph, an emblem or a letter). | |
FlairSettings.FrameMaterialMode | enum | 3 | Which material a book's emblem frame uses: unchanged from its prefab, the book material, or the flair material. | |
GlobalPagesManager | class | NetworkEntityBehaviour, ISavable<GlobalPagesManagerSaveData>, ISavableSave<GlobalPagesManagerSaveData>, +1 more | 9 | Pages and books: Alta.Pages.GlobalPagesManager, a NetworkEntityBehaviour singleton (GlobalPagesManager.Instance). The list is built and kept on the server and saved with the world. |
GlobalPagesManagerSaveData | internal class | NewSaveData<GlobalPagesManager, GlobalPagesManagerSaveData> | 2 | Save data (version 2) for the GlobalPagesManager. |
GlobalPagesManagerSaveData1 | internal class | OldSaveData | 2 | Old version 1 save data for the GlobalPagesManager, kept so old saves can load. |
Glyph | class | HashedGeneralValue<Glyph> | 6 | Pages and books |
Glyph.Positioning | class | 12 | Where a glyph sits on a page: position, rotation and scale, snapped to steps so it syncs compactly (0.01 position, 10 degrees, 0.1 scale). | |
GlyphInstance | class | MonoBehaviour | 3 | Pages and books |
HapticWhileHeld | class | MonoBehaviour | 2 | Component that buzzes the holding hand's controller every frame while its Pickup is held. Client side. |
IPageBasis | interface | 4 | Something a page can be generated about, such as an item or recipe, so books and notes can describe it. | |
MouldRestrictor | class | PositionRestrictor | 2 | Pages and books |
NewPageArguments | class | 5 | Message payload a Book sends to chunks when the server spawns a page into it. | |
Page | class | SimpleHashedGeneralValue<Page>, IPageBasis | 6 | Asset for a fixed (hand-made) page, such as a recipe or lore page, with its glyph layout. Served by the static page provider. |
Page.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.ScriptableObject<Page> | 0 | Editor menu item under Assets/Create/Township/Features/Pages that makes a new Page asset. |
PageCollection | class | HashedGeneralValue<PageCollection> | 9 | Arguments and results |
PageCollection.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.ScriptableObject<PageCollection> | 0 | Editor menu item under Assets/Create/Township/Features/Pages that makes a new PageCollection asset. |
PageCollectionConverter | class | TypeConverter | 2 | TypeConverter that turns a string into a PageCollection by name. Nothing in this build attaches it to a type. |
PageData | class | 11 | The content of a book or paper page: a list of placed glyphs, or data from a PageProvider for generated pages. Serialised over the network and compared by value. | |
PageInstance | class | GeneratedNetworkEntityBehaviour, ISavable<PageInstanceSaveData>, ISavableSave<PageInstanceSaveData>, +1 more | 11 | Pages and books: A page inside a book or on paper: Book, Data, Set(PageData), event Action<PageInstance> OnChangedPage. |
PageInstanceSaveData | class | NewSaveData<PageInstance, PageInstanceSaveData> | 5 | Save data for a PageInstance: either a reference to a page from a page provider, or a list of custom glyph positions. |
PageInstanceSaveData1 | class | OldSaveData | 4 | Old (version 1) save data for a PageInstance. It is migrated to PageInstanceSaveData on load. |
PageInstanceSaveData2 | class | OldSaveData | 5 | Old version 2 save data for a PageInstance, kept so old saves can load. |
PageRenderer | class | MonoBehaviour | 3 | Client: renders page glyphs into render texture materials with its own camera, caching and pooling them per PageData. A singleton; does nothing on a headless server. |
PaperPageInstance | class | PageInstance | 4 | Pages and books: A loose page you find. |
Pinboard | class | NetworkEntityBehaviour | 1 | Pages and books: A board that shows a set of pages. |
PositionRestrictor | class | NetworkEntityBehaviour, ISavable<PositionRestrictorSaveData>, ISavableSave<PositionRestrictorSaveData>, +1 more | 11 | Pages and books |
PositionRestrictorSaveData | class | NewSaveData<PositionRestrictor, PositionRestrictorSaveData> | 7 | Save data for a PositionRestrictor (save version 3): the allowed area and the spawn point players are sent back to. |
PositionRestrictorSaveData2 | class | OldSaveData | 8 | Old version 2 save data for a PositionRestrictor, kept so old saves can load. |
PositionRestrictorSaveDataOld1 | class | OldSaveData | 2 | Old version 1 save data for a PositionRestrictor, holding only a radius. |
SpineEdge | class | BookFlair | 0 | A book flair asset for the top or bottom end of the spine, used in SpineFlairs. |
SpineEdge.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<SpineEdge> | 0 | Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new SpineEdge book flair asset. |
SpineFaceFlairs | class | 6 | Decorative corner and middle pieces for the front and back faces at a book's spine side. Used by FlairSettings. | |
SpineFlairs | class | 3 | Decorative top, middle and bottom pieces for a book's spine. Used by FlairSettings. | |
SpineMiddle | class | BookFlair | 0 | A book flair asset for the middle of a book's spine. |
SpineMiddle.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<SpineMiddle> | 0 | Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new SpineMiddle book flair asset. |
TurnPageArguments | class | 5 | Message payload a Book sends to chunks when the server turns a page. |