LeviLamina
Loading...
Searching...
No Matches
XoroshiroPositionalRandomFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/IPositionalRandomFactory.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class IRandom;
12class XoroshiroRandom;
13namespace Crypto::Hash { class md5; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, uint64> mSeedLo;
21 ::ll::TypedStorage<8, 8, uint64> mSeedHi;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::std::unique_ptr<::IRandom> forBlockPos(::BlockPos const& blockPos) const /*override*/;
28
29 virtual ::std::unique_ptr<::IRandom> forString(::std::string const& s) const /*override*/;
30
31 virtual ~XoroshiroPositionalRandomFactory() /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCNAPI ::XoroshiroRandom forBlockPosImpl(::BlockPos const& blockPos) const;
38
39 MCNAPI ::XoroshiroRandom forStringImpl(::std::string const& s) const;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCNAPI static ::XoroshiroRandom forBlockPosImplNoSeed(::BlockPos const& blockPos);
46 // NOLINTEND
47
48public:
49 // static variables
50 // NOLINTBEGIN
51 MCNAPI static ::Crypto::Hash::md5& mThreadLocalDigest();
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCNAPI void $dtor();
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI ::std::unique_ptr<::IRandom> $forBlockPos(::BlockPos const& blockPos) const;
64
65 MCNAPI ::std::unique_ptr<::IRandom> $forString(::std::string const& s) const;
66
67
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition BlockPos.h:19
Definition md5.h:10
Definition IPositionalRandomFactory.h:11
Definition IRandom.h:13
Definition XoroshiroPositionalRandomFactory.h:16
static MCAPI ::Crypto::Hash::md5 & mThreadLocalDigest()
static MCAPI void ** $vftable()
MCAPI::XoroshiroRandom forBlockPosImpl(::BlockPos const &blockPos) const
static MCAPI ::XoroshiroRandom forBlockPosImplNoSeed(::BlockPos const &blockPos)
MCAPI ::std::unique_ptr<::IRandom > $forBlockPos(::BlockPos const &blockPos) const
MCAPI ::std::unique_ptr<::IRandom > $forString(::std::string const &s) const
MCAPI::XoroshiroRandom forStringImpl(::std::string const &s) const
Definition XoroshiroRandom.h:15