Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
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 More...
 
static List< ActionCreatePasteBuffer (bool clearIDs=true)
 Generates Actions based on the buffer created with ToCopyBuffer More...
 
static bool HasCopyBuffer ()
 

Public Attributes

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

Member Function Documentation

◆ ClearCopyBuffer()

static void AC.JsonAction.ClearCopyBuffer ( )
static

Clears the copy buffer

◆ CreatePasteBuffer()

static 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()

static bool AC.JsonAction.HasCopyBuffer ( )
static

Return True if Action data is stored in the copy buffer

◆ ToCopyBuffer()

static 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.