# API reference

> Every type plugins and adapters build against in Evil Engine, with signatures read from the engine's own libraries.

The types plugins and adapters build against. Signatures come straight from the engine's built libraries, and every member has its own section.

## EvilEngine.Api.Agents

- [AgentButtons enum](/docs/api/agentbuttons): The buttons an agent command holds, any of them together.
- [AgentCommand record struct](/docs/api/agentcommand): A raw command for an agent's body, the same a player's input fills, given with Command.
- [AgentMotion enum](/docs/api/agentmotion): How an agent's last MoveTo is going.
- [AgentMove record](/docs/api/agentmove): How an agent moves to a goal.
- [IAgent interface](/docs/api/iagent): A body a brain thinks for: what it is, where it is and where it's going. Distances are metres, angles degrees, times seconds. A goal, facing or command that isn't finite throws ArgumentOutOfRangeException, and so do a move's distance or speed below 0 and buttons that aren't AgentButtons; a move with no gait throws ArgumentException. Either drops the brain that asked, as any throw does.
- [IAgents interface](/docs/api/iagents): Where a Plugin gives brains, through its context's Agents. An agent record names a brain by its id, and a body that attaches the record, as an NPC class's spawns do through NpcClass.Agent, thinks with it. With no Plugin registering the brain, the body stands idle.
- [IBrain interface](/docs/api/ibrain): What thinks for one agent. The engine calls it at the agent record's think interval, 0.1 s unless the record says otherwise, in the session's think phase on the server's thread, and spreads agents on the same interval over its ticks.

## EvilEngine.Api

- [ContentHandle record struct](/docs/api/contenthandle): A reference to one piece of converted content: what kind it is and its id. It's a small value type, so pass it around and compare it freely.
- [IPlugin interface](/docs/api/iplugin): The entry point of a Plugin's C# half: the one public class in its code DLL that the engine creates and hands a PluginContext.
- [PlayerId record struct](/docs/api/playerid): One player in a session, as the host knows them for as long as they're connected. A Plugin gets one from the API that hands out players and passes it back to name that player, as ICrosshairs.Of takes one.
- [PluginContext class](/docs/api/plugincontext): A Plugin's handle on the engine in one realm: its identity, which realm it's in, the weapons it gives, the world's physics, crosshairs and weapon selection, content by id, and the way to share an API with other Plugins.
- [Realm enum](/docs/api/realm): Where a piece of Plugin code runs: on the server or on a client. The menus run the engine's own code alone, never a Plugin's.

## EvilEngine.Api.Crosshair

- [CrosshairLayer record](/docs/api/crosshairlayer): An override a gamemode, a weapon or any Plugin lays over a crosshair with ICrosshair.Set. Every key left null leaves the crosshair as it was.
- [ICrosshair interface](/docs/api/icrosshair): One crosshair, everyone's or one player's (ICrosshairs): the layers over it and the motion played on it.
- [ICrosshairs interface](/docs/api/icrosshairs): Every player's crosshair in a session, as the server holds it: the layers set over it and the events played on it. The host sends each player their part whenever it changes and plays the events on their screen, so nothing here needs the client.

## EvilEngine.Api.Damage

- [Damage record](/docs/api/damage): One hit on a person as it passes through the deciders: what the engine knows of it, and what the deciders set. Once they're done, the engine takes the amount from health rounded to the nearest point, takes the armour, adds the push to the person's velocity and sets their view punch.
- [DamageKind enum](/docs/api/damagekind): What did some damage.
- [IDamage interface](/docs/api/idamage): Where a Plugin changes damage before it lands, through its context's Damage.

## EvilEngine.Api.Npcs

- [INpcs interface](/docs/api/inpcs): Where a Plugin gives NPC classes, through its context's Npcs. A spawnable record names a class and a body; with the class registered, its body spawns with what the NpcClass says, and with none it stands as its body does.
- [NpcClass record](/docs/api/npcclass): What a Plugin's NPC class gives the bodies it spawns.

