Scripting API
Scripting API
PrefabReverted
Record in Abyss.Core.Scenes, from Abyss.Core.
What taking back one change of an instance did; see SceneFile.Revert.
public record PrefabRevertedConstructors
PrefabReverted
public PrefabReverted(ulong Root, SceneDocument Before, SceneDocument After, PrefabRefreshed Rebuilt)What taking back one change of an instance did; see SceneFile.Revert.
Parameters
Root: The instance's top entity, as it was before it was built again.Before: The instance as a scene's file of it alone says it, with the change.After: The same without it: what it was built again as.Rebuilt: Each of its entities as it was and as it is now.
Properties
Root
public ulong Root { get; init; }The instance's top entity, as it was before it was built again.
Before
public SceneDocument Before { get; init; }The instance as a scene's file of it alone says it, with the change.
After
public SceneDocument After { get; init; }The same without it: what it was built again as.
Rebuilt
public PrefabRefreshed Rebuilt { get; init; }Each of its entities as it was and as it is now.
