Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ExternalServer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/AsynchronousIPResolver.h"
7
8struct ExternalServer {
9public:
10 // member variables
11 // NOLINTBEGIN
12 ::ll::TypedStorage<4, 4, int> id;
13 ::ll::TypedStorage<4, 4, int> port;
14 ::ll::TypedStorage<4, 4, int> protocol;
15 ::ll::TypedStorage<4, 4, int> players;
16 ::ll::TypedStorage<4, 4, int> maxPlayers;
17 ::ll::TypedStorage<8, 32, ::std::string> name;
18 ::ll::TypedStorage<8, 32, ::std::string> title;
19 ::ll::TypedStorage<8, 32, ::std::string> version;
20 ::ll::TypedStorage<8, 32, ::std::string> address;
21 ::ll::TypedStorage<8, 8, int64> lastAccessedTime;
22 ::ll::TypedStorage<8, 72, ::std::optional<::AsynchronousIPResolver>> mFutureIP;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 ExternalServer& operator=(ExternalServer const&);
28 ExternalServer();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI ExternalServer(::ExternalServer const&);
34
35 MCNAPI
36 ExternalServer(int id, ::std::string const& name, ::std::string const& address, int port, int64 lastJoinTime);
37
38 MCNAPI ::AsynchronousIPResolver const& getFutureIP() const;
39
41 // NOLINTEND
42
43public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCNAPI void* $ctor(::ExternalServer const&);
47
48 MCNAPI void* $ctor(int id, ::std::string const& name, ::std::string const& address, int port, int64 lastJoinTime);
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCNAPI void $dtor();
55 // NOLINTEND
56};
Definition ExternalServer.h:5
MCAPI::AsynchronousIPResolver const & getFutureIP() const
MCAPI void * $ctor(int id, ::std::string const &name, ::std::string const &address, int port, int64 lastJoinTime)
MCAPI ExternalServer(::ExternalServer const &)
MCAPI void $dtor()
MCAPI ~ExternalServer()
MCAPI void * $ctor(::ExternalServer const &)
MCAPI ExternalServer(int id, ::std::string const &name, ::std::string const &address, int port, int64 lastJoinTime)