## EvilEngine.Api.Physics

- [BodyMotion enum](/docs/api/bodymotion): How a body moves: never, only when it's told to, or under the world's forces. It's set in BodySpec.Motion and fixed once the body is added.
- [BodySpec record](/docs/api/bodyspec): What IPhysicsWorld.Add makes a body from: its collision, and everything else as overrides with defaults. Set what you need with with or an initialiser and leave the rest.
- [IPhysicsBody interface](/docs/api/iphysicsbody): One body in an IPhysicsWorld, as Add returns it. Every vector is a MapVector in meters on Godot's axes, read from the world as it stands after the last step. Setting a number or vector, or pushing with one, that isn't finite or is past a float's range throws ArgumentOutOfRangeException, so Jolt never takes one, and so does an orientation of all zeros.
- [IPhysicsJoint interface](/docs/api/iphysicsjoint): A joint IPhysicsWorld.Join made between two bodies. Hold on to it to take it out again with IPhysicsWorld.Remove.
- [IPhysicsWorld interface](/docs/api/iphysicsworld): A session's one physics world: its gravity, its bodies, and adding and removing them. It has no Godot in it, so the same calls work on a dedicated server.
- [JointFrame record struct](/docs/api/jointframe): A joint's frame in one body's own space: where its pivot is and how its axes are turned, both relative to the body's origin. JointSpec takes one for each body as InParent and InChild.
- [JointSpec record](/docs/api/jointspec): What IPhysicsWorld.Join makes a joint from: the two bodies it joins, and everything else as overrides with defaults. A joint keeps its two pivots together and lets the child turn against the parent about the joint's X, Y and Z axes, each within its own limits.
- [Orientation record struct](/docs/api/orientation): A rotation, as a quaternion in doubles on Godot's axes. It's a small value type, so pass it around and compare it freely.

## EvilEngine.Api.Selection

- [ISelection interface](/docs/api/iselection): One player's weapon selection, or everyone's (ISelections): the layers over it.
- [ISelections interface](/docs/api/iselections): Every player's weapon selection in a session, as the server holds it: the layers set over it. The host sends each player their stack whenever it changes, and refuses the picks of a player whose selection is hidden or locked, so nothing here needs the client.
- [SelectionLayer record](/docs/api/selectionlayer): An override a gamemode, a weapon or any Plugin lays over a player's weapon selection with ISelection.Set. Every key left as it starts leaves selection as it was.

## EvilEngine.Api.Weapons

