cmt.ecmap.v0¶
cmt.ecmap.v0.ecmap¶
-
class
cmt.ecmap.v0.ecmap.
ECMap
¶ Bases:
cmt.ecmap.a_ecmap.AECMap
Celaria .ecmap format (version 0)
Datatypes
Abbreviation
Type
Byte size
uByte
unsigned byte
1
uShort
unsigned short
2
uInt
unsigned int
4
sShort
signed short
2
sInt
signed int
4
f32
float
4
f64
double
8
Description format
> <datatype> (<number of datatypes in sequence>) // <description>
or
> [<variable name>] : <datatype> (<number of datatypes in sequence>) // <description>
Difference regarding to the .cmap begins with a ‘!!’.
Format
> uByte (11) // string identifier > uByte (1) // version > nameLen : uByte (1) // number of characters in map name > uByte (nameLen) // map name as String !! // checkpoint times are missing > f32 (1) // sun rotation on Z axis > f32 (1) // sun angle to xy plane (between 0 and 90 degrees) ... same as cmap v0 ...
-
classmethod
decode
(data, offset, debug=False)¶ - Return type
ECMAP
-
classmethod