LeviLamina
Loading...
Searching...
No Matches
TransferServerCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/ServerCommand.h"
7
8// auto generated forward declare list
9// clang-format off
10class CommandOrigin;
11class CommandOutput;
12class CommandRegistry;
13class Level;
14class Player;
15namespace Social { class GameConnectionInfo; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::std::string> mPfidOrMSA;
23 ::ll::TypedStorage<8, 32, ::std::string> mServer;
24 ::ll::TypedStorage<4, 4, int> mPort;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
31
32 virtual ~TransferServerCommand() /*override*/ = default;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38#ifdef LL_PLAT_S
39 MCAPI ::Social::GameConnectionInfo _convertToDestination() const;
40
41 MCAPI ::Player const* _findTarget(::CommandOutput& output, ::Level& level, ::std::string const& pfidOrMSA) const;
42#endif
43
44#ifdef LL_PLAT_C
45 MCAPI ::Player const* _loopPlayers(::Level& level, ::std::function<bool(::Player const*)> condition) const;
46#endif
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static void setup(::CommandRegistry& registry);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:50
Definition Level.h:250
Definition Player.h:129
Definition ServerCommand.h:22
Definition GameConnectionInfo.h:21
Definition TransferServerCommand.h:18
static MCAPI void ** $vftable()