Skip to content

Commit 5a58660

Browse files
committed
Add missing file
1 parent 4be27a2 commit 5a58660

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#!/usr/bin/env python
2+
"""
3+
Serializable object subclass
4+
5+
COMPLETE INTERPRETATION
6+
"""
7+
8+
from ..object import Object
9+
from ..stream import Stream
10+
11+
12+
class MapOptimizationLayoutExtension(Object):
13+
"""
14+
MapOptimizationLayoutExtension
15+
"""
16+
17+
@staticmethod
18+
def cls_id():
19+
return "6c29d89f-b7ba-4fb0-a88d-fea77a03ba0e"
20+
21+
@staticmethod
22+
def compatible_versions():
23+
return [6]
24+
25+
def __init__(self): # pylint: disable=useless-super-delegation
26+
super().__init__()
27+
28+
def read(self, stream: Stream, version):
29+
stream.read_int("unknown", expected=0)
30+
stream.read_string("unknown", expected="")
31+
stream.read_int("unknown", expected=4)
32+
stream.read_int("unknown", expected=0)
33+
stream.read_int("unknown", expected=0)
34+
stream.read_int("unknown", expected=0)
35+
stream.read_int("unknown", expected=0)
36+
stream.read_int("unknown", expected=0)
37+
stream.read_int("unknown", expected=1)
38+
stream.read_int("unknown", expected=0)
39+
stream.read_ushort("unknown", expected=0)
40+
stream.read_string("unknown", expected="New")
41+
42+
def to_dict(self): # pylint: disable=method-hidden
43+
return {}

0 commit comments

Comments
 (0)