Info
source: bluebase/sm/info.py
- class SmTableInfo(buffer: bytearray)[source]
Bases:
LayoutMixinLayout
Offset
Size
Name
Format
0
24
'24s'24
4
'<i'28
4
'<i'32
4
'<i'- MAX_TABLE_LENGTH: ClassVar[int] = 24
table name의 최대 길이를 나타내는 상수.
- property name: strread-only
- property schema_size: intread-only
- property record_size: intread-only
- property index_count: intread-write
- encode() RmRecordData[source]
- size: ClassVar[int] = 36
The total size of the layout, automatically calculated from
fields.
- class SmAttrInfo(buffer: bytearray)[source]
Bases:
LayoutMixinLayout
Offset
Size
Name
Format
0
1
'<B'1
24
'24s'25
24
'24s'49
4
'<i'53
4
domain_enum'<i'57
4
domain_size'<i'61
4
'<i'- MAX_TABLE_LENGTH: ClassVar[int] = 24
table name의 최대 길이를 나타내는 상수.
- MAX_ATTR_LENGTH: ClassVar[int] = 24
attr name의 최대 길이를 나타내는 상수.
- property indexed: boolread-write
- property table: strread-only
- property name: strread-only
- size: ClassVar[int] = 65
The total size of the layout, automatically calculated from
fields.
- property number: intread-only
- property offset: intread-only
- encode() RmRecordData[source]