MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / read

Method read

tools/parse_languages_loc.py:80–86  ·  view source on GitHub ↗
(self, reader: Reader)

Source from the content-addressed store, hash-verified

78 strings = list
79
80 def read(self, reader: Reader):
81 self.unknown_0 = reader.read_uint()
82 self.unknown_1 = reader.read_bool()
83 self.language_code_length = reader.read_ushort()
84 self.language_code = reader.read_string(self.language_code_length)
85 self.strings_count = reader.read_uint()
86 self.strings = reader.read_short_string_array(self.strings_count)
87
88class LOCLanguageTable:
89 entries: list

Callers 1

readMethod · 0.95

Calls 5

read_uintMethod · 0.80
read_boolMethod · 0.80
read_ushortMethod · 0.80
read_stringMethod · 0.80

Tested by

no test coverage detected