Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
EditorServerPlayer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/deps/script_core/runtime/scripting/Result_deprecated.h"
8#include "mc/editor/EditorPlayerCommon.h"
9
10// auto generated forward declare list
11// clang-format off
13// clang-format on
14
15namespace Editor {
16
17class EditorServerPlayer : public ::Editor::EditorPlayerCommon {
18public:
19 // member variables
20 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 EditorServerPlayer& operator=(EditorServerPlayer const&);
32 EditorServerPlayer(EditorServerPlayer const&);
33 EditorServerPlayer();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~EditorServerPlayer() /*override*/ = default;
39
40 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
41
42 virtual ::Scripting::Result_deprecated<void> ready() /*override*/;
43
44 virtual bool canStart() const /*override*/;
45
46 virtual ::Scripting::Result_deprecated<void> quit() /*override*/;
47
48 virtual ::optional_ref<::PlayerEventCoordinator> getPlayerEventCoordinator() /*override*/;
49
50 virtual bool isClientSide() const /*override*/;
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCNAPI ::Scripting::Result_deprecated<void> $init();
57
58 MCNAPI ::Scripting::Result_deprecated<void> $ready();
59
60 MCNAPI bool $canStart() const;
61
62 MCNAPI ::Scripting::Result_deprecated<void> $quit();
63
64 MCNAPI ::optional_ref<::PlayerEventCoordinator> $getPlayerEventCoordinator();
65
66 MCNAPI bool $isClientSide() const;
67
68
69 // NOLINTEND
70};
71
72} // namespace Editor
Definition EditorPlayerCommon.h:33
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI bool $isClientSide() const
MCAPI bool $canStart() const
MCAPI ::Scripting::Result_deprecated< void > $ready()
MCAPI ::Scripting::Result_deprecated< void > $quit()
MCAPI ::optional_ref<::PlayerEventCoordinator > $getPlayerEventCoordinator()
Definition PlayerEventCoordinator.h:20
Definition Alias.h:14