SL2 Analyzer
Read a FromSoftware .sl2 save and report what is in it
Loading...
Searching...
No Matches
sl2.convert.SaveData Class Reference

One parsed save: the game it is, its file-level fields, and its characters. More...

Public Member Functions

 __init__ (self, game, cfg, version, patch, characters, owner=None, folder=None)
 

Public Attributes

 game
 
 cfg
 
 version
 
 patch
 
 owner
 
 folder
 
 characters
 

Static Private Attributes

tuple __slots__ = ("game", "cfg", "version", "patch", "owner", "folder", "characters")
 

Detailed Description

One parsed save: the game it is, its file-level fields, and its characters.

A plain record rather than a dict so the two writers cannot disagree about a key name. characters is a list of (entry index, character dict) pairs, the entry index being what the slot number is derived from.

Definition at line 516 of file convert.py.

Constructor & Destructor Documentation

◆ __init__()

sl2.convert.SaveData.__init__ (   self,
  game,
  cfg,
  version,
  patch,
  characters,
  owner = None,
  folder = None 
)

Definition at line 519 of file convert.py.

Member Data Documentation

◆ __slots__

tuple sl2.convert.SaveData.__slots__ = ("game", "cfg", "version", "patch", "owner", "folder", "characters")
staticprivate

Definition at line 517 of file convert.py.

◆ game

sl2.convert.SaveData.game

Definition at line 520 of file convert.py.

◆ cfg

sl2.convert.SaveData.cfg

Definition at line 521 of file convert.py.

◆ version

sl2.convert.SaveData.version

Definition at line 522 of file convert.py.

◆ patch

sl2.convert.SaveData.patch

Definition at line 523 of file convert.py.

◆ owner

sl2.convert.SaveData.owner

Definition at line 524 of file convert.py.

◆ folder

sl2.convert.SaveData.folder

Definition at line 525 of file convert.py.

◆ characters

sl2.convert.SaveData.characters

Definition at line 526 of file convert.py.


The documentation for this class was generated from the following file: