PersistenceData

Inherits from AbstractPersistenceData

Summary

Constructors

PersistenceData()
PersistenceData(guid: Guid)
PersistenceData(other: AbstractPersistenceData)
PersistenceData(other: Asset)
PersistenceData(other: DataContainer)

Properties

Name Type
persistenceName string
clubPersistenceName string
clientDefaultGroup PersistenceStatGroup | nil
values PersistentValueTemplateData[]
customReportValues CustomReportValueData[]
serverDefaultGroup PersistenceStatGroup | nil
retentionPolicy PersistenceRetentionPolicy | nil
consumableMappings PersistenceConsumableMapping[]
historyDaily bool
historyWeekly bool
historyMonthly bool
outputProperties bool
deltaGameReports bool

Static members

Name Type
PersistenceData.typeInfo TypeInformation

Constructors

PersistenceData

PersistenceData()

Creates a new PersistenceData frostbite instance.

PersistenceData

PersistenceData(guid: Guid)

Creates a new PersistenceData frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

PersistenceData

PersistenceData(other: AbstractPersistenceData)

Casts an instance of type AbstractPersistenceData to PersistenceData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other AbstractPersistenceData The instance to cast to PersistenceData.

PersistenceData

PersistenceData(other: Asset)

Casts an instance of type Asset to PersistenceData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other Asset The instance to cast to PersistenceData.

PersistenceData

PersistenceData(other: DataContainer)

Casts an instance of type DataContainer to PersistenceData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to PersistenceData.

Properties

persistenceName

string

clubPersistenceName

string

clientDefaultGroup

PersistenceStatGroup | nil

values

PersistentValueTemplateData[]

customReportValues

CustomReportValueData[]

serverDefaultGroup

PersistenceStatGroup | nil

retentionPolicy

PersistenceRetentionPolicy | nil

consumableMappings

PersistenceConsumableMapping[]

historyDaily

bool

historyWeekly

bool

historyMonthly

bool

outputProperties

bool

deltaGameReports

bool

Static members

typeInfo

TypeInformation

The type information for the PersistenceData type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)