LeviLamina
Loading...
Searching...
No Matches
BiomeStringList.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7
8// auto generated forward declare list
9// clang-format off
10class BinaryStream;
12// clang-format on
13
15public:
16 // BiomeStringList inner types define
17 using BiomeStringIndex = ushort;
18
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ushort>> mAllStrings;
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mStrings;
24 // NOLINTEND
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI ushort addStringAndGetIndex(::std::string const& value);
30
31 MCAPI ::std::string const& getStringOrEmpty(ushort index) const;
32
33 MCAPI void write(::BinaryStream& stream) const;
34
35 MCAPI ~BiomeStringList();
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static ::Bedrock::Result<::BiomeStringList> read(::ReadOnlyBinaryStream& stream);
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCAPI void $dtor();
48 // NOLINTEND
49};
Definition BinaryStream.h:11
Definition ReadOnlyBinaryStream.h:8
Definition BiomeStringList.h:14