CHAL Record – Challenge
CHAL record type.
Classes:
|
Challenge. |
-
class
CHAL(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source] Bases:
RecordChallenge.
- Parameters
Classes:
DATA(type, threshold, flags, interval, ...)Data.
DESC([cstring])Description.
DataTypeEnum(value)Enum for
CHAL.DATA.type.FULL([cstring])Name.
ICON([cstring])Path to icon texture, when viewed in PipBoy.
MICO([cstring])Path to icon texture, when viewed in upper-left message.
SCRI([cstring])Script.
SNAM([cstring])Value3.
XNAM([cstring])Value4.
Attributes:
Subrecords of this record.
Record flags
4-byte form ID
Used for revision control by the Creation Kit, if enabled.
Form version
Methods:
parse_subrecords(raw_bytes)Parse this record's subrecords.
-
class
DATA(type, threshold, flags, interval, value1, value2, value3)[source] Bases:
StructRecordData.
- Parameters
Attributes:
Methods:
Returns a list of attributes on this class in the order they should be packed.
Returns the pack/unpack struct string and the corresponding size.
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
class
ICON(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordPath to icon texture, when viewed in PipBoy.
-
class
MICO(cstring: Union[str, bytes] = b'')[source] Bases:
CStringRecordPath to icon texture, when viewed in upper-left message.
-
class
SCRI(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordScript.
Form ID of a
SCPTrecord.
-
class
SNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordValue3.
Depends on Data.Type
-
class
XNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordValue4.
Depends on Data.Type
-
data Type:
List[RecordType]