LeviLamina
Loading...
Searching...
No Matches
ICommandsContextProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CommandOriginType.h"
7
8// auto generated forward declare list
9// clang-format off
10class ILevel;
12struct MCRESULT;
13// clang-format on
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 virtual ~ICommandsContextProvider() = default;
20
21 virtual ::ILevel* getLevel() = 0;
22
23 virtual ::NetworkIdentifier getLocalNetworkId() const = 0;
24
25 virtual void onCommandExecuted(
26 ::MCRESULT result,
27 ::CommandOriginType originType,
28 ::std::string const& commandName,
29 ::std::string const& commandString
30 ) = 0;
31 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36
37 // NOLINTEND
38
39public:
40 // vftables
41 // NOLINTBEGIN
42 MCNAPI static void** $vftable();
43 // NOLINTEND
44};
Definition ICommandsContextProvider.h:15
static MCAPI void ** $vftable()
Definition ILevel.h:218
Definition NetworkIdentifier.h:10
Definition MCRESULT.h:8