LeviLamina
Loading...
Searching...
No Matches
ProfileImageOptions.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Social {
6
7class ProfileImageOptions {
8public:
9 // ProfileImageOptions inner types define
10 enum class ImageSource : int {
11 None = 0,
12 Minecraft = 1,
13 XboxLive = 2,
14 };
15
16 enum class ProfileImageQueryType : int {
17 None = 0,
18 MinecraftHeadshotByXuid = 1,
19 MinecraftHeadshotByPlayfabId = 2,
20 MinecraftAvatarByXuid = 3,
21 MinecraftAvatarByPlayfabId = 4,
22 XboxLiveSmallGamerpicByXuid = 5,
23 XboxLiveSmallGamerpicByUrl = 6,
24 XboxLiveFullClubsImageByUrl = 7,
25 };
26
27public:
28 // member variables
29 // NOLINTBEGIN
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 ProfileImageOptions& operator=(ProfileImageOptions const&);
38 ProfileImageOptions(ProfileImageOptions const&);
39 ProfileImageOptions();
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCNAPI_C uint64 hash() const;
45
46 MCNAPI_C ::std::string toString() const;
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCNAPI_C static ::Social::ProfileImageOptions fromString(::std::string_view serializedContent);
53
54 MCNAPI_C static ::Social::ProfileImageOptions getMinecraftHeadshotByPlayfabId(::std::string const& playfabId);
55
56 MCNAPI_C static ::Social::ProfileImageOptions getXboxLiveFullClubsImageByUrl(::std::string const& url);
57
58 MCNAPI_C static ::Social::ProfileImageOptions
59 getXboxLiveSmallGamerpicByXuid(::std::string const& xuid, ::std::string const& url);
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCNAPI_C void $dtor();
66 // NOLINTEND
67};
68
69} // namespace Social
Definition Minecraft.h:60
Definition Alias.h:14