LeviLamina
Loading...
Searching...
No Matches
DefaultCommandsContextProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CommandOriginType.h"
7#include "mc/server/commands/ICommandsContextProvider.h"
8
9// auto generated forward declare list
10// clang-format off
11class ILevel;
13struct MCRESULT;
14// clang-format on
15
16class DefaultCommandsContextProvider : public ::ICommandsContextProvider {
17public:
18 // member variables
19 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 DefaultCommandsContextProvider& operator=(DefaultCommandsContextProvider const&);
26 DefaultCommandsContextProvider(DefaultCommandsContextProvider const&);
27 DefaultCommandsContextProvider();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~DefaultCommandsContextProvider() /*override*/ = default;
33
34 virtual ::ILevel* getLevel() /*override*/;
35
36 virtual ::NetworkIdentifier getLocalNetworkId() const /*override*/;
37
38 virtual void onCommandExecuted(
39 ::MCRESULT result,
40 ::CommandOriginType originType,
41 ::std::string const& commandName,
42 ::std::string const& commandString
43 ) /*override*/;
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCNAPI ::ILevel* $getLevel();
50
51 MCNAPI ::NetworkIdentifier $getLocalNetworkId() const;
52
53 MCNAPI void $onCommandExecuted(
54 ::MCRESULT result,
55 ::CommandOriginType originType,
56 ::std::string const& commandName,
57 ::std::string const& commandString
58 );
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
MCAPI::NetworkIdentifier $getLocalNetworkId() const
static MCAPI void ** $vftable()
MCAPI void $onCommandExecuted(::MCRESULT result, ::CommandOriginType originType, ::std::string const &commandName, ::std::string const &commandString)
Definition ICommandsContextProvider.h:15
Definition ILevel.h:214
Definition NetworkIdentifier.h:10
Definition MCRESULT.h:8
Definition Alias.h:14