LeviLamina
Loading...
Searching...
No Matches
LocalAuthentication.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
9// clang-format on
10
11class LocalAuthentication {
12public:
13 // LocalAuthentication inner types define
14 enum class Signer : int {
15 Self = 0,
16 Host = 1,
17 };
18
19public:
20 // member variables
21 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 LocalAuthentication& operator=(LocalAuthentication const&);
29 LocalAuthentication(LocalAuthentication const&);
30 LocalAuthentication();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35#ifdef LL_PLAT_C
36 MCNAPI explicit LocalAuthentication(::std::string const& selfSignedId);
37
38 MCNAPI ::RawGameServerToken makeToken(
39 ::LocalAuthentication::Signer signer,
41 bool isSignedIn,
42 uint64 clientRandomId,
43 bool isPrimary,
44 int64 timeCorrectionSeconds
45 );
46
47 MCNAPI ~LocalAuthentication();
48#endif
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54#ifdef LL_PLAT_C
55 MCNAPI void* $ctor(::std::string const& selfSignedId);
56#endif
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62#ifdef LL_PLAT_C
63 MCNAPI void $dtor();
64#endif
65 // NOLINTEND
66};
Definition PlayerAuthenticationInfo.h:9
Definition RawGameServerToken.h:8
Definition Alias.h:14