Scripting API
Scripting API
PackageUsers
Record in Abyss.Core, from Abyss.Core.
What in a game uses one of its packages, as removing it lists them.
public record PackageUsersConstructors
PackageUsers
public PackageUsers(IReadOnlyList<string> Files, IReadOnlyList<string> Packages, IReadOnlyList<string> Scripts)What in a game uses one of its packages, as removing it lists them.
Parameters
Files: The game's files, and its other packages', that name one of its files or components — a scene, a prefab, a material — by path from the game's folder, with forward slashes.Packages: The game's other packages that need it, by id.Scripts: The game's scripts, and its other packages', that name its namespace, by path from the game's folder.
Properties
Files
public IReadOnlyList<string> Files { get; init; }The game's files, and its other packages', that name one of its files or components — a scene, a prefab, a material — by path from the game's folder, with forward slashes.
Packages
public IReadOnlyList<string> Packages { get; init; }The game's other packages that need it, by id.
Scripts
public IReadOnlyList<string> Scripts { get; init; }The game's scripts, and its other packages', that name its namespace, by path from the game's folder.
Crates
public IReadOnlyList<string> Crates { get; init; }The game's crate, and its other packages', whose manifests name its crate as one they need, by the manifest's path from the game's folder: rust/Cargo.toml.
Any
public bool Any { get; }Whether anything uses it.
