SetonixData class

Constructors

SetonixData(Archive archive, {ArchiveState state = const ArchiveState()})
SetonixData.empty()
SetonixData.fromData(Uint8List data)
factory

Properties

archive Archive
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → ArchiveState
finalinherited

Methods

export() Archive
inherited
exportAsBytes() Uint8List
inherited
getAllTranslations() Iterable<MapEntry<String, PackTranslation>>
getAsset(String name) Uint8List?
inherited
getAssets(String path, [bool removeExtension = false]) Iterable<String>
inherited
getBackground(String id) BackgroundDefinition?
getBackgroundItem(String id, [String namespace = '']) PackItem<BackgroundDefinition>?
getBackgroundItems([String namespace = '']) Iterable<PackItem<BackgroundDefinition>>
getBackgrounds() Iterable<String>
getBoard(String id) BoardDefinition?
getBoardItem(String id, [String namespace = '']) PackItem<BoardDefinition>?
getBoards() Iterable<String>
getChecksum() Digest
getDeck(String id) DeckDefinition?
getDeckItem(String id, [String namespace = '']) PackItem<DeckDefinition>?
getDeckItems([String namespace = '']) Iterable<PackItem<DeckDefinition>>
getDecks() Iterable<String>
getFigure(String id) FigureDefinition?
getFigureItem(String id, [String namespace = '']) PackItem<FigureDefinition>?
getFigureItems([String namespace = '']) Iterable<PackItem<FigureDefinition>>
getFigures() Iterable<String>
getInfo() GameInfo?
getInfoOrDefault() GameInfo
getMetadata() FileMetadata?
getMetadataOrDefault() FileMetadata
getNote(String name) String?
getNotes() Iterable<String>
getTable([String name = '']) GameTable?
getTableOrDefault([String name = '']) GameTable
getTables() Iterable<String>
getTexture(String path) Uint8List?
getTranslation(String id) PackTranslation?
getTranslationsStore({required String getLocale()}) TranslationsStore
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAsset(String name) SetonixData
inherited
removeAssets(Iterable<String> names) SetonixData
inherited
removeNote(String name) SetonixData
removeTable(String name) SetonixData
setAsset(String name, Uint8List data) SetonixData
inherited
setFileMetadata(FileMetadata metadata) SetonixData
setInfo(GameInfo info) SetonixData
setNote(String name, String content) SetonixData
setTable(GameTable table, [String name = '']) SetonixData
toString() String
A string representation of this object.
inherited
updateState(ArchiveState state) SetonixData

Operators

operator ==(Object other) bool
The equality operator.
inherited