Adventure Creator 1.84.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
Loading...
Searching...
No Matches
AC.JsonAction Class Reference

Static Public Member Functions

static Action CreateCopy (Action action)
static void ClearCopyBuffer ()
static void ToCopyBuffer (List< Action > actions, bool clearIDs=true)
 Stores an list of Actions in a temporary buffer.
static List< ActionCreatePasteBuffer (bool clearIDs=true)
 Generates Actions based on the buffer created with ToCopyBuffer.
static bool HasCopyBuffer ()

Public Attributes

bool[] endingReferencesBuffer = new bool[0]
int[] endingOverrideIndex = new int[0]

Member Function Documentation

◆ ClearCopyBuffer()

void AC.JsonAction.ClearCopyBuffer ( )
static

Clears the copy buffer

◆ CreatePasteBuffer()

List< Action > AC.JsonAction.CreatePasteBuffer ( bool clearIDs = true)
static

Generates Actions based on the buffer created with ToCopyBuffer.

Parameters
clearIDsIf True, then Speech Manager line IDs in the Actions will be reset
Returns
The Actions stored in the buffer, recreated.

◆ HasCopyBuffer()

bool AC.JsonAction.HasCopyBuffer ( )
static

Return True if Action data is stored in the copy buffer

◆ ToCopyBuffer()

void AC.JsonAction.ToCopyBuffer ( List< Action > actions,
bool clearIDs = true )
static

Stores an list of Actions in a temporary buffer.

Parameters
clearIDsIf True, then Speech Manager line IDs in the Actions will be reset
actionsThe list of Actions to store.