- [IProjectile interface](/docs/api/iprojectile): A projectile in flight, as its behaviour and the weapon that launched it see it. It never hits its owner. A number or vector it's given that isn't finite, or is past a float's range, throws ArgumentOutOfRangeException naming it, and so does an orientation of all zeros.
- [IProjectileBehaviour interface](/docs/api/iprojectilebehaviour): What a projectile does, written by the Plugin that launches it.
- [IWeaponBehaviour interface](/docs/api/iweaponbehaviour): What a weapon does while it's held, registered with IWeapons.Register. The server makes one for each carried item of the weapon and runs it on the server only. A behaviour whose Deploy or Think throws, or whose factory throws making it, is switched off for that item with a note, as a brain that throws is: the weapon stays in hand doing nothing, keeping what it last set, until a new one is given. A Holster that throws is noted and the switch goes on. Each kind of throw is noted once.
- [IWeaponHolder interface](/docs/api/iweaponholder): The body holding a weapon, as one tick's command left it. Every vector is a MapVector in meters on Godot's axes. A number or vector it's given that isn't finite, or is past a float's range, throws ArgumentOutOfRangeException naming it, so one bad sum can't spoil the holder's aim or the world, and so does a projectile's mass of 0 or less or a size or damping below 0.
- [IWeaponViewModel interface](/docs/api/iweaponviewmodel): The owner's view model for the weapon a holder holds, which the weapon changes while it's out: an ammo counter on the model, a glow as it heats, a stock that folds out. Each change reaches the owner's client with the body's state and lasts until it's changed again or the weapon is put away, when the view model goes back to how its viewmodel record draws it.
- [IWeapons interface](/docs/api/iweapons): The weapons a realm's Plugins give, each named by its weapon record. A Plugin gets its own view of it from PluginContext.Weapons, so every weapon it registers is listed under its id and goes when it unloads.
- [ProjectileBlur record struct](/docs/api/projectileblur): Copies of a sprite drawn in a line behind a projectile, spread and brightened by how far it moved since the last frame, as Source blurs the AR2 ball.
- [ProjectileFlicker record struct](/docs/api/projectileflicker): A sprite drawn over a projectile's glow at a new random width and brightness every frame, as Source's AR2 ball flickers.
- [ProjectileGlow record struct](/docs/api/projectileglow): A glowing sprite drawn on a projectile, from red, green and blue from 0 to 1 and its size in meters.
- [ProjectileTrail record struct](/docs/api/projectiletrail): A trail drawn behind a projectile as it flies, from red, green and blue from 0 to 1, its width in meters and how many seconds it lasts.
- [WeaponBeam record](/docs/api/weaponbeam): A beam a weapon shows, drawn by the engine as a glowing ribbon in the holder's weapon colour from the view model's muzzle in first person, or the holder's right hand otherwise. It eases after its end, bows toward the aim while it lags and fades in and out on its own.
- [WeaponBlast record](/docs/api/weaponblast): An explosion a projectile sets off through IProjectile.Explode. Its damage falls off in a line to nothing at its radius, measured to the nearest point the blast can see on each prop and person. A prop between the blast and something behind it takes a share of the damage by its mass, all of it at 350 kg, and the world blocks it. Everything it hurts is pushed away from the blast; the one it hit takes all of the damage.
- [WeaponBullets record](/docs/api/weaponbullets): Bullets a weapon fires through IWeaponHolder.Fire.
- [WeaponButtons enum](/docs/api/weaponbuttons): The buttons a weapon reads from its holder's command.
- [WeaponCaptures enum](/docs/api/weaponcaptures): What a weapon takes from its player's input in place of the engine, for IWeaponHolder.Captures. They combine.
- [WeaponEase enum](/docs/api/weaponease): How a view model animation moves through its length, for IWeaponHolder.Animate. Either way it takes as long.
- [WeaponEffectAt record struct](/docs/api/weaponeffectat): Where IWeaponHolder.Effect plays an effect: at a point in the world facing a normal, or on an attachment of the weapon's own model.
- [WeaponGestures class](/docs/api/weapongestures): The gestures every person's hold types are expected to have, for IWeaponHolder.Gesture.
- [WeaponProjectile record](/docs/api/weaponprojectile): What a weapon launches through IWeaponHolder.Launch: a model that flies on its own, either traced by the engine every tick or as a physics body that bounces and rolls. Every vector is a MapVector in meters on Godot's axes.
- [WeaponSteer record struct](/docs/api/weaponsteer): The mouse's movement over one command, in screen pixels, for IWeaponHolder.Steer. The physics gun turns a held prop a twentieth of a degree a pixel.
- [WeaponTrace record struct](/docs/api/weapontrace): What a Trace hit.

## EvilEngine.Conversion

- [AdapterContext class](/docs/api/adaptercontext): What an adapter registers everything through in Register. Each of its calls adds one thing to the engine's mount registry or conversion pipeline and records it under the adapter.
- [ConversionContext class](/docs/api/conversioncontext): What a converter reads through, in Accepts and Convert: the content asked for, the namespace's files, and the places to note what the result points at and what went wrong.
- [FileLayer record](/docs/api/filelayer): The layer a file in a layered mount comes from, as ConversionContext.LayerOf gives it: the name and role its LayerPlan was given. It's the layer whose copy wins, so a file a Garry's Mod addon overrides comes from the addon's layer.
- [IAdapter interface](/docs/api/iadapter): The entry point of an adapter: the one public class in its DLL that registers what the adapter brings, such as games it recognises, containers it opens, finders and converters.
- [IConverter interface](/docs/api/iconverter): Turns a mounted game's files into one piece of Evil Engine content, such as a texture, a material, a map or a record set. Everything past a converter sees only the converted result, never the game's own format.

