Scripting API
Scripting API
PackStamp
Record struct in Abyss.Core, from Abyss.Core.
Whose a pack is: the game a build made it for, and the pack's own identity, new each time it is built. Written into every pack a build makes, under a name no asset has.
public readonly record struct PackStampConstructors
PackStamp
public PackStamp(AssetGuid Game, AssetGuid Pack, string Group)Whose a pack is: the game a build made it for, and the pack's own identity, new each time it is built. Written into every pack a build makes, under a name no asset has.
Parameters
Game: The game's identity,ProjectStamp.Game; none for a game that has none.Pack: The pack's own: what says two files are the same build of it.Group: The Addressables group it was built of:AssetAddress.DefaultGroupfor the main pack.
Properties
Game
public AssetGuid Game { get; init; }The game's identity, ProjectStamp.Game; none for a game that has none.
Pack
public AssetGuid Pack { get; init; }The pack's own: what says two files are the same build of it.
Group
public string Group { get; init; }The Addressables group it was built of: AssetAddress.DefaultGroup for the main pack.
Methods
Of
public static PackStamp? Of(Pack pack)A pack's stamp; null for one no build stamped — written by hand, or by an engine from before stamps.
Parameters
pack
ToBytes
public byte[] ToBytes()The stamp as the words a pack keeps it in.
Constants
Name
public const string Name = "#stamp"What it is called in a pack.
CurrentVersion
public const int CurrentVersion = 1The version this build writes, and the newest it reads.
