LeviLamina
Loading...
Searching...
No Matches
RealmsTelemetry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Bedrock::Http { class Status; }
8namespace Json { class Value; }
9namespace Social::Events { class Event; }
10// clang-format on
11
12namespace Social::Events {
13
15public:
16 // RealmsTelemetry inner types declare
17 // clang-format off
18 struct CallCount;
19 struct RealmsCallCount;
20 // clang-format on
21
22 // RealmsTelemetry inner types define
24 public:
25 // member variables
26 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 RealmsCallCount& operator=(RealmsCallCount const&);
35
36 public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI void addCall(int64 realmId, ::Bedrock::Http::Status returnCode, int count);
40
41 MCAPI ::Social::Events::RealmsTelemetry::CallCount getTotalCallCount() const;
42
43 MCAPI ::Json::Value toJson() const;
44
45 MCAPI ~RealmsCallCount();
46 // NOLINTEND
47
48 public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCFOLD void $dtor();
52 // NOLINTEND
53 };
54
55 struct CallCount {
56 public:
57 // member variables
58 // NOLINTBEGIN
60 // NOLINTEND
61
62 public:
63 // prevent constructor by default
64 CallCount& operator=(CallCount const&);
65 CallCount(CallCount const&);
66 CallCount();
67
68 public:
69 // member functions
70 // NOLINTBEGIN
72
73 MCAPI void addAllCalls(::Social::Events::RealmsTelemetry::CallCount const& other);
74
75 MCAPI ::Json::Value toJson() const;
76
77 MCAPI ~CallCount();
78 // NOLINTEND
79
80 public:
81 // constructor thunks
82 // NOLINTBEGIN
84 // NOLINTEND
85
86 public:
87 // destructor thunk
88 // NOLINTBEGIN
89 MCFOLD void $dtor();
90 // NOLINTEND
91 };
92
93public:
94 // member variables
95 // NOLINTBEGIN
102 // NOLINTEND
103
104public:
105 // prevent constructor by default
106 RealmsTelemetry& operator=(RealmsTelemetry const&);
108
109public:
110 // member functions
111 // NOLINTBEGIN
112 MCAPI void AddGeneralCall(::std::string const& callName, ::Bedrock::Http::Status returnCode);
113
114 MCAPI void AddRealmCall(::std::string const& callName, int64 realmId, ::Bedrock::Http::Status returnCode);
115
116 MCAPI void PopulateEvent(::Social::Events::Event& event) const;
117
118 MCAPI RealmsTelemetry();
119 // NOLINTEND
120
121public:
122 // constructor thunks
123 // NOLINTBEGIN
124 MCAPI void* $ctor();
125 // NOLINTEND
126};
127
128} // namespace Social::Events
Definition Status.h:7
Definition Event.h:17
Definition RealmsTelemetry.h:14
Definition RealmsTelemetry.h:55
Definition Alias.h:14