Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StringPayload.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/script_core/reflection/scripting/Privilege.h"
7#include "mc/deps/script_core/runtime/scripting/IPayload.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Scripting { class ResultAny; }
12namespace Scripting { class StringBasedRuntime; }
13namespace Scripting { struct ContextId; }
14// clang-format on
15
16namespace Scripting {
17
18class StringPayload : public ::Scripting::IPayload {
19public:
20 // member variables
21 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 StringPayload& operator=(StringPayload const&);
29 StringPayload(StringPayload const&);
30 StringPayload();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~StringPayload() /*override*/;
36
37 virtual ::Scripting::ResultAny runOn(
38 ::Scripting::ContextId contextId,
40 ::std::optional<::Scripting::Privilege> privilege
41 ) /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI StringPayload(::std::string scriptName, ::std::string scriptData);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCNAPI void* $ctor(::std::string scriptName, ::std::string scriptData);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCNAPI void $dtor();
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCNAPI ::Scripting::ResultAny $runOn(
66 ::Scripting::ContextId contextId,
68 ::std::optional<::Scripting::Privilege> privilege
69 );
70
71
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
80
81} // namespace Scripting
Definition IPayload.h:18
Definition ResultAny.h:7
Definition StringBasedRuntime.h:18
MCAPI StringPayload(::std::string scriptName, ::std::string scriptData)
static MCAPI void ** $vftable()
MCAPI void * $ctor(::std::string scriptName, ::std::string scriptData)
MCAPI::Scripting::ResultAny $runOn(::Scripting::ContextId contextId, ::Scripting::StringBasedRuntime &runtime, ::std::optional<::Scripting::Privilege > privilege)
Definition ContextId.h:7
Definition Alias.h:14