## EvilEngine.Formats.Collision

- [Collider record](/docs/api/collider): One shape of a collision: what shape it is, what it's made of, and where it sits about the collision's origin.
- [ColliderShape record](/docs/api/collidershape): The shape of a Collider, centred on the collider's own origin, in metres. It's one of six records, and no other kind can be made:
- [ColliderShape.Box record](/docs/api/collidershape-box): A collider shape that's a box, centred on the collider's origin and lined up with its axes. Turn it with the collider's Rotation.
- [ColliderShape.Capsule record](/docs/api/collidershape-capsule): A collider shape that's a capsule, a cylinder with a half sphere on each end, centred on the collider's origin and running along its Y axis. Its whole length is its Height and twice its Radius.
- [ColliderShape.Cylinder record](/docs/api/collidershape-cylinder): A collider shape that's a cylinder with flat ends, centred on the collider's origin and running along its Y axis.
- [ColliderShape.Hull record](/docs/api/collidershape-hull): A collider shape that's the convex hull of a set of points about the collider's origin, as each convex piece of a Source .phy is. The physics world wraps the points, so a point inside the hull changes nothing and a hollow can't be made with one: build a concave shape from several hulls.
- [ColliderShape.Mesh record](/docs/api/collidershape-mesh): A collider shape of triangles, which need not close or be convex, for the world and things that never move: a map's displacements, a Bunker or Overgrowth model's own collision. A body holding one can only be static or kinematic. IPhysicsWorld.Add refuses a dynamic one with ArgumentException, and it counts no volume toward a body's mass. In a body made there, its triangles collide from both sides.
- [ColliderShape.Sphere record](/docs/api/collidershape-sphere): A collider shape that's a sphere, centred on the collider's origin.
- [CollisionBody record](/docs/api/collisionbody): One part of a jointed collision, such as a ragdoll's forearm: which colliders it owns, where it sits in the model's bind pose, and how it moves. Source's .phy gives one for each solid of a model with more than one, named after the solid's bone.
- [CollisionContent record](/docs/api/collisioncontent): Converted collision content: the shapes something collides with, and what it weighs. A model's is <model>/collision, made from Source's .phy for Garry's Mod, and a Plugin makes its own to give BodySpec for IPhysicsWorld.Add. Every length is in metres on Godot's axes, about the body's origin.
- [CollisionJoint record](/docs/api/collisionjoint): A joint between two parts of a jointed collision, as a Source .phy's ragdollconstraint gives one. It keeps the two together at its pivot and lets the child turn against the parent about the joint's X, Y and Z axes, each within its own limit. A ragdoll's joints become JointSpecs with these limits and friction, and the parts they join don't collide with each other.
- [CollisionMotion record](/docs/api/collisionmotion): What a collision that's one moving body says about how it moves. Only its mass is kept. Source's .phy gives one for a prop of one solid.
- [CollisionSurface record](/docs/api/collisionsurface): What a collider is made of: a surface record's id, a material's id whose surface stands in for it, both or neither. A ColliderShape and each MeshPart carry one, and footsteps, impacts and bullet holes read it where something touches.
- [JointLimit record struct](/docs/api/jointlimit): How far a joint lets its child turn about one of its axes, as a least and a greatest angle in radians. A CollisionJoint and a JointSpec each hold three, for the joint's X, Y and Z axes.
- [MeshPart record](/docs/api/meshpart): One piece of a ColliderShape.Mesh: triangles over corners of its own, and what they're made of, so one mesh can be concrete in one place and metal in another.

## EvilEngine.Formats

