esp_parser.group
Group (GRUP) of records.
Classes:
|
A group of records. |
|
Enum for |
-
class
Group(label, group_type, stamp, unknown=b'\x00\x00\x00\x00\x00\x00', data=[])[source] Bases:
objectA group of records.
- Parameters
label (
bytes) – The type of records within this group, e.g.INFO. Depending ongroup_typemay be an integer.group_type (
GroupTypeEnum)stamp (
int) – A date stamp. The first byte is the day of the month, and the second byte is the number of months since some unknown point in time (perhaps July 2004, when Bethesda began development of Fallout 3).unknown (
bytes) – Defaultb'\x00\x00\x00\x00\x00\x00'.data (
List[Union[RecordType,Group]]) – Default[].
Attributes:
The type of records within this group, e.g.
A date stamp.
Methods:
parse(raw_bytes)Parse this group.
unparse()Turn this group back into raw bytes for an ESP file.
-
data Type:
List[Union[RecordType,Group]]
-
group_type Type:
GroupTypeEnum
-
label Type:
bytesThe type of records within this group, e.g.
INFO.Depending on
group_typemay be an integer.