MGEF Record – Base Effect
MGEF record type.
Classes:
|
Magic Effect. |
-
class
MGEF(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source] Bases:
RecordMagic Effect.
- Parameters
Classes:
DATA(flags, base_cost, associated_item, ...)Data.
DESC([cstring])Description.
FULL([cstring])Name.
ICON([cstring])Large icon filename.
MICO([cstring])Small icon filename.
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(flags, base_cost, associated_item, magic_school, resistance_type, unknown, unused, light, projectile_speed, effect_shader, object_display_shader, effect_sound, bold_sound, hit_sound, area_sound, constant_effect_enchantment_factor, constant_effect_barter_factor, archtype, actor_value)[source] Bases:
StructRecordData.
- Parameters
flags (
int)base_cost (
float)associated_item (
bytes) – A form IDmagic_school (
int) – Unused. A value of-1meansnone.resistance_type (
int)unknown (
int)unused (
bytes)projectile_speed (
float)object_display_shader (
bytes) – Form ID of anEFSHrecord, or null.constant_effect_enchantment_factor (
float) – Unused.constant_effect_barter_factor (
float) – Unused.archtype (
int)actor_value (
int)
Attributes:
Form ID of an
SOUNrecord, or null.A form ID
Form ID of an
SOUNrecord, or null.Unused.
Unused.
Form ID of an
EFSHrecord, or null.Form ID of an
SOUNrecord, or null.Form ID of an
SOUNrecord, or null.Form ID of a
LIGHrecord, or null.Unused.
Form ID of an
EFSHrecord, or null.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.
-
data Type:
List[RecordType]