- [ContentId record struct](/docs/api/contentid): The name of one piece of content: a namespace and a name, written namespace:name, as in quake:id1/maps/e1m1 or gmod:models/props_c17/oildrum001. It's a small value type, so pass it around and compare it freely.
- [ContentKind record struct](/docs/api/contentkind): What kind of thing a piece of content is, by name, such as texture or map. Every content request is a kind and a ContentId, and a converter makes exactly one kind, its Produces.

## EvilEngine.Formats.Maps

- [MapVector record struct](/docs/api/mapvector): Three doubles: a position, a direction, a velocity or a spin, in meters on Godot's axes with +Y up. Everything a converter writes is in meters, whatever units its game used, so a vector from one game means the same in another.

## EvilEngine.Formats.Records

- [CrosshairBlend enum](/docs/api/crosshairblend): How a crosshair meets the world under it. Both happen in linear light, as Source's do.
- [CrosshairColour record struct](/docs/api/crosshaircolour): A crosshair's colour as four bytes, red, green, blue and alpha, written #rrggbb or #rrggbbaa in lowercase.
- [CrosshairEase enum](/docs/api/crosshairease): The shape of a CrosshairReaction's rise and fall.
- [CrosshairKey enum](/docs/api/crosshairkey): A crosshair key a player may set over a style, and a layer may lock away from them. A style's record lists the ones it takes under player.
- [CrosshairReaction record](/docs/api/crosshairreaction): How a crosshair moves when it reacts to something: how far it spreads and how much it dims at its peak, and how it gets there and back. A style's record holds its reactions to events in its on table, and a Plugin can play or hold one of its own.
- [CrosshairRegion record struct](/docs/api/crosshairregion): A rectangle of a texture in whole texels, from a record's region = [x, y, width, height]: the part of an image a crosshair style or a weapon icon draws, so one sheet can hold many. The readers refuse one whose numbers aren't whole or whose size isn't above 0.
- [WeaponAttachments record](/docs/api/weaponattachments): The attachments on a weapon's models its looks come from: the muzzle its flash, tracers and sounds start at, and the port its casings leave. A weapon record's attachments table names them, and so can each of its modes, whose own win name by name. Tracers, flashes and casings come from the view model's attachment in first person, and from the world model's by the same name in third person, or the hand when it has none.
- [WeaponEffects record](/docs/api/weaponeffects): A weapon's looks: its muzzle flash, its impact, its tracer and its spent casing, each a record by id. A weapon record's effects table holds them, and so can each of its modes, whose own win slot by slot (Effects). Every player's game draws them from these records, so the weapon looks the same to everyone.
- [WeaponEvent record](/docs/api/weaponevent): One entry of a weapon record's events list, which plays a look at a moment in its model's animation (Events). It matches either an event the model's sequence carries, by On, as Source's models carry them, or a point in a sequence, by Sequence and Cycle, never both. It plays one thing: an Effect, a Casing or a Sound.
- [WeaponIcon record](/docs/api/weaponicon): A weapon's icon on the wheel: one character from a font, as Half-Life 2's are, or an image, or a rectangle of one. A record's icon, icon_selected and ammo_icon are each a table of these keys, and give a font and a character or an image, never both. The wheel draws font icons. An image icon is read and kept, but the wheel doesn't draw one yet, so a weapon with only an image icon shows its title alone.
- [WeaponMode record](/docs/api/weaponmode): One of a weapon's modes, an entry in its record's modes list, as Garry's Mod's physics gun has. A player picks one by holding Alt, and while it's picked its title, icons, view model, world model, hold, effects and attachments stand in for the weapon's. Each one it leaves out is the weapon's. A behaviour reads the picked mode's index from IWeaponHolder.Mode, and the record's EffectsIn, WorldModelIn, HoldIn and AttachmentsIn fold a mode over the weapon for it.
- [WeaponRecord record](/docs/api/weaponrecord): A weapon record: how a weapon shows on the wheel, what it looks and sounds like, and which behaviour makes it do something. The TOML format is in Making weapons and the weapon wheel. Garry's Mod's adapter writes its weapons' records from the game's own files, so they read the same way.
- [WeaponTuning class](/docs/api/weapontuning): A weapon record's tuning table, the numbers and choices its behaviour reads. Its keys are free: a behaviour decides which it reads and what they mean, as evil.weapons does for its firearms, launchers, melee and beams (Making weapons). A record's tuning merges key by key over its base's, tables into tables.
- [WeaponWorldModel record](/docs/api/weaponworldmodel): The model everyone else sees in a weapon holder's hand, and the holder sees in third person: a record's worldmodel, either a model id or a table of model, bone, offset, angles, skin and body (In other people's hands).

## EvilEngine.Mounts

- [ByteOrder enum](/docs/api/byteorder): Which end of a number a Platform's files store first. PCs are little-endian and the PS3 is big-endian.
- [CaseRule enum](/docs/api/caserule): Whether two paths that differ only in case name the same file. Every IFileSource has one, a MountPlan gives the whole mount one, and a Platform carries the one its games' files follow. VirtualPath turns a rule into the comparer or comparison to use, so code compares paths through it rather than by their text.
- [External record](/docs/api/external): Something a game reads from outside its own folder, declared by name in its probe's Externals: Steam's steamapps folder, a workshop, a save folder, another game. The host resolves each into a ResolvedExternal before it calls Open, which reads them from Externals by the same name.
- [ExternalFrom enum](/docs/api/externalfrom): Where the answer for an External came from, as a ResolvedExternal says. The host settles each from the first of these that answers: the game switching it off, the player's setting, the game's default, a mount open or on offer, then the declared hint.
- [ExternalHint record](/docs/api/externalhint): Where an External usually is, when the player's pointer doesn't say. The host only reaches a hint after the pointer's [externals] table, and for a game external after the open mounts and the probes on offer.
- [ExternalKind enum](/docs/api/externalkind): What an External resolves to: a folder of files or another game's mount.
- [ExternalSetting record struct](/docs/api/externalsetting): What a pointer's [externals] table says about one External: a path to find it at, or just on or off. It prints as its path, or true or false, as the pointer's file writes it.
- [ExternalState enum](/docs/api/externalstate): Whether an External was found, as a ResolvedExternal says.
- [Externals class](/docs/api/externals): Every External a probe declared, resolved, in the order it declared them. The host hands it to Open, and the open mount keeps it. Look one up by name and check that it resolved before reading its files.
- [FileEntry record struct](/docs/api/fileentry): One file in an IFileSource's listing: its path and its length. Enumerate returns them, and a mount's index is built from them.
- [FoundArt record](/docs/api/foundart): The images a store has cached for one game, as host file paths. Any of them is null when the store has none. A finder hands it back with each FoundInstall and from its Art.
- [FoundInstall record](/docs/api/foundinstall): One game a store has installed on this machine, as a finder's Installs lists it: the store, the store's key for it, its title and its folder, with any art and whether it's being updated.
- [IContainerAdapter interface](/docs/api/icontaineradapter): Opens one archive or disc image format, such as id's PAK, Valve's VPK, ZIP or an ISO 9660 image, as a read-only IFileSource. An adapter registers one with AddContainer.
- [IFileSource interface](/docs/api/ifilesource): A read-only tree of files addressed by VirtualPath. Every folder, archive, disc image and whole mount the engine reads is one, and it's what game adapters probe and containers return.
- [IFinder interface](/docs/api/ifinder): Finds the games a storefront has installed on this machine, so the player doesn't have to point at each folder by hand. An adapter registers one with AddFinder.
- [IGameAdapter interface](/docs/api/igameadapter): Recognises one game's install and plans how it mounts. An adapter registers one per game with AddGame.
- [IRandomAccess interface](/docs/api/irandomaccess): A read-only file read at any offset, without a position to seek. TryOpenAccess returns one, as does the OpenAccess extension, which throws FileNotFoundException where the Try form returns false. Archive readers keep one per archive and read it from many threads at once. The caller disposes it.
- [InstallState enum](/docs/api/installstate): Where a store's install stands, as a FoundInstall reports it. A finder lists only installs the store has fully installed once, so this says whether it's being changed, not whether it's there.
- [LayerPlan record](/docs/api/layerplan): One layer of a MountPlan: its name, its role and where its files come from.
- [LayerSource record](/docs/api/layersource): Where a layer's files come from. It's one of four records, and no other kind can be made:
- [LayerSource.Container record](/docs/api/layersource-container): A layer source that's an archive or disc image inside a tree, opened through the first registered container that recognises it. It opens the first time something reads from the layer, so a mount with dozens of archives opens without reading them. An archive that fails to open is tried again on the next read, so one half written while Steam updates it reads once it's whole. A layer that can't be listed when the mount first reads its files, such as a damaged archive, is left out with a note on the mount and the rest of the mount reads on.
- [LayerSource.Folder record](/docs/api/layersource-folder): A layer source that's a folder on the host by its path, for a folder outside the install the adapter knows the path of. A folder the game finds through its settings or a storefront is better as an external, which the player can override in the pointer.
- [LayerSource.OtherMount record](/docs/api/layersource-othermount): A layer source that's another mount's whole tree, so one game can search another's files as its own. The other mount has to be open already, so list the same requirement in the plan's Requires, which opens it first. Otherwise the mount fails with MountException naming the layer.
- [LayerSource.Tree record](/docs/api/layersource-tree): A layer source that's an IFileSource you already hold, such as the probed tree, or one folder of it through SubtreeSource.
- [MountId record](/docs/api/mountid): The name of one mount: its game, platform and build, written game/platform/build, as in quake/pc/1.06 or skate3/ps3/BLUS30464-01.00. A probe returns one, and it's what a pointer remembers to notice when the copy under it changes.
- [MountKey class](/docs/api/mountkey): A key file the player's pointer names, read for a game that can't be read without one. The pointer's key is an absolute path, and the host reads the file into Externals.Key before it calls Open.
- [MountLicence record](/docs/api/mountlicence): Which product on which storefront a piece of content comes with: a store's name and the product's id there, as in steam and 220 for Half-Life 2.
- [MountPlan record](/docs/api/mountplan): What a game adapter's Open returns: how the game's files stack into one tree, and the pieces of it the engine reads or fingerprints. The mount core builds the mount from it, so a plan describes and reads as little as it can.
- [MountProbe record](/docs/api/mountprobe): What a game adapter's Probe returns when it recognises its game: which mount it is, how sure it is, what it saw, and what the game reads from outside its folder.
- [MountRequirement record](/docs/api/mountrequirement): Which mount something needs: a game, and optionally the parts it has to hold and the platforms and builds it may be. A MountPlan lists them for the mounts it needs open first, a LayerSource.OtherMount picks a mount with one, a game External is found by one, and a Plugin's [[mounts]] tables are read into them.
- [PartPlan record](/docs/api/partplan): One named piece of a game, in a MountPlan's Parts: what a Plugin's [[mounts]] can require, and what two players' copies are compared by. Name it after what something reads, such as content, map/gm_construct or a workshop item.
- [Platform record](/docs/api/platform): One machine a game ships for: its id, its byte order and the case rule its files follow. A platform adapter holds one as a static, and a game adapter lists the ones it reads in its Platforms and takes its id and case rule from there.
- [ProbeStatus enum](/docs/api/probestatus): How sure a probe is about what it found. When several games match one tree, the probes are ranked in this order first and by Confidence after.
- [ResolvedExternal record](/docs/api/resolvedexternal): One External after the host has looked for it: whether it was found, where the answer came from, and the files it found. An adapter's Open gets them in Externals, by name.
- [VirtualPath record struct](/docs/api/virtualpath): A path inside an IFileSource: relative to the source's root, with forward slashes, no leading slash and no . or ... It can't name a drive or leave its tree, so a path read from a game's files is safe to follow. It's a small value type, and a string converts to one implicitly, so "id1/PAK0.PAK" works wherever a path is asked for.

Checked against engine commit 4ff877b1.
