LeviLamina
Loading...
Searching...
No Matches
IEduWebService.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7struct EDUConfigData;
8struct ServicePack;
9namespace Json { class Value; }
10namespace WebServices::EduSignin { struct SigninError; }
11namespace WebServices::EduSignin { struct SigninResponse; }
12// clang-format on
13
14namespace WebServices {
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 // vIndex: 0
21 virtual ~IEduWebService() = default;
22
23 // vIndex: 1
24 virtual void setEula() = 0;
25
26 // vIndex: 2
27 virtual void setPurchaseReceipt(::std::string const&, ::std::function<void(bool)> const&, ::std::string const&) = 0;
28
29 // vIndex: 3
30 virtual void setSkin(::std::string const&) = 0;
31
32 // vIndex: 4
33 virtual void signinForDemo(
34 ::std::function<
35 void(::std::variant<::WebServices::EduSignin::SigninResponse, ::WebServices::EduSignin::SigninError>)>
36 ) = 0;
37
38 // vIndex: 5
39 virtual void signin(
40 ::std::function<
41 void(::std::variant<::WebServices::EduSignin::SigninResponse, ::WebServices::EduSignin::SigninError>)>,
42 ::std::string const&
43 ) = 0;
44
45 // vIndex: 6
46 virtual void sendInitialPackRequest(::std::function<void(::std::vector<::ServicePack>)>) = 0;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52
53 // NOLINTEND
54};
55
56} // namespace WebServices
Definition EDUConfigData.h:5
Definition ServicePack.h:5
Definition IEduWebService.h:16