LeviLamina
Loading...
Searching...
No Matches
UserEntityIdentifierComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/certificates/identity/PlayerAuthenticationInfo.h"
7#include "mc/certificates/identity/PlayerAuthenticationType.h"
8#include "mc/common/SubClientId.h"
9#include "mc/network/NetworkIdentifier.h"
10#include "mc/platform/UUID.h"
11
12// auto generated forward declare list
13// clang-format off
14class EntityContext;
15// clang-format on
16
17class UserEntityIdentifierComponent {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 176, ::NetworkIdentifier> mNetworkId;
22 ::ll::TypedStorage<1, 1, ::SubClientId> mClientSubId;
23 ::ll::TypedStorage<8, 16, ::mce::UUID> mClientUUID;
24 ::ll::TypedStorage<4, 4, ::PlayerAuthenticationType> mAuthenticationType;
25 ::ll::TypedStorage<8, 320, ::PlayerAuthenticationInfo> mTrustedPlayerInfo;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 UserEntityIdentifierComponent();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI UserEntityIdentifierComponent(
36 ::NetworkIdentifier const& networkId,
37 ::SubClientId clientSubId,
38 ::mce::UUID clientUUID,
39 ::PlayerAuthenticationType authType,
40 ::PlayerAuthenticationInfo const& trustedInfo
41 );
42
43 MCFOLD ::PlayerAuthenticationType getAuthenticationType() const;
44
45 MCAPI ::mce::UUID getClientUUID() const;
46
47 MCAPI ::std::string getIdentityName() const;
48
49 MCFOLD ::NetworkIdentifier const& getNetworkId() const;
50
51 MCAPI ::std::string getPlayFabId() const;
52
53 MCFOLD ::SubClientId getSubClientId() const;
54
55 MCFOLD ::std::string getXuid() const;
56
57 MCAPI bool isLoggedIntoXboxLive() const;
58
59 MCAPI bool isPrimaryClient() const;
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static ::UserEntityIdentifierComponent* tryGetFromEntity(::EntityContext& entity);
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(
72 ::NetworkIdentifier const& networkId,
73 ::SubClientId clientSubId,
74 ::mce::UUID clientUUID,
75 ::PlayerAuthenticationType authType,
76 ::PlayerAuthenticationInfo const& trustedInfo
77 );
78 // NOLINTEND
79};
Definition EntityContext.h:17
Definition NetworkIdentifier.h:10
Definition UUID.h:7
Definition PlayerAuthenticationInfo.h:9