# Other Structures

The following structures are available globally.

•  AIStateRecordable 

A data structure that represents a recorded state assessment and its resulting action.

This is typically used to construct a state recording to be fed into a machine learning model for the Teal Converse agent.

See more

#### Declaration

Swift

struct AIStateRecordable : Codable
•  GameLevelItem 

A data structure that represents a game level item.

See more

#### Declaration

Swift

struct GameLevelItem : Codable, Identifiable
•  GamePreferences 

A data structure that represents the preferences in the game using the standard user defaults.

See more

#### Declaration

Swift

@available(*, deprecated, message: "Preferences have moved to UserDefults as static variables and AppStorage.")
struct GamePreferences